/* ================================
   BASIC RESET
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1d2329;
  background: #ffffff;
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  line-height: 1.15;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 800px;
}


/* ================================
   HEADER
================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  display: block;
  width: auto;
  height: 48px;
}

.desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover {
  opacity: 0.6;
}


/* ================================
   HERO
================================ */

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}


/* Slider container */

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}


/* Holds all slides side-by-side */

.hero-track {
  height: 100%;
  display: flex;

  transform: translateX(0);

  transition:
    transform 1s ease-in-out;
}


/* Each individual image */

.hero-slide {
  min-width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Dark overlay */

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(16, 20, 24, 0.94) 0%,
    rgba(16, 20, 24, 0.78) 45%,
    rgba(16, 20, 24, 0.48) 100%
  );

  z-index: 1;
}


/* Hero text */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-eyebrow {
  color: #d4a06a;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -1.5px;
  max-width: 850px;
  margin-bottom: 26px;
}

.hero-description {
  max-width: 650px;
  font-size: 19px;
  line-height: 1.65;
  color: #d9dde0;
  margin-bottom: 36px;
}

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


/* ================================
   BUTTONS
================================ */

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.primary-button {
  background: white;
  color: #1d2329;
}

.primary-button:hover {
  background: #e8e8e8;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}


/* ================================
   SECTIONS
================================ */

.section {
  padding: 110px 0;
}

.section-light {
  background: #f4f5f6;
}

.section-dark {
  background: #1d2329;
  color: white;
}

.section-dark p {
  color: #d4d7da;
}

.section h2 {
  font-size: clamp(34px, 5vw, 52px);
  max-width: 760px;
  margin-bottom: 28px;
}

.section-text {
  font-size: 18px;
  color: #5b636b;
}

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


/* ================================
   PRODUCT CARDS
================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: white;
  padding: 20px;
  border: 1px solid #e2e4e7;
}

.image-placeholder {
  height: 220px;
  background: #dfe2e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #717981;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.card p {
  color: #5b636b;
  margin-bottom: 0;
}


/* ================================
   FABRICATION
================================ */

/* ================================
   TWO COLUMN SECTIONS
================================ */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;

  /* Makes both sides use the same available height */
  align-items: stretch;
}


/* ================================
   CAPABILITY GRIDS
================================ */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;

  /* Fill the full height of the right column */
  height: 100%;
}


/* Individual boxes */

.capability-box {
  min-height: 78px;
  padding: 20px;

  background: #ffffff;
  border: 1px solid #dfe2e5;

  display: flex;
  flex-direction: column;
  justify-content: center;

  font-weight: 600;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.capability-box:hover {
  transform: translateY(-2px);
  border-color: #b8bec3;
}


/* Smaller description underneath fabrication headings */

.capability-box span {
  display: block;
  margin-top: 6px;

  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;

  color: #6b737a;
}


/* ================================
   PRODUCTS GRID
================================ */

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


/* ================================
   FABRICATION GRID
================================ */

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

.capability-grid div:hover {
  transform: translateY(-2px);
  border-color: #b8bec3;
}

/* ================================
   ABOUT
================================ */

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

.about-image {
  min-height: 420px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================
   CONTACT
================================ */

.contact-box {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
}

.contact-details {
  border-left: 1px solid #dfe2e5;
  padding-left: 40px;
}


/* ================================
   FOOTER
================================ */

footer {
  background: #111518;
  color: #b8bec3;
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}



/* ================================
   MOBILE NAVIGATION
================================ */

.menu-toggle {
  display: none;

  width: 38px;
  height: 38px;

  padding: 7px;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  background: #1d2329;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* Mobile dropdown */

.mobile-nav {
  display: none;

  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;

  padding-top: 10px;
  padding-bottom: 10px;
}

.mobile-nav a {
  padding: 15px 0;

  font-size: 15px;
  font-weight: 600;

  border-bottom: 1px solid #eeeeee;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav.open {
  display: block;
}


/* Hamburger becomes X */

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ================================
   MOBILE
================================ */

@media (max-width: 800px) {

  .container {
    width: calc(100% - 32px);
  }


  /* HEADER */

  .header-inner {
    min-height: 68px;
    justify-content: space-between;
  }

  .logo-image {
    height: 40px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }


  /* HERO */

  .hero {
    min-height: 580px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.08;

    letter-spacing: -1px;

    margin-bottom: 22px;
  }

  .hero-description {
    font-size: 17px;
    line-height: 1.6;

    margin-bottom: 30px;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .hero-slide {
    background-position: center;
  }


  /* SECTIONS */

  .section {
    padding: 72px 0;
  }

  .section h2 {
    font-size: 38px;
    margin-bottom: 22px;
  }

  .section-text {
    font-size: 16px;
  }


  /* ABOUT */

  .about-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-image {
    min-height: 300px;
  }


  /* PRODUCTS + FABRICATION */

  .two-column {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .capability-grid,
  .product-grid,
  .fabrication-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;

    gap: 12px;

    height: auto;
  }

  .capability-box {
    min-height: 72px;
    padding: 18px;
  }


  /* CONTACT */

  .contact-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-details {
    border-left: 0;
    border-top: 1px solid #dfe2e5;

    padding-left: 0;
    padding-top: 30px;
  }


  /* FOOTER */

  .footer-inner {
    min-height: 130px;

    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    gap: 6px;
  }

}
@media (max-width: 520px) {

  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .button {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 34px;
  }

  .about-image {
    min-height: 240px;
  }

}