:root {
  --black: #090d0f;
  --panel: #11171a;
  --acid: #d4ff1f;
  --ice: #b6d6e8;
  --white: #f1f2ef;
  --muted: #879095;
  --line: rgba(241, 242, 239, 0.16);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --sans: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
}

body.cart-open {
  overflow: hidden;
}

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

button,
input {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--black);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0 2.8vw;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 15, 0.96);
}

.brand {
  color: var(--acid);
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: clamp(32px, 7vw, 100px);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--acid);
}

.cart-button,
.menu-button {
  justify-self: end;
  padding: 12px 0;
  border: 0;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-button span {
  margin-left: 8px;
  color: var(--acid);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: calc(100svh - 64px);
}

.hero-copy {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-width: 0;
  padding: 5vw 4.5vw 5vw 2.2vw;
  overflow: hidden;
  background-color: var(--panel);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 82px, 95px 100%;
}

.measure {
  color: #687075;
  font-family: var(--mono);
  font-size: 0.67rem;
  line-height: 6.7;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 7vw, 7.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.hero h1 em {
  color: var(--acid);
  font-style: normal;
}

.hero-copy p {
  max-width: 420px;
  margin: 30px 0 34px;
  color: var(--ice);
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.45;
}

.hero-media {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 30px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-acid {
  background: var(--acid);
  color: var(--black);
}

.button-acid:hover {
  background: var(--white);
}

.systems {
  padding: 82px 4vw 110px;
  background-color: var(--black);
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(212, 255, 31, 0.12) 1px);
  background-size: 25% 100%;
}

.systems-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 62px;
}

.systems-heading h2,
.field-copy h2,
.signup h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
}

.systems-heading p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product {
  display: grid;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.product:last-child {
  border-right: 0;
}

.product-topline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  text-transform: uppercase;
}

.product-topline span,
.product-topline strong {
  color: var(--acid);
  font-family: var(--mono);
}

.product-topline h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.07em;
}

.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.product dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.product dl div {
  display: grid;
  gap: 5px;
}

.product dt {
  color: var(--muted);
}

.product dd {
  margin: 0;
}

.field-notes {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 520px;
  background: var(--ice);
  color: var(--black);
}

.field-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 6vw;
}

.field-copy h2 {
  font-size: clamp(3.5rem, 5.7vw, 6rem);
}

.field-copy p {
  max-width: 520px;
  margin: 24px 0 30px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.button-line {
  min-height: 58px;
  border-color: var(--black);
  background: transparent;
}

.button-line:hover {
  background: var(--black);
  color: var(--acid);
}

.field-notes > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.signup {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 5vw;
  padding: 40px 6vw;
  border-bottom: 1px solid var(--line);
}

.signup h2 {
  font-size: clamp(2.5rem, 4.7vw, 5rem);
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.signup-form input {
  min-width: 0;
  min-height: 64px;
  padding: 0 22px;
  border: 1px solid var(--acid);
  background: transparent;
  font-family: var(--mono);
}

.form-success {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-family: var(--mono);
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 30px;
  padding: 30px 6vw;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer > div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
}

.site-footer nav {
  display: flex;
  gap: 28px;
}

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

.shade {
  position: fixed;
  z-index: 30;
  inset: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.cart-panel {
  position: fixed;
  z-index: 31;
  top: 0;
  right: 0;
  display: flex;
  width: min(470px, 94vw);
  height: 100dvh;
  flex-direction: column;
  padding: 30px;
  border-left: 1px solid var(--acid);
  background: var(--panel);
  transform: translateX(100%);
  transition: transform 200ms ease;
}

.cart-open .shade {
  visibility: visible;
  opacity: 1;
}

.cart-open .cart-panel {
  transform: none;
}

.cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.6rem;
}

.cart-heading button {
  border: 0;
  background: transparent;
  color: var(--acid);
  font-family: var(--mono);
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.cart-items p {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.checkout {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--acid);
  background: var(--black);
  color: var(--acid);
  font-family: var(--mono);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 5vw 24px;
    border-bottom: 1px solid var(--line);
    background: var(--black);
  }

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

  .site-nav a {
    padding: 14px 0;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 620px;
    padding: 70px 7vw 60px 3vw;
  }

  .hero h1 {
    font-size: clamp(4rem, 15vw, 7rem);
  }

  .hero-media {
    min-height: 68vw;
  }

  .systems {
    padding: 68px 5vw;
  }

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

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product:last-child {
    border-bottom: 0;
  }

  .field-notes,
  .signup {
    grid-template-columns: 1fr;
  }

  .field-copy {
    min-height: 480px;
    padding: 68px 7vw;
  }

  .field-notes > img {
    min-height: 64vw;
  }

  .signup {
    gap: 32px;
    padding: 60px 7vw;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 11px;
  }

  .brand {
    font-size: 1.65rem;
  }

  .menu-button,
  .cart-button {
    font-size: 0.7rem;
  }

  .hero-copy {
    min-height: 570px;
  }

  .measure {
    display: none;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    padding-left: 7vw;
  }

  .product {
    padding: 20px 0 32px;
  }

  .product dl {
    grid-template-columns: 1fr;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
