:root {
  color-scheme: dark;
  --black: #000;
  --ink: #f7f3ef;
  --muted: rgba(247, 243, 239, 0.72);
  --purple: #b927ff;
  --violet: #5634ff;
  --cyan: #00d9ff;
  --acid: #bcff29;
  --orange: #ff7a22;
  --pink: #ff22c7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(185, 39, 255, 0.18), transparent 25rem),
    radial-gradient(circle at 4% 88%, rgba(0, 217, 255, 0.12), transparent 22rem),
    #000;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 72%, rgba(255, 34, 199, 0.1), transparent 22rem),
    radial-gradient(circle at 92% 94%, rgba(188, 255, 41, 0.09), transparent 20rem);
}

a {
  color: inherit;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: min(100% - 4rem, 1180px);
  padding-top: clamp(1.4rem, 3vw, 2.3rem);
  transform: translateX(-50%);
}

.brand {
  display: block;
  width: clamp(11rem, 21vw, 17.5rem);
  text-decoration: none;
  transform: rotate(-2deg);
  filter:
    drop-shadow(0 0 0.9rem rgba(185, 39, 255, 0.42))
    drop-shadow(0 0 0.45rem rgba(0, 217, 255, 0.22));
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2.8rem);
  align-items: center;
  padding-top: 0.15rem;
}

.instagram-link {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.8rem;
  background:
    linear-gradient(#060008, #060008) padding-box,
    linear-gradient(135deg, var(--pink), var(--purple), var(--cyan), var(--acid)) border-box;
  box-shadow:
    0 0 1.2rem rgba(255, 34, 199, 0.5),
    0 0 2.8rem rgba(0, 217, 255, 0.22),
    inset 0 0 1.1rem rgba(185, 39, 255, 0.22);
}

.instagram-link::before,
.instagram-link::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.instagram-link::before {
  inset: 0.68rem;
  border: 0.16rem solid #fff;
  box-shadow:
    0 0 0.35rem var(--pink),
    inset 0 0 0.35rem var(--cyan);
}

.instagram-link::after {
  top: 0.62rem;
  right: 0.62rem;
  width: 0.32rem;
  height: 0.32rem;
  background: #fff;
  box-shadow: 0 0 0.5rem var(--acid);
}

.hero {
  position: relative;
  min-height: min(100svh, 58rem);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, #000 82%);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 4rem, 1180px);
  margin: 0 auto;
  padding-top: clamp(22rem, 40vh, 30rem);
}

.hero-copy p,
.hero-copy h1 {
  margin: 0;
  color: transparent;
  font-weight: 500;
  letter-spacing: 0.38em;
  line-height: 1.62;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--purple), #c7a6ff 44%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 1.6rem rgba(185, 39, 255, 0.22);
}

.hero-copy p {
  font-size: clamp(1.1rem, 3vw, 1.85rem);
}

.hero-copy h1 {
  font-size: clamp(1.05rem, 2.6vw, 1.55rem);
}

.hero-copy .hero-description {
  max-width: 34rem;
  margin: 1.05rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(247, 243, 239, 0.1);
  border-radius: 0.18rem;
  color: rgba(247, 243, 239, 0.8);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0.8rem 2rem rgba(0, 0, 0, 0.38),
    inset 0 0 1.8rem rgba(255, 255, 255, 0.025);
  font-size: clamp(0.9rem, 1.65vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.55;
  text-transform: none;
  text-shadow: 0 0 1.2rem rgba(0, 0, 0, 0.86);
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 2.2rem;
}

.book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(247, 243, 239, 0.74);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.58);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.55);
}

.book-button:hover {
  border-color: var(--ink);
  background: rgba(0, 0, 0, 0.76);
}

.inventory-button {
  border-color: rgba(0, 217, 255, 0.56);
}

.inventory-hero-intro {
  max-width: 48rem;
  margin: 1.1rem 0 1.4rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.7vw, 1.08rem);
  line-height: 1.7;
}

.inventory-hero-intro p {
  margin: 0;
}

.down-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: -2rem auto 1.3rem;
  color: var(--purple);
  font-size: 2.2rem;
  text-decoration: none;
  text-shadow: 0 0 1rem rgba(185, 39, 255, 0.6);
}

.systems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(100% - 3.2rem, 1180px);
  margin: 0 auto;
}

.systems article {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(185, 39, 255, 0.64);
  border-radius: 0.55rem;
  background: #06000b;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
}

.systems article:nth-child(even) {
  border-color: rgba(0, 217, 255, 0.45);
}

.systems img {
  position: absolute;
  inset: 0.45rem;
  width: calc(100% - 0.9rem);
  height: calc(100% - 0.9rem);
  object-fit: contain;
}

.site-footer {
  display: block;
  width: min(100%, 1024px);
  margin: 0 auto;
  padding: 0;
}

.footer-strip {
  display: block;
  width: 100%;
  text-decoration: none;
}

.footer-strip img {
  width: 100%;
  height: auto;
}

.handle {
  margin-top: -0.05rem;
  color: var(--purple);
  font-size: clamp(0.82rem, 2vw, 1rem);
  letter-spacing: 0.42em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 1rem rgba(185, 39, 255, 0.35);
}

.inventory-page {
  background:
    radial-gradient(circle at 78% 6%, rgba(185, 39, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 8% 88%, rgba(0, 217, 255, 0.12), transparent 24rem),
    #000;
}

.inventory-header {
  position: relative;
  left: auto;
  margin: 0 auto;
  transform: none;
}

.inventory-main {
  width: min(100% - 4rem, 1180px);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0 4rem;
}

.inventory-hero {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.inventory-hero p,
.inventory-hero h1,
.inventory-category-copy h2 {
  margin: 0;
  text-transform: uppercase;
}

.inventory-hero p {
  color: var(--purple);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.34em;
}

.inventory-hero h1 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.inventory-category {
  padding: clamp(1.4rem, 3.2vw, 2.6rem) 0;
  border-top: 1px solid rgba(247, 243, 239, 0.18);
}

.inventory-category-copy {
  display: grid;
  grid-template-columns: minmax(10rem, 18rem) minmax(0, 36rem);
  gap: 0.9rem;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.inventory-category-copy h2 {
  color: transparent;
  font-size: clamp(1.1rem, 2.8vw, 1.7rem);
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--acid));
  -webkit-background-clip: text;
  background-clip: text;
}

.inventory-category-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.inventory-card {
  border: 1px solid rgba(247, 243, 239, 0.18);
  border-radius: 0.5rem;
  background: rgba(7, 3, 10, 0.76);
  overflow: hidden;
}

.inventory-card-image {
  position: relative;
  display: grid;
  place-items: center;
  height: 7rem;
  padding: 0.5rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 65%),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.inventory-card-image img {
  position: absolute;
  inset: 0.5rem;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.inventory-card-body {
  padding: 0.75rem;
}

.inventory-card-heading {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: flex-start;
}

.inventory-card-heading h3 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.inventory-card-heading h3 a {
  text-decoration: none;
}

.inventory-card-heading h3 a:hover {
  color: var(--cyan);
}

.inventory-card-heading span {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 217, 255, 0.42);
  padding: 0.22rem 0.36rem;
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-card-body p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.inventory-card-plain {
  background: rgba(7, 3, 10, 0.48);
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

@media (max-width: 880px) {
  .site-header,
  .hero-copy,
  .systems,
  .site-footer,
  .inventory-main {
    width: min(100% - 1.4rem, 1180px);
  }

  .site-header {
    position: absolute;
  }

  .inventory-header {
    position: relative;
  }

  .brand {
    width: clamp(9.8rem, 42vw, 14rem);
  }

  .hero {
    min-height: 42rem;
  }

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

  .hero-copy {
    padding-top: 20rem;
  }

  .systems {
    grid-template-columns: repeat(3, minmax(16rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.6rem;
  }

  .inventory-category-copy,
  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .inventory-grid {
    gap: 0.5rem;
  }

  .inventory-card {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    min-height: 7.4rem;
  }

  .inventory-card-plain {
    display: block;
    min-height: 0;
  }

  .inventory-card-image {
    height: 100%;
    min-height: 7.4rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: center;
    width: min(100% - 1rem, 1180px);
    padding-top: 0.9rem;
  }

  .nav {
    gap: 0.65rem;
  }

  .instagram-link {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.72rem;
  }

  .instagram-link::before {
    inset: 0.58rem;
  }

  .instagram-link::after {
    top: 0.54rem;
    right: 0.54rem;
  }

  .hero {
    min-height: 39rem;
  }

  .hero-copy {
    padding-top: 18rem;
  }

  .hero-copy p,
  .hero-copy h1 {
    letter-spacing: 0.22em;
  }

  .book-button {
    padding: 0.82rem 1.1rem;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
  }

  .inventory-main {
    padding-top: 3rem;
  }

  .inventory-card-heading {
    display: block;
  }

  .inventory-card-heading span {
    display: inline-flex;
    margin-top: 0.65rem;
  }

  .handle {
    letter-spacing: 0.22em;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 8.7rem;
  }
}
