/* Vintek Circuits — static rebuild of the Wix site.
   Theme values come from the Wix palette: cyan headings (color_42),
   orange accents/buttons (color_41), #111 footer (color_37), #EDEDED bands (color_38). */

:root {
  --cyan: #00aeef;
  --orange: #e94615;
  --ink: #111111;
  --text: #333333;
  --muted: #727272;
  --grey-band: #ededed;
  --grey-line: #d6d6d6;
  --white: #ffffff;

  --font-body: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-wide: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1000px;
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand img {
  width: 190px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.4s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--orange);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-line);
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    padding: 8px var(--gutter) 16px;
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 17px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: 64px;
}

.section--tight {
  padding-block: 40px;
}

.section--grey {
  background: var(--grey-band);
}

.section--grey-soft {
  background: rgba(237, 237, 237, 0.8);
}

.heading-accent {
  color: var(--cyan);
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
}

.heading-dark {
  color: var(--ink);
  text-align: center;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: 0.02em;
}

.lead {
  font-size: 20px;
  font-weight: 300;
}

.center {
  text-align: center;
}

.caps {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Page hero (banner with overlay) ---------- */

.page-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 60px var(--gutter);
  background-color: var(--overlay, var(--ink));
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--image-opacity, 0.55);
}

.page-hero__inner {
  position: relative;
  max-width: 900px;
}

.page-hero h1,
.page-hero h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.page-hero--inset {
  margin-inline: clamp(0px, 2vw, 30px);
}

/* Wide letter-spaced caps (Wix "Lulo Clean" look) */
.wide-title {
  font-family: var(--font-wide);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.35;
}

.page-hero .wide-title {
  font-size: clamp(24px, 4vw, 46px);
}

.light-title {
  font-family: var(--font-wide);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
  text-align: center;
  margin-bottom: 40px;
}

/* ---------- Home: hero slideshow ---------- */

.hero-slides {
  position: relative;
  height: clamp(260px, 42vw, 600px);
  overflow: hidden;
  background: var(--ink);
}

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

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

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

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 44px;
  line-height: 1;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.85;
}

.slide-arrow:hover {
  opacity: 1;
}

.slide-arrow--prev {
  left: 8px;
}

.slide-arrow--next {
  right: 8px;
}

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.slide-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.slide-dots button[aria-current="true"] {
  background: var(--white);
}

/* ---------- Home: intro, stats, why ---------- */

.intro {
  text-align: center;
}

.intro ul {
  display: inline-block;
  text-align: left;
  margin: 0;
  padding-left: 1.2em;
  max-width: 520px;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}

.intro li + li {
  margin-top: 6px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}

.stats h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  min-height: 3em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 12px;
}

.stats img {
  margin-inline: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
  text-align: center;
}

.why-grid img {
  width: 48px;
  height: 48px;
  margin: 0 auto 28px;
}

.why-grid p {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 640px) {
  .stats,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--grey-band);
  padding-block: 44px;
  margin-inline: clamp(0px, 2vw, 30px);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cta-band .container {
    justify-content: center;
    text-align: center;
  }
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--ink);
}

.btn {
  display: inline-block;
  padding: 11px 34px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}

.btn:hover {
  color: var(--ink);
  border-color: var(--grey-band);
}

/* ---------- About ---------- */

.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
}

.leader {
  background: rgba(237, 237, 237, 0.8);
  text-align: center;
  padding-bottom: 20px;
}

.leader img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.leader__role {
  margin: 18px 0 4px;
  font-size: 15px;
  color: var(--muted);
}

.leader__name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 640px) {
  .leaders {
    grid-template-columns: minmax(0, 320px);
  }
}

.journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.journey h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--ink);
}

.journey__subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--grey-line);
}

.timeline__title {
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 20px;
}

.timeline li {
  position: relative;
  padding-bottom: 18px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.timeline strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.timeline span {
  display: block;
  font-size: 15px;
}

@media (max-width: 800px) {
  .journey {
    grid-template-columns: 1fr;
  }
}

.photo-band {
  height: clamp(220px, 36vw, 480px);
  background: #707070;
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Capability ---------- */

.spec-list {
  max-width: 560px;
  margin: 0 auto;
  font-size: 19px;
  font-weight: 300;
}

.spec-list div {
  padding: 12px 0;
}

.spec-list dt {
  display: inline;
  font-weight: 700;
  color: var(--ink);
  margin-right: 6px;
}

.spec-list dd {
  display: inline;
  margin: 0;
}

/* ---------- Automation ---------- */

.statement {
  max-width: 640px;
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.dash {
  width: 40px;
  height: 0;
  margin: 24px 0 28px;
  border: 0;
  border-top: 2px solid var(--ink);
}

.bold-list {
  margin: 0;
  padding-left: 1.2em;
  font-weight: 700;
  color: var(--ink);
}

.bold-list li {
  padding: 4px 0;
}

/* ---------- QA Lab ---------- */

.qa-block {
  max-width: 620px;
  margin: 0 auto 64px;
}

.qa-block h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
}

.qa-block p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--ink);
}

.equipment-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.equipment {
  margin: 0;
  padding-left: 1.2em;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--ink);
}

.equipment + .equipment {
  margin-top: 18px;
}

/* ---------- Applications ---------- */

.app-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.app-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  background: var(--ink);
}

.app-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.8;
}

.app-tile:hover img {
  transform: scale(1.05);
  opacity: 0.6;
}

.app-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.app-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.app-lists h3 {
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.04em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
}

.app-lists ul {
  margin: 0;
  padding-left: 1.1em;
}

.app-lists li {
  padding: 3px 0;
}

/* ---------- Gallery slideshows ---------- */

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

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--white);
  border: 1px solid #2f2e2e;
  overflow: hidden;
}

.gallery--soft {
  border-color: var(--grey-line);
}

.gallery .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gallery .slide.is-active {
  opacity: 1;
}

.gallery .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
}

.gallery--cover .slide img {
  object-fit: cover;
}

.gallery .slide-arrow {
  color: var(--ink);
  font-size: 34px;
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 12px;
}

.gallery .slide-arrow--prev {
  left: 0;
}

.gallery .slide-arrow--next {
  right: 0;
}

.gallery__counter {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  font-size: 13px;
  color: #111;
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
}

/* ---------- Videos ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video {
  margin: 0;
}

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video__frame img,
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 0;
  cursor: pointer;
  color: var(--white);
}

.video__play svg {
  width: 68px;
  height: 68px;
}

.video figcaption {
  padding-top: 8px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Careers ---------- */

.careers-intro {
  text-align: center;
}

.careers-intro h1 {
  font-size: clamp(34px, 5vw, 52px);
  color: var(--ink);
}

.careers-intro a {
  color: var(--orange);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f0f0f0;
}

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

.split__body {
  align-self: center;
  max-width: 560px;
  padding: clamp(32px, 6vw, 80px) clamp(20px, 5vw, 80px);
}

.split h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--ink);
}

.split p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 40px 60px;
  text-align: center;
  padding-bottom: 80px;
}

.contact-card h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.contact-card p {
  margin: 0 0 6px;
  font-size: 15px;
}

.contact-card a {
  color: inherit;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--orange);
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-block: 56px 32px;
  margin-inline: clamp(0px, 2vw, 30px);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1.4fr;
  gap: 36px;
  align-items: start;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.site-footer a {
  text-decoration: none;
  color: var(--white);
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-contact h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-contact p {
  margin: 0 0 6px;
  color: #d6d6d6;
}

.footer-wordmark {
  font-family: var(--font-wide);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  align-self: center;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 12px;
  color: #d6d6d6;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Misc ---------- */

.empty-state {
  min-height: 40vh;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 20px;
  color: var(--muted);
}
