:root {
  --ink: #111827;
  --navy: #111827;
  --navy-deep: #111827;
  --steel: #27313f;
  --muted: #647080;
  --line: #d8dde5;
  --panel: #f5f7fa;
  --blue: #2d7ff9;
  --cyan: #52c5ec;
  --gold: #d9a441;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 0;
  padding: 0.55rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  display: block;
  height: 104px;
  overflow: hidden;
  width: 188px;
}

.brand img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 50%;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.93rem;
  font-weight: 800;
  padding: 0.7rem 0.9rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: #eef5ff;
  color: var(--blue);
}

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--white);
  margin-left: 0.35rem;
}

.site-nav .nav-cta:hover {
  background: var(--steel);
  color: var(--white);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 25px;
}

.hero {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: clamp(1.75rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  min-height: 100vh;
  padding: clamp(8rem, 11vw, 10rem) clamp(1rem, 6vw, 7rem) clamp(4rem, 7vw, 6rem);
}

.hero-content,
.hero-media {
  min-width: 0;
}

.hero-media {
  align-self: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  justify-self: end;
  min-height: 470px;
  overflow: hidden;
  position: relative;
  width: min(100%, 760px);
}

.hero-media img {
  filter: contrast(1.04) saturate(0.9);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-content {
  align-self: center;
  align-content: center;
  display: grid;
  max-width: 760px;
  padding: 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

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

h1 {
  color: inherit;
  font-size: clamp(2.35rem, 4.1vw, 4.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1.3rem;
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  max-width: 620px;
  overflow-wrap: break-word;
}

.hero-tags,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-tags {
  margin-bottom: 1.5rem;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffe39a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.9rem;
  text-transform: uppercase;
}

.hero-pills {
  margin-top: 1.2rem;
}

.hero-pills span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 900;
  padding: 0.65rem 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 1.7rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.45rem;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.25rem;
}

.button-icon {
  fill: none;
  flex: 0 0 auto;
  height: 1.05em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.05em;
}

.button.primary {
  background: #d76535;
  border-color: #d76535;
  box-shadow: 0 14px 28px rgba(215, 101, 53, 0.26);
  color: var(--white);
}

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

.hero-facts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.5rem;
}

.hero-facts span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.64);
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 1rem;
}

.hero-facts strong {
  color: var(--white);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  bottom: 4.5rem;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 0.2rem;
  left: 1.5rem;
  max-width: min(470px, calc(100% - 3rem));
  padding: 1rem 1.2rem;
  position: absolute;
}

.hero-card strong {
  font-size: clamp(1.2rem, 1.65vw, 1.65rem);
  line-height: 1.05;
}

.hero-card span {
  color: var(--muted);
  font-weight: 800;
}

.slider-controls {
  align-items: center;
  bottom: 1.2rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 1.5rem;
  position: absolute;
  right: 1.5rem;
  z-index: 3;
}

.slider-arrow,
.slider-dots {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.slider-arrow {
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 900;
  height: 48px;
  line-height: 1;
  width: 48px;
}

.slider-dots {
  align-items: center;
  border-radius: 999px;
  display: flex;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
}

.slider-dots button {
  background: rgba(17, 24, 39, 0.4);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 12px;
  padding: 0;
  transition: 0.2s ease;
  width: 12px;
}

.slider-dots button.is-active {
  background: #d76535;
  width: 32px;
}

.info-strip {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 0.8rem 2rem;
  justify-content: center;
  padding: 1rem;
}

.info-strip a,
.info-strip span {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.contact-icon {
  fill: none;
  flex: 0 0 auto;
  height: 1.05em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.05em;
}

.info-strip a:hover {
  color: var(--cyan);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  margin: 0 auto 2rem;
  max-width: 900px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.products .section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.section-heading.compact {
  text-align: left;
}

.services .section-heading {
  text-align: center;
}

.services .section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.filter-bar button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  cursor: pointer;
  font-weight: 900;
  padding: 0.72rem 1rem;
}

.filter-bar button.active,
.filter-bar button:hover {
  background: var(--ink);
  color: var(--white);
}

.product-grid,
.service-grid {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 1180px;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  overflow: hidden;
  transition: 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.product-card img {
  aspect-ratio: 1.25 / 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.product-card div {
  padding: 1.15rem;
}

.product-card span {
  color: var(--blue);
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 0.6rem;
}

.product-card p,
.service-grid p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
}

.services {
  background:
    linear-gradient(rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.9)),
    url("../assets/service-fabrication-profiles.jpg") center / cover;
  color: var(--white);
}

.services .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

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

.service-grid article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  min-height: 190px;
  padding: 1.2rem;
}

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

.service-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.contact .section-heading h2,
.contact-panel h2 {
  font-size: clamp(1.85rem, 3.2vw, 3.2rem);
}

.contact-address {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
}

.contact-address .contact-icon {
  margin-top: 0.22em;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.contact-list a,
.contact-list span {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--steel);
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
}

.contact-list strong {
  color: var(--ink);
}

.quote-form {
  display: grid;
  gap: 0.9rem;
}

.quote-form label {
  color: var(--steel);
  display: grid;
  font-weight: 900;
  gap: 0.4rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45, 127, 249, 0.14);
  outline: 0;
}

.form-message {
  font-weight: 900;
  margin: 0;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 2rem clamp(1rem, 5vw, 5rem) 1rem;
}

.footer-main {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(240px, 1.2fr) minmax(150px, 0.6fr) minmax(280px, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand img {
  background: var(--white);
  border-radius: 8px;
  height: 74px;
  margin-bottom: 1rem;
  object-fit: contain;
  padding: 0.3rem;
  width: 158px;
}

.footer-brand p {
  max-width: 360px;
}

.footer-column {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 400;
  line-height: 1.2;
}

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

.footer-contact a,
.footer-contact span {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  gap: 0.5rem;
  padding: 0.72rem 0.8rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  margin: 0;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin: 1.8rem auto 0;
  max-width: 1180px;
  padding-top: 1rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.footer-bottom a:hover {
  color: var(--cyan);
}

.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    display: none;
    left: 0;
    padding: 0.8rem 1rem 1.2rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

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

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 1rem 4rem;
  }

  .hero-media {
    justify-self: stretch;
    min-height: 360px;
    width: 100%;
  }

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

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

  .footer-bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 0.8rem;
  }

  .brand {
    height: 82px;
    width: 148px;
  }

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

  .hero-media {
    min-height: 300px;
    order: -1;
  }

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

  .hero-actions .button {
    max-width: calc(100vw - 2rem);
  }

  .hero-facts {
    max-width: calc(100vw - 2rem);
  }

  .hero-facts,
  .product-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1;
    overflow-wrap: normal;
  }

  h2 {
    font-size: 2.15rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-card {
    bottom: 4.3rem;
    left: 0.9rem;
    max-width: calc(100% - 1.8rem);
    padding: 0.9rem 1rem;
  }

  .slider-controls {
    bottom: 0.75rem;
    left: 0.9rem;
    right: 0.9rem;
  }

  .slider-arrow {
    height: 40px;
    width: 40px;
  }

  .slider-dots {
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
  }

  .slider-dots button {
    height: 10px;
    width: 10px;
  }

  .slider-dots button.is-active {
    width: 24px;
  }
}
