@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800;900&display=swap');

:root {
  --accent-vermilion: #e63900;
  --accent-navy: #1d3557;
  --accent-indigo: #818cf8;
  --page-accent: var(--accent-vermilion);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Times New Roman", serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
.font-mono-code { font-family: "JetBrains Mono", monospace; }

.top-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 100%;
  height: 2px;
  background: var(--page-accent);
}

.site-nav {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 64px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(18px);
}
.site-nav-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  height: 32px;
  width: 140px;
  object-fit: contain;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font: italic 900 11px "JetBrains Mono", monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}
.nav-links a:hover {
  color: var(--page-accent);
  transform: scale(1.08);
}

.hero {
  position: relative;
  min-height: 86vh;
  padding: 104px 16px 42px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #050505;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video,
.hero-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.hero-natural-visual {
  width: min(100%, 1228px);
  min-height: auto;
  aspect-ratio: 1228 / 2200;
  margin: 64px auto 0;
  padding: 0;
  align-items: start;
}
.hero-natural-visual .hero-media img {
  object-fit: contain;
}
.hero-natural-visual .hero-copy {
  padding: clamp(28px, 5vw, 72px) 20px 0;
}
.cube-hero-slider {
  overflow: hidden;
}
.cube-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: cubeHeroFade 8s ease-in-out infinite;
}
.cube-hero-slide:nth-child(1) {
  animation-delay: 0s;
}
.cube-hero-slide:nth-child(2) {
  animation-delay: 4s;
}
@keyframes cubeHeroFade {
  0%, 35% {
    opacity: 1;
  }
  65%, 85% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.cube-page-hero .eyebrow,
.cube-page-hero h1,
.cube-page-hero .hero-catch,
.cube-page-hero .lead,
.cube-page-hero .hero-intro {
  animation: cubeHeroTextColor 8s ease-in-out infinite;
}
.cube-page-hero .eyebrow::before {
  animation: cubeHeroAccentColor 8s ease-in-out infinite;
}
@keyframes cubeHeroTextColor {
  0%, 35%, 100% {
    color: #dbeafe;
    text-shadow: 0 0 18px rgba(96, 165, 250, .42);
  }
  65%, 85% {
    color: #ffe4e6;
    text-shadow: 0 0 18px rgba(248, 113, 113, .46);
  }
}
@keyframes cubeHeroAccentColor {
  0%, 35%, 100% {
    background: #60a5fa;
    box-shadow: 0 0 14px rgba(96, 165, 250, .85);
  }
  65%, 85% {
    background: #f87171;
    box-shadow: 0 0 14px rgba(248, 113, 113, .85);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cube-hero-slide {
    animation: none;
  }
  .cube-hero-slide:first-child {
    opacity: 1;
  }
  .cube-page-hero .eyebrow,
  .cube-page-hero h1,
  .cube-page-hero .hero-catch,
  .cube-page-hero .lead,
  .cube-page-hero .hero-intro,
  .cube-page-hero .eyebrow::before {
    animation: none;
  }
}
.cube-page-hero .hero-media::after,
.cube-page-hero .hero-frame {
  display: none;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.18) 55%, rgba(0,0,0,.52)),
    linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.24) 42%, rgba(0,0,0,.7));
}
.hero-frame {
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 28px rgba(255,255,255,.12);
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 1120px);
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font: 900 10px "JetBrains Mono", monospace;
  letter-spacing: .4em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--page-accent);
  box-shadow: 0 0 14px var(--page-accent);
}
h1 {
  margin: 0;
  font: italic 900 clamp(48px, 9vw, 118px) "Times New Roman", serif;
  line-height: .88;
  letter-spacing: 0;
}
.lead {
  max-width: 880px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.9;
  font-weight: 700;
  color: rgba(255,255,255,.84);
}
.hero-catch {
  max-width: 900px;
  margin: 24px 0 0;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.35;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 16px 42px rgba(0,0,0,.55);
}
.hero-intro {
  max-width: 900px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,.32);
  background: var(--page-accent);
  color: #fff;
  text-decoration: none;
  font: 900 11px "JetBrains Mono", monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); background: #fff; color: #000; }
.btn.secondary { background: rgba(0,0,0,.32); backdrop-filter: blur(10px); }

.section-band {
  width: 100%;
  padding: 0 16px;
  background: var(--accent-navy);
}
.section-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-band span {
  color: var(--page-accent);
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
}
.section-band h2 {
  margin: 0;
  color: white;
  font: italic 900 16px "JetBrains Mono", monospace;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 16px 74px;
}
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, .98fr);
  gap: 34px;
  align-items: start;
}
.panel {
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.1);
}
.panel-body { padding: 24px; }
.copy {
  color: #3f3f46;
  font-size: 16px;
  line-height: 2;
  font-weight: 650;
}
.copy p { margin: 0 0 16px; }
.copy p:last-child { margin-bottom: 0; }
.content-heading {
  margin: 0 0 14px;
  color: #111;
  font: italic 900 28px "Times New Roman", serif;
  line-height: 1.2;
}
.story-copy {
  font-size: 18px;
}
.plain-list {
  margin: 0 0 16px;
  padding-left: 1.2em;
}
.plain-list li {
  margin: 0 0 6px;
}
.compact-list {
  margin-top: 16px;
}
.mt-panel {
  margin-top: 18px;
}
.section-lead {
  max-width: 980px;
  margin: 0 0 22px;
  color: #3f3f46;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 750;
}
.profile-table {
  width: 100%;
  border-collapse: collapse;
  color: #111;
  font-size: 14px;
  line-height: 1.6;
}
.profile-table th,
.profile-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-align: left;
  vertical-align: top;
}
.profile-table th {
  width: 34%;
  color: var(--page-accent);
  font: 900 10px "JetBrains Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.profile-table td {
  font-weight: 800;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.spec {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fafafa;
}
.spec dt {
  margin-bottom: 8px;
  color: var(--page-accent);
  font: 900 10px "JetBrains Mono", monospace;
  letter-spacing: .18em;
}
.spec dd {
  margin: 0;
  font-weight: 900;
  line-height: 1.6;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,.08);
  background:
    linear-gradient(135deg, rgba(129,140,248,.08), rgba(255,255,255,0)),
    #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.1);
}
.feature-card h3 {
  margin: 0 0 14px;
  color: #111;
  font: italic 900 24px "Times New Roman", serif;
  line-height: 1.15;
}
.feature-card p {
  margin: 0;
  color: #3f3f46;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 650;
}
.cycle-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cycle;
}
.cycle-list li {
  min-height: 118px;
  padding: 18px 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fafafa;
  font-weight: 900;
  line-height: 1.45;
  counter-increment: cycle;
}
.cycle-list li::before {
  content: counter(cycle, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--page-accent);
  font: 900 12px "JetBrains Mono", monospace;
  letter-spacing: .18em;
}
.section-note {
  margin: 18px 0 0;
  color: #3f3f46;
  font-weight: 900;
  line-height: 1.8;
}
.video-frame,
.visual-frame {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(0,0,0,.1);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.video-frame { aspect-ratio: 16/9; }
.visual-frame { aspect-ratio: 1228 / 2200; }
.video-frame iframe,
.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.1);
  background: #fafafa;
  color: #111;
  font: 900 11px "JetBrains Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #eee;
  border: 1px solid rgba(0,0,0,.08);
}
.screenshot-section {
  max-width: 1228px;
}
.screenshot-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.screenshot-gallery a {
  display: block;
  background: #050505;
  border: 1px solid rgba(0,0,0,.12);
  overflow: hidden;
  text-decoration: none;
}
.screenshot-gallery a:first-child {
  grid-column: 1 / -1;
}
.screenshot-gallery img {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #050505;
}
.screenshot-viewer {
  display: grid;
  gap: 16px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(3,7,18,.96), rgba(17,24,39,.94)),
    #050505;
  border: 1px solid rgba(129,140,248,.28);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.screenshot-main {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #050505;
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.screenshot-main::before,
.screenshot-main::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.screenshot-main::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(96,165,250,.18), transparent 18%, transparent 82%, rgba(248,113,113,.16)),
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 18%, transparent 82%, rgba(0,0,0,.18));
}
.screenshot-main::after {
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #f87171);
  box-shadow: 0 0 14px rgba(129,140,248,.75);
}
.screenshot-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
}
.screenshot-filmstrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,.04) 24px 26px),
    linear-gradient(90deg, #080808, #151515 50%, #080808);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 24px rgba(0,0,0,.42);
}
.screenshot-thumb {
  position: relative;
  flex: 0 0 156px;
  aspect-ratio: 16 / 10;
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: #050505;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, opacity .25s ease;
  opacity: .72;
}
.screenshot-thumb::before,
.screenshot-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.52) 0 6px, transparent 6px 14px);
  opacity: .45;
}
.screenshot-thumb::before {
  top: 0;
}
.screenshot-thumb::after {
  bottom: 0;
}
.screenshot-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}
.screenshot-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.screenshot-thumb.is-active {
  border-color: var(--page-accent);
  box-shadow: 0 0 0 2px rgba(129,140,248,.22), 0 0 18px rgba(129,140,248,.36);
  opacity: 1;
}
.media-placeholder {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0,0,0,.82), rgba(29,53,87,.82)),
    #000;
  color: #fff;
}
.media-placeholder h3 {
  color: #fff;
}
.media-placeholder p {
  color: rgba(255,255,255,.68);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: .22em;
}
.news-tags {
  margin-bottom: 0;
}
.wishlist-section {
  padding-top: 0;
}
.wishlist-panel {
  padding: 42px 24px;
  border: 1px solid rgba(0,0,0,.08);
  background:
    linear-gradient(135deg, rgba(129,140,248,.18), rgba(255,255,255,0)),
    #050505;
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.wishlist-panel h2 {
  margin: 0;
  font: italic 900 clamp(34px, 5vw, 72px) "Times New Roman", serif;
  line-height: 1;
}
.wishlist-panel p {
  margin: 12px 0 24px;
  color: rgba(255,255,255,.72);
  font: 900 11px "JetBrains Mono", monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer {
  border-top: 1px solid var(--page-accent);
  background: #000;
  color: #fff;
  padding: 40px 16px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer .logo {
  filter: invert(1) brightness(2);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font: 900 10px "JetBrains Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links a {
  color: #a1a1aa;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-links a:hover { color: var(--page-accent); }

@media (min-width: 640px) {
  .site-nav { height: 80px; }
  .logo { height: 56px; width: 280px; }
  .hero { padding-top: 128px; }
  .hero-natural-visual {
    margin-top: 80px;
    padding: 0;
  }
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .site-nav-inner, .content, .section-band { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .feature-grid,
  .feature-grid.two-column {
    grid-template-columns: 1fr;
  }
  .cycle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 560px) {
  .hero { min-height: 76vh; }
  .hero-natural-visual { min-height: auto; }
  .hero-natural-visual .hero-copy {
    padding: 24px 18px 0;
  }
  .hero-frame { inset: 10px; }
  .hero-catch { font-size: 24px; }
  .hero-intro {
    font-size: 13px;
    line-height: 1.7;
  }
  h1 {
    font-size: 42px;
  }
  .lead br { display: none; }
  .spec-grid, .gallery { grid-template-columns: 1fr; }
  .cycle-list { grid-template-columns: 1fr; }
  .section-band h2 { font-size: 13px; letter-spacing: .18em; }
}
