:root {
  color-scheme: dark;
  --topbar-height: 76px;
  --bg: #0b0d0f;
  --panel: #212221;
  --panel-soft: #323434;
  --line: #f3f1ec;
  --line-soft: rgba(243, 241, 236, 0.28);
  --text: #f5f3ef;
  --muted: #c8c5be;
  --orange: #f16c02;
  --orange-deep: #b84d00;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 18px);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(241, 108, 2, 0.13), transparent 32rem),
    linear-gradient(180deg, #111416 0%, var(--bg) 48%, #0f1112 100%);
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--topbar-height);
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(13, 15, 16, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 241, 236, 0.14);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 82px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--text);
}

.nav-action {
  padding: 10px 15px;
  color: var(--text);
  background: rgba(241, 108, 2, 0.12);
  border: 1px solid var(--orange);
  border-radius: 7px;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--topbar-height) + 34px);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 10, 0.92), rgba(7, 9, 10, 0.55) 46%, rgba(7, 9, 10, 0.2)),
    linear-gradient(0deg, rgba(7, 9, 10, 0.93), rgba(7, 9, 10, 0.08) 52%);
}

.hero-content {
  width: min(780px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 80px) clamp(48px, 10vh, 92px);
}

.hero-logo {
  display: block;
  width: min(210px, 48vw);
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.48));
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(245, 243, 239, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 800;
}

.button.primary {
  color: #111;
  background: var(--orange);
  box-shadow: 0 14px 34px rgba(241, 108, 2, 0.22);
}

.button.primary:hover {
  background: #ff7a12;
}

.button.secondary {
  color: var(--text);
  background: rgba(44, 48, 49, 0.72);
  border: 1px solid var(--line-soft);
}

.section,
.feature-grid,
.product-showcase,
.contact,
.footer {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 84px);
  padding: 86px 0 48px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section p,
.showcase-copy p,
.feature p,
.contact p,
.application-list {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  padding: 28px 0 68px;
}

.showcase-copy {
  padding: 8px 0;
}

.showcase-media {
  margin: 0;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showcase-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

.gallery {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 10px 0 78px;
}

.gallery-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.gallery-header h2 {
  max-width: 760px;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-button:hover {
  border-color: var(--orange);
}

.gallery-frame {
  position: relative;
  min-height: clamp(260px, 54vw, 620px);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.gallery-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.gallery-slide figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--muted);
  background: rgba(33, 34, 33, 0.94);
  border-top: 1px solid var(--line-soft);
}

.gallery-slide strong {
  color: var(--text);
  font-size: 1.05rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.gallery-dot {
  width: 34px;
  height: 6px;
  padding: 0;
  background: var(--panel-soft);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.gallery-dot.is-active {
  background: var(--orange);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 0 78px;
}

.feature {
  min-height: 232px;
  padding: 24px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.feature-index {
  display: block;
  margin-bottom: 38px;
  color: var(--orange);
  font-weight: 900;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.applications {
  border-top: 1px solid rgba(243, 241, 236, 0.14);
}

.application-list {
  margin: 0;
  padding-left: 20px;
}

.application-list li + li {
  margin-top: 12px;
}

.application-list li::marker {
  color: var(--orange);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 68px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(241, 108, 2, 0.16), transparent 44%),
    var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact p {
  color: rgba(245, 243, 239, 0.74);
}

.contact-list {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.contact-list a {
  display: block;
  padding: 13px 14px;
  background: rgba(245, 243, 239, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid rgba(243, 241, 236, 0.14);
}

.footer img {
  width: 96px;
  height: auto;
}

@media (max-width: 760px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

  .brand img {
    width: 72px;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .nav a:not(.nav-action) {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 120px;
  }

  .hero-content {
    margin-bottom: 44px;
  }

  .section,
  .product-showcase,
  .feature-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery-header,
  .gallery-slide figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-frame {
    min-height: 360px;
  }

  .feature {
    min-height: 190px;
  }

  .contact {
    padding: 26px 20px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
