:root {
  color-scheme: dark;
  --ink: #05060a;
  --ink-soft: #0a0c13;
  --ink-raised: #0e101a;
  --text: #f2eff8;
  --text-muted: #aaa6ba;
  --text-faint: #6f6b80;
  --violet: #c78aff;
  --violet-deep: #8257d0;
  --cyan: #5be4ec;
  --line: rgba(190, 133, 255, 0.36);
  --line-soft: rgba(171, 146, 221, 0.19);
  --line-cyan: rgba(91, 228, 236, 0.56);
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 3.6vw, 4.5rem);
  --content-width: 1320px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), rgba(112, 66, 174, 0.1) 50%, transparent calc(50% + 0.5px)),
    radial-gradient(circle at 78% 12%, rgba(87, 32, 160, 0.11), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.page-frame {
  width: min(100%, 1520px);
  min-height: 100vh;
  margin: 0 auto;
  border-inline: 1px solid var(--line-soft);
  overflow: clip;
}

.site-header,
.hero,
.story-band,
.gallery-section,
.release-strip,
.site-footer {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: var(--page-gutter);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #dab7ff;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-mark {
  position: relative;
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  border-inline: 1px solid currentColor;
  opacity: 0.76;
}

.wordmark-mark::before,
.wordmark-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.34rem;
  height: 0.34rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.wordmark-mark::after {
  width: 0.08rem;
  height: 0.08rem;
  background: currentColor;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-navigation > a:not(.header-buy-link) {
  text-decoration: none;
}

.primary-navigation > a:not(.header-buy-link):hover {
  color: var(--cyan);
}

.header-buy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--violet);
  color: #e7ccff;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.header-buy-link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.35;
}

.header-buy-link:hover {
  background: rgba(157, 95, 244, 0.17);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 0;
  color: var(--text);
  background: transparent;
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(2.25rem, 6vw, 6rem);
  padding: clamp(4rem, 8vw, 7.75rem) var(--page-gutter) clamp(4.5rem, 8vw, 7.5rem);
}

.hero-copy {
  max-width: 33rem;
}

.signal-readout,
.story-readout {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 0.7rem;
  margin-bottom: 2.2rem;
}

.signal-readout span,
.story-readout span {
  display: block;
  width: 0.22rem;
  height: 0.22rem;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(91, 228, 236, 0.5);
}

.signal-readout i,
.story-readout i {
  display: block;
  width: 1.7rem;
  height: 1px;
  background: rgba(91, 228, 236, 0.56);
}

h1,
h2,
p,
figure {
  margin: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
}

h1 {
  display: grid;
  font-size: clamp(4rem, 8vw, 7.75rem);
  letter-spacing: 0.06em;
  line-height: 0.76;
  text-shadow: 0 0 22px rgba(193, 131, 255, 0.2);
}

h1 span + span {
  margin-left: 0.18em;
}

.edition,
.section-number,
.price-label {
  color: #d5adff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
}

.edition {
  margin-top: 1.6rem;
}

.hero-summary {
  max-width: 28rem;
  margin-top: 2.2rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.76;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-width: min(100%, 17.5rem);
  margin-top: 2.35rem;
  padding: 1rem 1.1rem 1rem 1.25rem;
  border: 1px solid var(--violet);
  color: #f1ddff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-link svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.45;
}

.primary-link:hover {
  background: rgba(157, 95, 244, 0.18);
  color: #fff;
  transform: translateX(3px);
}

.release-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  align-items: baseline;
  margin-top: 1.35rem;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.release-line strong {
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.hero-art {
  position: relative;
  border: 1px solid var(--line);
  background: #030408;
}

.hero-art::before {
  position: absolute;
  z-index: 1;
  top: -0.35rem;
  right: -0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
  content: "";
  pointer-events: none;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1408 / 1117;
  object-fit: cover;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 1.5fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.6rem, 5vw, 4.5rem) var(--page-gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 14, 33, 0.3);
}

.signal-emblem {
  position: relative;
  width: min(15vw, 11rem);
  min-width: 8.5rem;
  aspect-ratio: 1;
}

.signal-axis,
.signal-ring,
.signal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.signal-axis-horizontal {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 138, 255, 0.5), transparent);
}

.signal-axis-vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(199, 138, 255, 0.5), transparent);
}

.signal-ring {
  border: 1px solid rgba(199, 138, 255, 0.54);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(145, 65, 245, 0.15);
}

.signal-ring-outer {
  width: 70%;
  height: 70%;
}

.signal-ring-inner {
  width: 37%;
  height: 37%;
  border-color: var(--violet);
}

.signal-core {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: #eacaff;
  box-shadow: 0 0 0 5px rgba(154, 75, 237, 0.26), 0 0 22px 6px rgba(154, 75, 237, 0.72);
}

.story-copy {
  max-width: 48rem;
}

.story-copy h2,
.section-heading h2 {
  margin-top: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.story-copy p:not(.section-number) {
  max-width: 44rem;
  margin-top: 1.35rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.story-readout {
  flex-direction: column;
  align-items: flex-end;
  height: auto;
  margin: 0;
}

.story-readout span {
  width: 1.65rem;
  height: 1px;
}

.story-readout i {
  width: 2.3rem;
}

.gallery-section {
  padding: clamp(4.5rem, 9vw, 8rem) var(--page-gutter) clamp(4rem, 8vw, 7rem);
}

.section-heading {
  max-width: 40rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.65rem);
  margin-top: clamp(2.2rem, 5vw, 4rem);
}

.gallery-item {
  border: 1px solid var(--line-soft);
  background: var(--ink-soft);
  transition: border-color 180ms ease, transform 180ms ease;
}

.gallery-item:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-item figcaption {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  min-height: 4.2rem;
  padding: 1.1rem 1.2rem;
  border-top: 1px solid var(--line-soft);
}

.gallery-item figcaption span {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.gallery-item figcaption strong {
  color: #d9d4e5;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.release-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.25fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 12, 28, 0.6);
}

.release-detail {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  padding: clamp(1.7rem, 3.6vw, 3rem) clamp(1.3rem, 3.3vw, 3rem);
}

.release-detail + .release-detail {
  border-left: 1px solid var(--line-soft);
}

.detail-icon {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--cyan);
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.2;
}

.release-detail h2 {
  color: #ded8eb;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.release-detail p:not(.price):not(.price-label) {
  margin-top: 0.32rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.release-detail .install-note {
  max-width: 23rem;
  margin-top: 0.72rem;
  color: var(--text-faint);
  font-size: 0.72rem;
  line-height: 1.55;
}

.price-detail {
  display: block;
  text-align: center;
}

.price-label {
  color: var(--text-faint);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
}

.price {
  margin-top: 0.4rem;
  color: #d8afff;
  font-family: var(--display);
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.price-detail a {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--cyan);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration-color: rgba(91, 228, 236, 0.46);
  text-underline-offset: 0.3rem;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  align-items: center;
  gap: 1.25rem;
  padding: 2.1rem var(--page-gutter);
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}

.footer-wordmark {
  color: #b89ae2;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
}

.site-footer p {
  text-align: center;
}

.site-footer > a:last-child {
  color: var(--text-muted);
  text-align: right;
  text-underline-offset: 0.3rem;
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    gap: clamp(2rem, 4vw, 3rem);
  }

  .story-band {
    grid-template-columns: minmax(7rem, 0.5fr) minmax(0, 1.5fr);
  }

  .story-readout {
    display: none;
  }

  .release-strip {
    grid-template-columns: 1fr 0.8fr;
  }

  .warning-detail {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-soft);
    border-left: 0 !important;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: relative;
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-block;
    padding: 0.75rem 0;
    cursor: pointer;
  }

  .primary-navigation {
    position: absolute;
    z-index: 3;
    top: calc(100% + 1px);
    right: var(--page-gutter);
    left: var(--page-gutter);
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    border: 1px solid var(--line);
    background: #090a11;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38);
  }

  .primary-navigation.is-open {
    display: grid;
  }

  .primary-navigation > a:not(.header-buy-link) {
    padding: 0.95rem 0;
  }

  .header-buy-link {
    justify-content: space-between;
    margin-top: 0.35rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

  .hero-copy {
    max-width: 36rem;
  }

  h1 {
    font-size: clamp(4.1rem, 19vw, 6rem);
  }

  .hero-art {
    order: 2;
  }

  .story-band {
    grid-template-columns: 1fr;
  }

  .signal-emblem {
    width: 8.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 38rem;
  }

  .release-strip {
    grid-template-columns: 1fr;
  }

  .release-detail + .release-detail,
  .warning-detail {
    border-top: 1px solid var(--line-soft);
    border-left: 0 !important;
  }

  .price-detail {
    text-align: left;
  }

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

  .site-footer p,
  .site-footer > a:last-child {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .wordmark {
    gap: 0.35rem;
    font-size: 0.9rem;
    letter-spacing: 0.22em;
  }

  .wordmark-mark {
    width: 0.95rem;
    height: 0.95rem;
  }

  .primary-link {
    width: 100%;
  }

  .release-line {
    display: grid;
  }
}

@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;
  }
}
