:root {
  color-scheme: dark;
  --page: #080d16;
  --panel: #101926;
  --panel-raised: #142031;
  --ink: #f0f7ff;
  --muted: #a7b8cb;
  --ice: #a5e1ff;
  --line: #26374c;
  --gutter: clamp(1rem, 4vw, 3.75rem);
  --header-height: 4.65rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  font:
    16px / 1.55 "Segoe UI Variable",
    "Segoe UI",
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.2rem);
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}

.container {
  width: min(100% - var(--gutter) * 2, 75rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 4;
  inset: 0.55rem auto auto 0.55rem;
  padding: 0.6rem 1rem;
  color: var(--page);
  background: var(--ice);
  translate: 0 -160%;
}

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

.header {
  position: sticky;
  z-index: 3;
  inset-block-start: 0;
  background: var(--page);
  border-block-end: 1px solid #1d2b3d;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand,
.navigation,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.55rem;
  min-height: 2.75rem;
  font-size: 1.06rem;
  font-weight: 720;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.brand span span {
  color: var(--ice);
}
.navigation {
  gap: clamp(0.8rem, 3vw, 2rem);
}

.navigation a,
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 180ms ease;
}

.navigation a:hover,
.footer-link:hover {
  color: var(--ice);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1rem;
  border: 1px solid #36526c;
  border-radius: 0.63rem;
  background: #101d2c;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 670;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms var(--ease);
}

.button:hover {
  background: #1b2c40;
  border-color: #62869f;
  transform: translateY(-2px);
}
.button:active {
  transform: none;
}
.button-small {
  min-height: 2.75rem;
  padding-inline: 0.82rem;
}
.button-primary {
  background: var(--ice);
  color: #0c202e;
  border-color: var(--ice);
}
.button-primary:hover {
  background: #d3efff;
  border-color: #d3efff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.83fr);
  align-items: center;
  min-height: 30rem;
  margin-block: clamp(1.2rem, 4vw, 3.1rem) clamp(2.9rem, 6vw, 5.2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: radial-gradient(ellipse at 86% 38%, #132941, transparent 54%), #0b1421;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 5.2vw, 4.6rem);
  animation: enter 720ms var(--ease) both;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.35rem, 6.1vw, 6.1rem);
  font-weight: 730;
  letter-spacing: -0.066em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--ice);
}

.hero p {
  margin: clamp(1rem, 2vw, 1.6rem) 0 1.55rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.29rem);
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-art {
  align-self: stretch;
  min-width: 0;
  position: relative;
  mask-image: radial-gradient(ellipse at 56% 48%, #000 52%, transparent 85%);
  animation: enter 920ms var(--ease) both;
}

.hero-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-title,
.spoofer h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 680;
  letter-spacing: -0.051em;
  line-height: 1.1;
}

.section-title {
  margin-block-end: 1.35rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.95rem, 2.6vw, 1.9rem);
}

.product,
.spoofer {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.92rem;
  background: var(--panel);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease),
    border-color 220ms ease;
}

.product:hover {
  border-color: #426380;
}
.awaiting-view {
  opacity: 0;
  transform: translateY(0.85rem);
}

.product-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.85rem 0.85rem 0 0;
  background: #101c2a;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 630ms var(--ease);
}

@media (hover: hover) {
  .product-art:hover img {
    transform: scale(1.023);
  }
}

.media-label {
  position: absolute;
  inset: auto auto 0.7rem 0.7rem;
  padding: 0.26rem 0.57rem;
  border: 1px solid #8eafc655;
  border-radius: 0.38rem;
  color: var(--ink);
  background: #080f1cec;
  font-size: 0.82rem;
  font-weight: 620;
}

.product-copy {
  padding: clamp(0.95rem, 2.5vw, 1.52rem);
}

.product-copy h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 680;
  letter-spacing: -0.042em;
  line-height: 1.12;
}

.gallery-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.34rem 0.75rem 0.34rem 0.34rem;
  border: 1px solid var(--line);
  border-radius: 0.48rem;
  background: #0d1622;
  color: #d9e8f7;
  font-size: 0.9rem;
  font-weight: 580;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.gallery-link:hover {
  background: var(--panel-raised);
  border-color: #52718d;
}
.gallery-link img {
  width: 4.25rem;
  height: auto;
  flex: none;
  border-radius: 0.25rem;
}

.spoofer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  margin-block: clamp(2.65rem, 6vw, 4.6rem);
  padding: clamp(1.1rem, 3.5vw, 2.25rem);
  background: linear-gradient(110deg, #132235, #0e1723 73%);
}

.spoofer h2 {
  font-size: clamp(1.63rem, 3vw, 2.55rem);
}
.spoofer p {
  margin: 0.48rem 0 0;
  color: var(--muted);
}
.footer {
  border-block-start: 1px solid var(--line);
}

.preview {
  width: min(75rem, calc(100% - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
  margin: auto;
  padding: 0;
  border: 1px solid #426380;
  border-radius: 0.8rem;
  color: var(--ink);
  background: #0a111d;
}

.preview::backdrop {
  background: #03070ddd;
}
.preview[open] {
  animation: enter 280ms var(--ease) both;
}
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.72rem;
}
.preview-bar h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}
.preview img {
  width: 100%;
  max-height: calc(100dvh - 5.2rem);
  object-fit: contain;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 6rem;
  }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding-block-start: 0.35rem;
  }
  .header-inner > .button {
    grid-area: 1 / 2;
  }
  .navigation {
    grid-column: 1 / -1;
    gap: 1.75rem;
  }
  .navigation a {
    min-height: 2.5rem;
  }
  .hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    min-height: 0;
    border-radius: 0.95rem;
  }
  .hero-copy {
    padding-block-start: 0;
    margin-block-start: -0.9rem;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 10.1vw, 4.8rem);
  }
  .hero p {
    margin-block-end: 1.05rem;
  }
  .hero-art {
    min-height: clamp(11.25rem, 62vw, 21.5rem);
    mask-image: radial-gradient(ellipse at 50% 44%, #000 46%, transparent 78%);
  }
  .hero-art img {
    object-fit: contain;
  }
  .hero-break {
    display: none;
  }
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    min-height: 4.5rem;
  }
}

@media (max-width: 370px) {
  .hero .button {
    width: 100%;
  }
  .footer-link {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .awaiting-view {
    opacity: 1;
    transform: none;
  }
}
