:root {
  --navy: #05111d;
  --navy-soft: #0a1d2b;
  --white: #f5f9ff;
  --blue: #72c8ff;
  --blue-bright: #8bd6ff;
  --body: #d4e6f3;
  --muted: #9db2c6;
  --line: rgba(171, 204, 239, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
}

.landing-shell {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.55rem clamp(1.35rem, 4.6vw, 5.5rem) 1.55rem;
}

.hero-image,
.image-wash,
.grain {
  inset: 0;
  position: absolute;
}

.hero-image {
  z-index: -3;
  background: var(--navy-soft);
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 70% center;
  filter: saturate(0.78) contrast(1.05) brightness(0.83);
  transform: scale(1.02);
  animation: settle 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.image-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 17, 29, 0.97) 0%, rgba(5, 17, 29, 0.88) 32%, rgba(5, 17, 29, 0.45) 67%, rgba(5, 17, 29, 0.55) 100%),
    linear-gradient(0deg, rgba(5, 17, 29, 0.93) 0%, rgba(5, 17, 29, 0.06) 34%, rgba(5, 17, 29, 0.25) 100%);
}

.grain {
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.site-header,
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  animation: fade-up 0.75s 0.05s both;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand-logo {
  width: clamp(3.55rem, 5.4vw, 4.75rem);
  height: clamp(3.55rem, 5.4vw, 4.75rem);
  display: block;
  border-radius: 0.9rem;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.3);
}

.header-link,
.product-label,
.side-note,
.site-footer {
  font-family: "Space Grotesk", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.header-link {
  color: var(--body);
  font-size: 0.65rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--blue);
}

.hero-copy {
  width: min(53rem, 100%);
  margin: auto 0;
  padding: clamp(4rem, 10vh, 8rem) 0;
  animation: fade-up 0.9s 0.12s both;
}

.product-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
}

.product-label::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.32rem rgba(114, 200, 255, 0.15);
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--white);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(4rem, 9vw, 9.4rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.94;
}

h1 span {
  color: var(--blue);
}

.hero-intro {
  max-width: 20rem;
  margin: 1.65rem 0 2.2rem;
  color: var(--body);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.95rem 1rem 0.95rem 1.35rem;
  border: 1px solid var(--blue);
  border-radius: 0.35rem;
  background: var(--blue);
  color: #05111d;
  text-decoration: none;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.cta:hover {
  transform: translateY(-0.18rem);
  border-color: var(--blue-bright);
  background: var(--blue-bright);
}

.cta-arrow {
  font-size: 1.12rem;
  line-height: 0.75;
  transition: transform 220ms ease;
}

.cta:hover .cta-arrow {
  transform: translate(0.15rem, -0.15rem);
}

.cta:focus-visible,
.brand:focus-visible,
.header-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 0.35rem;
}

.side-note {
  position: absolute;
  right: clamp(1.35rem, 4.6vw, 5.5rem);
  bottom: 7.3rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--body);
  font-size: 0.62rem;
  line-height: 1.65;
  animation: fade-up 0.9s 0.26s both;
}

.side-note p {
  margin: -0.33rem 0 0;
}

.side-note-line {
  display: block;
  width: 2.3rem;
  margin-top: 0.14rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6rem;
  animation: fade-up 0.8s 0.22s both;
}

.site-footer p {
  margin: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settle {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1.02);
  }
}

@media (max-width: 680px) {
  .landing-shell {
    padding: 1.1rem 1.1rem 1.15rem;
  }

  .brand-logo {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.75rem;
  }

  .header-link {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .hero-image img {
    object-position: 62% center;
  }

  .image-wash {
    background:
      linear-gradient(180deg, rgba(5, 17, 29, 0.9) 0%, rgba(5, 17, 29, 0.67) 43%, rgba(5, 17, 29, 0.27) 78%, rgba(5, 17, 29, 0.86) 100%),
      linear-gradient(90deg, rgba(5, 17, 29, 0.42), rgba(5, 17, 29, 0));
  }

  .hero-copy {
    padding: 4.6rem 0 3.1rem;
  }

  .product-label {
    max-width: 15rem;
    font-size: 0.59rem;
    line-height: 1.4;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .hero-intro {
    margin-top: 1.25rem;
    margin-bottom: 1.8rem;
  }

  .side-note {
    display: none;
  }

  .site-footer {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
