:root {
  --font-body: "Mulish", "Muli", Arial, sans-serif;
  --font-heading: "Mulish", "Muli", Arial, sans-serif;

  --page-bg: #191919;
  --black: #000000;
  --white: #ffffff;
  --muted: #b7b7b7;
  --gold: #c9972f;

  --hero-width: 1240px;
  --hero-height: 385px;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

/* Header / menu */

.site-header {
  width: 100%;
  background: var(--page-bg);
  padding-top: 22px;
}

.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  height: 42px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-nav a {
  position: relative;
  color: var(--white);
  opacity: 0.95;
  padding-top: 14px;
  font-weight: 400;
}

.top-nav a:hover {
  color: var(--gold);
}

.top-nav a.active {
  color: var(--white);
  font-weight: 800;
}

.top-nav a.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 52px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--white);
}

/* Home */

.home-main {
  background: var(--page-bg);
}

.hero-card {
  width: min(var(--hero-width), calc(100vw - 72px));
  height: var(--hero-height);
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: 40% 60%;
  background: var(--black);
  overflow: hidden;
}

.hero-logo-panel {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 265px;
  height: auto;
}

.hero-video-panel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--black);
}

.wafer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.company-section {
  width: min(var(--hero-width), calc(100vw - 72px));
  margin: 0 auto;
  padding: 58px 0 56px;
  text-align: center;
}

.company-section h1 {
  margin: 0;
  font-family: "Mulish", "Muli", Arial, sans-serif;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
}

/* Footer */

.site-footer {
  width: 100%;
  background: var(--page-bg);
  padding: 0 24px 44px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}


/* Contact page */

.contact-main {
  background: var(--page-bg);
}

.contact-logo-card {
  width: min(var(--hero-width), calc(100vw - 72px));
  height: 150px;
  margin: 58px auto 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-logo {
  width: 265px;
  height: auto;
}

.contact-content {
  width: min(1540px, calc(100vw - 120px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: start;
}

.contact-info {
  padding: 44px 0 0 44px;
}

.contact-info h1 {
  margin: 0;
  color: var(--white);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.contact-title-line {
  width: 86px;
  height: 2px;
  background: var(--white);
  margin: 24px 0 40px 250px;
}

.contact-info h2 {
  margin: 0 0 26px;
  color: var(--white);
  font-size: 23px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.contact-info p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  min-width: 190px;
  height: 54px;
  background: #242424;
  color: var(--white);
  border: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-button:hover {
  background: #303030;
  color: var(--white);
}

.contact-map {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: var(--black);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-company-section {
  width: min(var(--hero-width), calc(100vw - 72px));
  margin: 0 auto;
  padding: 42px 0 38px;
  text-align: center;
}

.contact-company-section h2 {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
}











/* Responsive */

@media (max-width: 900px) {
  :root {
    --hero-height: auto;
  }

  .contact-logo-card {
    width: min(680px, calc(100vw - 36px));
    height: 140px;
    margin-top: 42px;
  }

  .contact-content {
    width: min(680px, calc(100vw - 36px));
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-info {
    padding: 0;
  }

  .contact-title-line {
    margin-left: 0;
  }

  .contact-map {
    height: 320px;
  }

  .site-header {
    padding-top: 18px;
  }

  .top-nav {
    gap: 26px;
    font-size: 13px;
  }

  .hero-card {
    width: min(680px, calc(100vw - 36px));
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .hero-logo-panel {
    min-height: 220px;
  }

  .hero-logo {
    width: 240px;
  }

  .hero-video-panel {
    height: 300px;
  }

  .company-section {
    width: min(680px, calc(100vw - 36px));
    padding: 52px 0 22px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .top-nav {
    gap: 22px;
    font-size: 12px;
  }

  .contact-logo-card {
    height: 120px;
  }

  .contact-logo {
    width: 210px;
  }

  .contact-info h1 {
    font-size: 30px;
  }

  .contact-info h2 {
    font-size: 20px;
  }

  .contact-info p {
    font-size: 15px;
  }

  .contact-map {
    height: 280px;
  }

  .hero-logo-panel {
    min-height: 190px;
  }

  .hero-logo {
    width: 210px;
  }

  .hero-video-panel {
    height: 230px;
  }

  .company-section h1 {
    font-size: 17px;
  }

  .site-footer p {
    font-size: 13px;
  }
}