:root {
  --ink: #070809;
  --ink-soft: #121417;
  --steel: #8b939c;
  --paper: #f2f4f6;
  --blue: #00a8e8;
  --blue-deep: #0077a8;
  --blue-glow: rgba(0, 168, 232, 0.45);
  --white: #ffffff;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0;
}

p {
  margin: 0;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 1.5rem;
  background: var(--white);
  border-bottom: 1px solid rgba(7, 8, 9, 0.08);
  box-shadow: 0 1px 0 rgba(7, 8, 9, 0.04);
  transition: box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(7, 8, 9, 0.08);
}

.header-logo {
  height: 4.75rem;
  width: auto;
  background: transparent;
  outline: none;
  box-shadow: none;
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(7, 8, 9, 0.62);
  transition: color 0.25s ease;
}

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

.nav-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink) !important;
  background: var(--blue);
  padding: 0.65rem 1.1rem;
  transition: background 0.25s ease, transform 0.25s ease !important;
}

.nav-cta:hover {
  background: #33baf0;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--ink);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease-out), transform 6s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.4) 0%, rgba(7, 8, 9, 0.12) 28%, rgba(7, 8, 9, 0.55) 55%, rgba(7, 8, 9, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(0, 168, 232, 0.2), transparent 62%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(44rem, calc(100% - 3rem));
  margin: 0 auto 7.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease-out) 0.2s forwards;
}

.hero-lede {
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(242, 244, 246, 0.86);
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease-out) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease-out) 0.5s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--ink);
}

.btn-primary:hover {
  background: #33baf0;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.hero-dots {
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 2.25rem;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s ease;
}

.hero-dot.is-active {
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
  transform: scaleX(1.08);
}

.hero-trade-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 244, 246, 0.7);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Trades ——— */
.trades {
  padding: 6rem 0 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(0, 168, 232, 0.08), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
}

.section-intro {
  width: min(40rem, calc(100% - 3rem));
  margin: 0 auto 3.5rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.section-intro h2,
.tech-inner h2,
.cta-inner h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.section-copy {
  color: var(--steel);
  font-size: 1.05rem;
}

.trade-stack {
  display: grid;
}

.trade-panel {
  position: relative;
  min-height: clamp(18rem, 42vw, 28rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trade-panel:nth-child(even) {
  grid-template-columns: 0.85fr 1.15fr;
}

.trade-panel:nth-child(even) .trade-panel-media {
  order: 2;
}

.trade-panel-media {
  background-image: var(--panel-image);
  background-size: cover;
  background-position: center;
  min-height: 16rem;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}

.trade-panel:hover .trade-panel-media {
  transform: scale(1);
}

.trade-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(18, 20, 23, 0.98), rgba(7, 8, 9, 0.92)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(0, 168, 232, 0.03) 11px,
      rgba(0, 168, 232, 0.03) 12px
    );
}

.trade-panel-copy h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
  color: var(--white);
}

.trade-panel-copy h3::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.75rem;
  background: var(--blue);
}

.trade-panel-copy p {
  color: var(--steel);
  max-width: 22rem;
  font-size: 1.02rem;
}

/* ——— Catalog ——— */
.catalog {
  padding: 6rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(0, 168, 232, 0.1), transparent 55%),
    linear-gradient(180deg, var(--ink-soft), var(--ink));
}

.catalog .section-intro {
  margin-bottom: 2.5rem;
}

.catalog-specs {
  width: min(70rem, 100%);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 168, 232, 0.28);
}

.catalog-specs div {
  background: rgba(7, 8, 9, 0.85);
  padding: 1.1rem 1rem;
  text-align: center;
}

.catalog-specs span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.catalog-specs strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--paper);
}

.catalog-filters {
  width: min(72rem, 100%);
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.catalog-filter {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(242, 244, 246, 0.72);
  padding: 0.65rem 1.1rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.catalog-filter:hover {
  color: var(--white);
  border-color: rgba(0, 168, 232, 0.55);
}

.catalog-filter.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--ink);
}

.catalog-grid {
  width: min(72rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 0.7rem 1rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.product[hidden] {
  display: none;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f7f8fa;
  margin-bottom: 0.7rem;
}

.product-sku {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.2rem;
}

.product h3 {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.product-meta {
  font-size: 0.78rem;
  color: rgba(7, 8, 9, 0.58);
  margin-bottom: 0.75rem;
}

.product-swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(7, 8, 9, 0.15);
  vertical-align: -0.05rem;
  margin-right: 0.3rem;
}

.product-quote {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.65rem;
  border: 0;
  margin-top: auto;
}

.catalog-sheet {
  width: min(72rem, 100%);
  margin: 2.75rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-sheet p {
  color: var(--steel);
  letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }

  .catalog-specs {
    grid-template-columns: repeat(3, 1fr);
  }

  .product h3 {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }
}

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

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

/* ——— Tech ——— */
.tech {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
  isolation: isolate;
}

.tech-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.55), rgba(7, 8, 9, 0.88)),
    url("assets/web_1.png") center / cover no-repeat;
  transform: scale(1.05);
  filter: saturate(0.85);
}

.tech-inner {
  position: relative;
  z-index: 1;
  width: min(52rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.tech-inner .section-copy {
  max-width: 38rem;
  margin: 0 auto 3rem;
  color: rgba(242, 244, 246, 0.78);
}

.tech-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  text-align: left;
}

.tech-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tech-points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tech-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  line-height: 1;
  padding-top: 0.15rem;
}

.tech-points strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.tech-points p {
  color: rgba(242, 244, 246, 0.68);
}

/* ——— CTA ——— */
.cta {
  padding: 6.5rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 55% at 50% 40%, rgba(0, 168, 232, 0.16), transparent 70%),
    linear-gradient(180deg, var(--ink-soft), var(--ink));
  border-top: 1px solid rgba(0, 168, 232, 0.18);
}

.cta-inner {
  width: min(36rem, 100%);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.cta-logo {
  width: min(12rem, 55vw);
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: var(--steel);
  margin-bottom: 0.75rem;
}

/* ——— Quote modal ——— */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 9, 0.72);
  backdrop-filter: blur(4px);
}

.quote-modal-panel {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(92svh, 52rem);
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid rgba(7, 8, 9, 0.08);
  box-shadow: 0 24px 64px rgba(7, 8, 9, 0.28);
}

.quote-modal-panel .eyebrow {
  margin-bottom: 0.5rem;
}

.quote-modal-panel h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.quote-modal-lede {
  color: rgba(7, 8, 9, 0.62);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.quote-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.quote-form label,
.quote-form-full {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.quote-form label span,
.quote-form-full span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(7, 8, 9, 0.55);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 8, 9, 0.16);
  background: #f7f8f9;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(0, 168, 232, 0.45);
  outline-offset: 1px;
  border-color: var(--blue);
}

.quote-form-full {
  margin-top: 0.9rem;
}

.quote-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.quote-form-submit {
  width: 100%;
  margin-top: 1.15rem;
  cursor: pointer;
  border: 0;
}

.quote-form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(7, 8, 9, 0.5);
  text-align: center;
}

.quote-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.quote-success h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.quote-success p {
  color: rgba(7, 8, 9, 0.62);
  margin-bottom: 1.25rem;
}

.quote-success .btn {
  border: 0;
  cursor: pointer;
}

body.quote-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .quote-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Footer ——— */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--steel);
}

.footer-tag {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 168, 232, 0.85);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .trade-panel,
  .trade-panel:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .trade-panel:nth-child(even) .trade-panel-media {
    order: 0;
  }

  .trade-panel-media {
    min-height: 14rem;
  }
}

@media (max-width: 720px) {
  .header-logo {
    height: 3.5rem;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(7, 8, 9, 0.08);
    padding: 0.5rem 0;
  }

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

  .site-nav a {
    padding: 1rem 1.5rem;
  }

  .nav-cta {
    margin: 0.5rem 1.5rem 1rem;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    margin-bottom: 6.5rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    flex: 1 1 auto;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
