:root {
  color-scheme: dark;
  --ink: #f6fbf8;
  --muted: #b9c7c5;
  --soft: #d9e8df;
  --panel: rgba(10, 22, 24, 0.78);
  --panel-solid: #0b1719;
  --line: rgba(255, 255, 255, 0.14);
  --green: #64d57c;
  --aqua: #53d6cc;
  --yellow: #f6bf3b;
  --brick: #d86a44;
  --deep: #071012;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--deep);
  color: var(--ink);
}

body.drawer-open {
  overflow: hidden;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

button,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(4, 11, 12, 0.9), rgba(4, 11, 12, 0.48));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 54px;
  display: block;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--soft);
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  min-height: 90vh;
  padding: 130px clamp(18px, 4vw, 54px) 44px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 10, 11, 0.92) 0%, rgba(3, 10, 11, 0.68) 45%, rgba(3, 10, 11, 0.28) 100%),
    linear-gradient(0deg, #071012 0%, rgba(7, 16, 18, 0) 28%);
  content: "";
}

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

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-content {
  align-self: center;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 1;
  font-weight: 600;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 720px;
}

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

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.primary-action,
.secondary-action,
.buy-button,
.checkout-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-action,
.buy-button,
.checkout-link {
  background: var(--yellow);
  color: #11100c;
}

.secondary-action {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover,
.buy-button:hover,
.checkout-link:hover {
  transform: translateY(-2px);
}

.hero-panel {
  align-self: end;
  justify-self: end;
  display: grid;
  width: min(520px, 100%);
  margin-top: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel div {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.hero-panel div:first-child {
  border-top: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b1719;
}

.ticker span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-left: 1px solid var(--line);
  color: var(--soft);
  font-weight: 800;
  text-align: center;
}

.ticker span:first-child {
  border-left: 0;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 54px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.intro > p,
.split-content > p,
.opportunity-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.storefront {
  background: #edf4ed;
  color: #101817;
}

.storefront .eyebrow,
.opportunity .eyebrow {
  color: #22776d;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 250px 1fr;
  overflow: hidden;
  border: 1px solid rgba(6, 18, 19, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(8, 25, 26, 0.08);
}

.product-card.featured {
  grid-column: span 1;
}

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

.product-body {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 24px;
}

.product-kicker {
  margin-bottom: 12px;
  color: #3e6d66;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body p:not(.product-kicker) {
  color: #485d5a;
  line-height: 1.65;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 18px;
}

.product-meta span {
  border: 1px solid rgba(20, 45, 44, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: #263c39;
  font-size: 0.76rem;
  font-weight: 800;
}

.buy-button {
  width: 100%;
  border: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.split-media {
  min-height: 580px;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.feature-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
}

.applications {
  background: #102426;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.application-grid article {
  min-height: 245px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--yellow);
  font-weight: 900;
}

.application-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.opportunity {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 80px);
  background: #edf4ed;
  color: #101817;
}

.stats {
  display: grid;
  gap: 14px;
}

.stats div {
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(8, 25, 26, 0.08);
}

.stats strong {
  display: block;
  color: #0d756b;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: #4b615d;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.gallery-grid img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.gallery-grid img:nth-child(2) {
  height: 520px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 16, 18, 0.9), rgba(7, 16, 18, 0.68)),
    url("assets/canal-perspective.jpeg") center / cover;
}

.contact-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-card a {
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--soft);
  font-weight: 800;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.55);
}

.order-drawer {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100vh;
  padding: 28px;
  transform: translateX(105%);
  border-left: 1px solid var(--line);
  background: #f7fbf4;
  color: #121918;
  box-shadow: -22px 0 70px rgba(0, 0, 0, 0.35);
  transition: transform 220ms ease;
}

.order-drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #111918;
  color: #fff;
  font-size: 1.4rem;
}

.order-drawer .eyebrow {
  color: #22776d;
  margin-top: 46px;
}

.drawer-copy {
  color: #516562;
  line-height: 1.6;
}

.order-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: #293b38;
  font-weight: 800;
}

.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid rgba(9, 24, 24, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #121918;
  padding: 13px 14px;
}

.order-form textarea {
  resize: vertical;
  line-height: 1.45;
}

.checkout-link {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 18, 20, 0.96);
    padding: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 860px;
    padding-top: 112px;
  }

  .hero-panel {
    justify-self: stretch;
  }

  .ticker,
  .product-grid,
  .application-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .split,
  .opportunity,
  .contact {
    grid-template-columns: 1fr;
  }

  .split-media,
  .split-media img {
    min-height: 420px;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(2) {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 780px;
    padding: 98px 16px 28px;
  }

  .hero-panel {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(3, 10, 11, 0.94), rgba(3, 10, 11, 0.64)),
      linear-gradient(0deg, #071012 0%, rgba(7, 16, 18, 0) 34%);
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .ticker,
  .product-grid,
  .application-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .ticker span {
    min-height: 62px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ticker span:first-child {
    border-top: 0;
  }

  .section {
    padding: 58px 16px;
  }

  .product-card {
    grid-template-rows: 220px 1fr;
  }

  .product-body {
    min-height: auto;
  }

  .split-media,
  .split-media img {
    min-height: 300px;
  }

  .application-grid article {
    min-height: 210px;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(2) {
    height: 280px;
  }

  .order-drawer {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.site-footer {
  width: 100%;
  background: #f5f5f4;
  border-top: 1px solid #d4d4d4;
  color: #52525b;
  padding: 24px 5vw;
  box-sizing: border-box;
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}