:root {
  --blue: #3e6ae1;
  --blue-deep: #2148b4;
  --white: #ffffff;
  --ash: #f4f4f4;
  --carbon: #171a20;
  --graphite: #393c41;
  --pewter: #5c5e62;
  --cloud: #eeeeee;
  --line: rgba(23, 26, 32, .12);
  --glass: rgba(255, 255, 255, .72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--carbon);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 56px;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  transform: translateX(-50%);
  transition: color .33s, background-color .33s, border-color .33s, backdrop-filter .33s, box-shadow .33s;
}

.site-header.scrolled,
.site-header.menu-open {
  color: var(--carbon);
  background: var(--glass);
  border-color: rgba(255, 255, 255, .62);
  box-shadow: 0 18px 46px rgba(23, 26, 32, .12);
  backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  justify-self: start;
  font-size: 21px;
  font-weight: 600;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a,
.nav-action {
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 6px;
  transition: background-color .28s, color .28s, transform .28s;
}

.nav-links a:hover,
.nav-action:hover {
  background: rgba(255, 255, 255, .7);
  transform: translateY(-1px);
}

.nav-action {
  justify-self: end;
  color: var(--white);
  background: rgba(62, 106, 225, .92);
  font-size: 14px;
  font-weight: 600;
}

.site-header.scrolled .nav-action,
.site-header.menu-open .nav-action {
  color: var(--white);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, .36), rgba(8, 12, 18, .72)),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .2), transparent 32%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 32px));
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 560;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.14;
  font-weight: 560;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 620;
}

p {
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.65;
}

.hero p {
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 20px;
  font-size: 14px;
  font-weight: 650;
  transition: background-color .28s, color .28s, border-color .28s, transform .28s, box-shadow .28s;
}

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

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 36px rgba(62, 106, 225, .25);
}

.button.primary:hover {
  background: var(--blue-deep);
}

.button.secondary {
  color: var(--carbon);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
}

.button.secondary:hover {
  background: var(--white);
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.hero-specs span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(14px);
  font-size: 13px;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(23, 26, 32, .12);
  backdrop-filter: blur(18px) saturate(150%);
}

.intro,
.process,
.products,
.quality,
.industries,
.contact {
  padding: 112px 48px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 64px;
  align-items: end;
  min-height: 86vh;
  background: linear-gradient(180deg, var(--white), #f7f8fb);
}

.intro-copy {
  max-width: 700px;
}

.intro .eyebrow,
.process .eyebrow,
.products .eyebrow,
.quality .eyebrow,
.industries .eyebrow,
.contact .eyebrow {
  color: var(--pewter);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
}

.stats div {
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, .52);
}

.stats strong {
  display: block;
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 620;
}

.stats span {
  color: var(--pewter);
  font-size: 14px;
}

.photo-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.photo-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 26, 32, .2), rgba(23, 26, 32, .72));
}

.photo-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-copy {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto 82px;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  color: var(--carbon);
}

.photo-copy p {
  color: var(--graphite);
}

.process {
  background: var(--white);
}

.process > h2,
.process > .eyebrow,
.section-heading {
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 48px auto 0;
}

.process-grid article,
.product-grid article,
.quality-grid article,
.industry-list article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-grid article::before,
.product-grid article::before,
.quality-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(62, 106, 225, .14), transparent 42%);
  transition: opacity .28s;
}

.process-grid article:hover::before,
.product-grid article:hover::before,
.quality-grid article:hover::before {
  opacity: 1;
}

.process-grid article {
  min-height: 238px;
  padding: 28px;
}

.process-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--pewter);
  font-size: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 48px 112px;
}

.gallery figure {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ash);
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform .7s;
}

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

.gallery figcaption {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(23, 26, 32, .36);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 650;
}

.products {
  background: linear-gradient(180deg, #f7f8fb, var(--ash));
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 52px;
}

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

.product-grid article {
  display: grid;
  align-content: start;
  min-height: 430px;
  padding: 28px 22px;
  text-align: center;
}

.product-grid img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  margin-bottom: 28px;
  filter: drop-shadow(0 18px 20px rgba(23, 26, 32, .1));
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  background: var(--carbon);
  color: var(--white);
}

.quality p,
.quality span {
  color: rgba(255, 255, 255, .72);
}

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

.quality-grid article {
  min-height: 210px;
  padding: 26px;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.quality-grid strong {
  display: block;
  margin-bottom: 44px;
  font-size: 32px;
  font-weight: 620;
}

.quality-grid span {
  font-size: 14px;
  line-height: 1.6;
}

.industries {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.industry-list {
  display: grid;
  gap: 12px;
}

.industry-list article {
  padding: 28px;
  transition: border-color .28s, transform .28s, box-shadow .28s;
}

.industry-list article:hover {
  border-color: rgba(62, 106, 225, .35);
  box-shadow: 0 16px 34px rgba(23, 26, 32, .08);
  transform: translateY(-2px);
}

.contact {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(340px, 520px);
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  background:
    linear-gradient(180deg, rgba(23, 26, 32, .82), rgba(23, 26, 32, .95)),
    url("./assets/image36.jpeg") center / cover;
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, .78);
}

.rfq-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
}

.rfq-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 650;
}

.rfq-form input,
.rfq-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--white);
  background: rgba(23, 26, 32, .36);
  outline: none;
  font: inherit;
  transition: border-color .28s, box-shadow .28s;
}

.rfq-form input:focus,
.rfq-form textarea:focus {
  border-color: rgba(62, 106, 225, .9);
  box-shadow: 0 0 0 4px rgba(62, 106, 225, .18);
}

.rfq-form input::placeholder,
.rfq-form textarea::placeholder {
  color: rgba(255, 255, 255, .48);
}

.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(150%);
  transform: translateX(-50%);
  color: var(--carbon);
  box-shadow: 0 16px 34px rgba(23, 26, 32, .12);
  font-size: 14px;
}

.bottom-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 650;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform .2s ease, box-shadow .28s ease, border-color .28s ease;
}

.tilt-card:hover {
  border-color: rgba(62, 106, 225, .34);
  box-shadow: 0 22px 48px rgba(23, 26, 32, .12);
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 14px;
  }

  .nav-links,
  .nav-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.menu-open .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 16px 18px 24px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: var(--carbon);
    backdrop-filter: blur(16px);
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .intro,
  .quality,
  .industries,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .intro,
  .process,
  .products,
  .quality,
  .industries,
  .contact {
    padding: 84px 20px;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-content {
    padding-top: 28px;
  }

  .hero-image {
    object-position: 42% center;
  }

  .button-row {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
  }

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

  .gallery {
    padding: 0 20px 84px;
  }

  .photo-copy {
    padding: 24px;
  }

  .bottom-bar {
    width: calc(100% - 32px);
    justify-content: space-between;
  }
}
