/* ============ FONTS (embedded woff2 data-URIs) ============ */
/* ============ TOKENS ============ */
html {
  -webkit-text-size-adjust: 100%;
}

/* ============ COSMIC BACKGROUND LAYERS ============ */
/* ============ LAYOUT ============ */
.section {
  padding-block: clamp(64px, 10vw, 120px);
}

/* ============ TYPE ============ */
body {
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 52ch;
  text-wrap: pretty;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 44px;
  max-width: 60ch;
}

/* ============ BUTTONS ============ */
/* ============ HERO ============ */
.hero-section {
  overflow-x: clip;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 40px;
  align-items: center;
  padding-block: clamp(48px, 9vw, 104px);
  min-height: clamp(560px, 86vh, 920px);
}

.hero--nostage {
  grid-template-columns: 1fr;
  max-width: 62ch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 5.1rem);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.hero-title .grad {
  background: linear-gradient(90deg, #eaf0fb 6%, var(--cyan) 34%, var(--violet) 62%, #eaf0fb);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gtextFlow 10s ease infinite;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-ticks {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.tick {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tick .k {
  font-family: "Chakra Petch";
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.tick .v {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-stage {
  position: relative;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 214, 240, 0.34), rgba(139, 92, 246, 0.16) 45%, transparent 70%);
  filter: blur(14px);
  animation: pulse 6s var(--ease) infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  inset: 6%;
}

.orbit::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 2px var(--cyan);
  transform: translateX(-50%);
}

.orbit.spin {
  animation: spin 24s linear infinite;
}

.orbit.o2 {
  inset: 18%;
  border-color: rgba(139, 92, 246, 0.18);
}

.orbit.o2::after {
  background: var(--violet);
  box-shadow: 0 0 12px 2px var(--violet);
}

.hero-machine {
  position: relative;
  width: 56%;
  z-index: 2;
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 42px rgba(52, 214, 240, 0.32));
  animation: float 7s ease-in-out infinite;
}

.hero-ship {
  position: absolute;
  top: 10%;
  right: -25%;
  width: 50%;
  z-index: 3;
  opacity: 0.96;
  filter: drop-shadow(0 8px 26px rgba(52, 214, 240, 0.35));
  animation: drift 12s ease-in-out infinite;
}

.hud {
  position: absolute;
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-2);
}

.hud.h-tl {
  top: 8%;
  left: -4%;
}

.hud.h-br {
  bottom: 10%;
  right: -2%;
}

.hud .c {
  color: var(--cyan);
}

/* ============ MARQUEE / TRUST STRIP ============ */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(8, 11, 20, 0.5);
}

.strip .wrap {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
  padding-block: 22px;
  justify-content: center;
}

.strip .lbl {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.strip .chip {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.strip .chip b {
  color: var(--text);
}

/* ============ CATEGORIES BENTO ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}

.cat {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(24, 31, 54, 0.6), rgba(10, 14, 26, 0.6));
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(80% 90% at 80% 90%, rgba(52, 214, 240, 0.16), transparent 60%);
}

.cat:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -28px rgba(52, 214, 240, 0.5);
}

.cat:hover::before {
  opacity: 1;
}

.cat:hover .cat-img {
  transform: scale(1.06) translateY(-4px);
}

.cat h3 {
  font-size: 1.28rem;
  margin-top: 6px;
}

.cat .arrow {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
  transition: gap 0.3s, color 0.3s;
}

.cat:hover .arrow {
  color: var(--text);
  gap: 0.9em;
}

.cat-img {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: 56%;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s var(--ease);
}

.cat.big {
  grid-column: span 2;
  grid-row: span 2;
}

.cat.big h3 {
  font-size: 2rem;
}

.cat.big .cat-img {
  width: 62%;
  right: -2%;
  bottom: -4%;
}

.cat.wide {
  grid-column: span 2;
}

.cat.wide3 {
  grid-column: span 3;
}

.cat.wide4 {
  grid-column: span 4;
}

.spec-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 6, 12, 0.6);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(4px);
}

.spec-card .sc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.spec-card .sc-head .live {
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spec-card .sc-head .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px 1px var(--cyan);
  animation: pulse 2.2s infinite;
}

.spec-card .srow {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}

.spec-card .srow .top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.spec-card .srow .top .lab {
  color: var(--muted);
}

.spec-card .srow .top .val {
  font-family: "Chakra Petch";
  font-weight: 600;
  color: var(--text);
}

.bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}

.in .bar i {
  transform: scaleX(var(--w, 0.7));
}

/* ============ BUILDS ============ */
.builds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============ STATS / MADE IN GERMANY ============ */
.germany {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 12, 22, 0.4), rgba(6, 8, 16, 0.2));
}

.germany .wrap {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 44px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat .n {
  font-family: "Chakra Petch";
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .n small {
  font-size: 0.5em;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
}

.stat .l {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.stat {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

/* ============ NEWS ============ */
.news:not(.dropdown) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ncard {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(20, 26, 46, 0.5), rgba(9, 12, 24, 0.5));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

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

.ncard .ntag {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ncard h3 {
  font-size: 1.16rem;
  line-height: 1.15;
}

.ncard .more {
  font-family: "Chakra Petch";
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  gap: 0.5em;
  transition: gap 0.3s, color 0.3s;
}

.ncard:hover .more {
  color: var(--text);
  gap: 0.85em;
}

/* ============ FOOTER ============ */
/* ============ REVEAL ============ */
.cui-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.cui-js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ ANIMATIONS ============ */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) rotate(-2deg);
  }
  50% {
    transform: translate(-14px, 12px) rotate(1deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  .hero-stage {
    max-width: 480px;
    margin-inline: auto;
    order: -1;
  }
  .germany .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .builds {
    grid-template-columns: 1fr 1fr;
  }
  .news:not(.dropdown) {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cui-js .reveal {
    opacity: 1;
    transform: none;
  }
  .bar i {
    transform: scaleX(var(--w, 0.7));
  }
}
@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
  }
  .cat.wide3, .cat.wide4 {
    grid-column: span 2;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .cat.big {
    grid-column: span 2;
    grid-row: span 1;
  }
  .cat.wide3, .cat.wide4 {
    grid-column: span 2;
  }
  .builds {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .hero-ticks {
    gap: 18px;
  }
}
@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .cat.big, .cat.wide, .cat.wide3, .cat.wide4 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .builds {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .cat, .nav-ghost {
    min-height: 44px;
  }
}
@media (max-width: 420px) {
  .hero-stage {
    overflow: hidden;
  }
}
