:root {
  --ink: #0f1319;
  --graphite: #171c24;
  --steel-700: #2a3441;
  --steel-500: #6b7688;
  --paper: #f5f6f8;
  --paper-card: #ffffff;
  --white: #ffffff;
  --blueprint: #4f8fd1;
  --blueprint-dim: rgba(79, 143, 209, 0.12);
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: rgba(15, 19, 25, 0.1);

  --font-display: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.72) 0%, rgba(10, 13, 18, 0.55) 45%, rgba(10, 13, 18, 0.88) 100%);
  z-index: 1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 70%);
}

/* ---------- NAV ---------- */

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 28px 60px 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__brand img {
  height: 40px;
  width: auto;
  display: block;
}

.nav__list {
  display: flex;
  list-style: none;
  margin-left: auto;
}

.nav__list li + li {
  margin-left: 44px;
}

.nav__list a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity 0.2s ease, color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--blueprint);
  transition: width 0.25s ease;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--blueprint);
}

.nav__list a:hover::after,
.nav__list a:focus-visible::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* ---------- HERO CONTENT ---------- */

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.hero__logo {
  width: min(520px, 78vw);
  height: auto;
}

.hero__tagline {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  line-height: 1.55;
}

.hero__industries {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--line-dark);
  padding: 20px 40px;
}

.hero__industries span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 18px;
  border-left: 1px solid var(--line-dark);
}

.hero__industries span:first-child {
  border-left: none;
}

/* ---------- SHARED SECTION HEADER ---------- */

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--blueprint);
  margin-bottom: 14px;
}

.section-eyebrow--light {
  color: #7fb4e8;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  line-height: 1.05;
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--steel-500);
  max-width: 560px;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- PRODUCTS ---------- */

.products {
  background: var(--paper);
  color: var(--ink);
  padding: 120px 60px;
}

.products__header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.products__header .section-subtitle {
  margin: 0 auto;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.product-card {
  background: var(--paper-card);
  position: relative;
}

.product-card::before,
.product-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--blueprint);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 3;
}

.product-card::before {
  top: 10px;
  left: 10px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.product-card::after {
  bottom: 10px;
  right: 10px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.product-card:hover::before,
.product-card:hover::after {
  opacity: 1;
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__code {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--steel-500);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 36px 24px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line-light);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ink);
}


/* ---------- CONTACT ---------- */

.contact {
  background: var(--ink);
  color: var(--white);
  padding: 120px 60px;
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.contact__intro {
  padding-top: 4px;
}

.contact__facts {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.contact__facts dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact__facts dd {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--graphite);
  border: 1px solid var(--steel-700);
  border-radius: 4px;
  padding: 40px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact__field label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.contact__field input,
.contact__field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--steel-700);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: var(--blueprint);
  background: rgba(255, 255, 255, 0.06);
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact__submit {
  align-self: flex-start;
  background: var(--blueprint);
  color: var(--ink);
  border: none;
  border-radius: 3px;
  padding: 14px 34px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.contact__submit:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.contact__status {
  font-size: 14px;
  min-height: 20px;
}

.contact__status--ok {
  color: #6ee7a0;
}

.contact__status--error {
  color: #ff8a8a;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: #0a0d12;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .nav {
    padding: 20px 24px 0;
  }

  .nav__brand img {
    height: 30px;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 13, 18, 0.97);
    padding: 12px 24px;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav__list li + li {
    margin-left: 0;
  }

  .nav__list li:last-child {
    border-bottom: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__logo {
    width: 85vw;
  }

  .hero__industries {
    padding: 16px 20px;
  }

  .hero__industries span {
    padding: 4px 12px;
    font-size: 11px;
  }

  .products,
  .contact {
    padding: 72px 24px;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 26px;
  }

  .contact__row {
    grid-template-columns: 1fr;
  }
}

/* ---------- BOLDER TYPE PASS ---------- */
.hero__tagline { font-weight: 500; }
.product-card__code { font-weight: 700; }
.contact__field label { font-weight: 700; }
.contact__submit { font-weight: 800; letter-spacing: 1.2px; }
.site-footer { font-weight: 600; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
