@font-face {
  font-family: "PPSupplyMono";
  src: url("./assets/fonts/PPSupplyMono-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --font-primary: "PPSupplyMono", "Courier New", monospace;
  --text-color: rgba(245, 245, 245, 0.9);
  --warm-off-black: #1a1917;
  --warm-off-white: #f8f5f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  background: #0a0a0a;
  font-family: var(--font-primary);
  width: 100vw;
  height: 700vh;
  overflow-x: hidden;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--text-color);
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.loading-active {
  overflow: hidden !important;
}

.audio-enable {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--text-color);
  text-transform: uppercase;
  gap: 2rem;
  text-align: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(56, 141, 255, 0.14), transparent 55%),
    radial-gradient(circle at 65% 70%, rgba(201, 84, 255, 0.13), transparent 52%),
    #0a0a0a;
}

.audio-enable::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(168, 224, 255, 0.045) 0,
    rgba(168, 224, 255, 0.045) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.audio-enable-panel {
  position: relative;
  min-width: min(88vw, 460px);
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px solid rgba(140, 215, 255, 0.35);
  background: linear-gradient(
    120deg,
    rgba(5, 24, 45, 0.48) 0%,
    rgba(8, 15, 34, 0.35) 52%,
    rgba(28, 8, 44, 0.38) 100%
  );
  mix-blend-mode: screen;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow:
    inset 0 0 0 1px rgba(158, 227, 255, 0.08),
    0 0 24px rgba(70, 177, 255, 0.15);
}

.audio-enable-copy {
  letter-spacing: 0.24em;
  line-height: 1.45;
  font-size: clamp(10px, 1vw, 12px);
  text-shadow: 0 0 10px rgba(96, 223, 255, 0.5);
}

.audio-copy-accent {
  color: rgba(255, 176, 244, 0.95);
  text-shadow: 0 0 12px rgba(213, 111, 255, 0.48);
}

.audio-enable-scan {
  width: 100%;
  height: 1px;
  margin: 0.95rem 0 1rem;
  background: linear-gradient(
    90deg,
    rgba(91, 230, 255, 0.15) 0%,
    rgba(104, 134, 255, 0.74) 50%,
    rgba(255, 110, 232, 0.2) 100%
  );
}

.enable-button {
  border: 1px solid rgba(145, 225, 255, 0.52);
  background: rgba(8, 20, 36, 0.62);
  color: rgba(220, 241, 255, 0.96);
  padding: 0.82rem 2.1rem;
  font-family: var(--font-primary);
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.22em;
  transition: all 0.3s ease;
  box-shadow: 0 0 14px rgba(88, 190, 255, 0.22);
}

.enable-button:hover {
  background: rgba(14, 49, 80, 0.78);
  color: rgba(255, 209, 246, 0.95);
  border-color: rgba(238, 167, 255, 0.58);
  box-shadow:
    0 0 18px rgba(102, 203, 255, 0.35),
    0 0 24px rgba(214, 117, 255, 0.25);
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0a0a;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  font-family: var(--font-primary);
  font-size: 12px;
  color: var(--text-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 45% 42%, rgba(73, 158, 255, 0.13), transparent 54%),
    radial-gradient(circle at 58% 62%, rgba(210, 89, 255, 0.13), transparent 58%),
    #0a0a0a;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(174, 228, 255, 0.04) 0,
    rgba(174, 228, 255, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.preloader-panel {
  position: relative;
  width: min(84vw, 430px);
  border: 1px solid rgba(146, 221, 255, 0.38);
  background: linear-gradient(
    120deg,
    rgba(9, 26, 46, 0.47) 0%,
    rgba(12, 14, 34, 0.38) 52%,
    rgba(34, 8, 46, 0.4) 100%
  );
  padding: 1rem 1rem 0.9rem;
  box-shadow:
    inset 0 0 0 1px rgba(170, 233, 255, 0.08),
    0 0 24px rgba(78, 183, 255, 0.17);
}

.preloader-label {
  font-size: 10px;
  letter-spacing: 0.34em;
  color: rgba(186, 236, 255, 0.9);
  text-shadow: 0 0 10px rgba(95, 203, 255, 0.45);
  margin-bottom: 0.85rem;
}

#counter {
  display: block;
  font-size: clamp(18px, 4vw, 32px);
  letter-spacing: 0.18em;
  color: rgba(222, 245, 255, 0.96);
  text-shadow:
    0 0 12px rgba(102, 206, 255, 0.62),
    0 0 22px rgba(190, 90, 255, 0.28);
}

.preloader-bar {
  margin-top: 0.85rem;
  width: 100%;
  height: 2px;
  background: rgba(105, 169, 212, 0.24);
  overflow: hidden;
}

.preloader-bar-glow {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(109, 233, 255, 0.85) 0%,
    rgba(119, 143, 255, 0.74) 60%,
    rgba(255, 120, 226, 0.72) 100%
  );
  box-shadow: 0 0 10px rgba(84, 196, 255, 0.5);
  transition: width 0.08s linear;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  z-index: 100;
  padding: 0;
  display: flex;
  align-items: center;
}

.header-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0 2rem;
  width: 100%;
  height: 100%;
}

.logo-container {
  grid-column: 1 / 3;
  position: relative;
  display: flex;
  align-items: center;
  height: 2.2rem;
}

.logo-circles {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.logo-circles::before {
  content: "";
  position: absolute;
  left: -0.15rem;
  top: 50%;
  width: 2.6rem;
  height: 2.6rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(96, 230, 255, 0.24) 0%,
    rgba(99, 133, 255, 0.12) 46%,
    transparent 72%
  );
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.circle {
  position: absolute;
  border-radius: 50%;
  transition:
    transform 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95),
    box-shadow 0.35s ease,
    filter 0.35s ease;
  width: 1.9rem;
  height: 1.9rem;
  top: 50%;
  border: 1px solid rgba(188, 235, 255, 0.52);
  z-index: 1;
  box-shadow:
    inset 0 0 0 1px rgba(205, 244, 255, 0.12),
    0 0 16px rgba(90, 196, 255, 0.24);
}

.circle-1 {
  left: 0;
  transform: translate(0, -50%);
  background:
    radial-gradient(circle at 28% 30%, rgba(218, 249, 255, 0.9) 0%, rgba(110, 217, 255, 0.62) 35%, rgba(20, 60, 109, 0.84) 100%);
}

.circle-2 {
  left: 1.08rem;
  transform: translate(0, -50%);
  background:
    radial-gradient(circle at 65% 35%, rgba(255, 232, 255, 0.9) 0%, rgba(212, 124, 255, 0.6) 38%, rgba(54, 26, 95, 0.84) 100%);
  mix-blend-mode: screen;
}

.logo-container:hover .circle-1 {
  transform: translate(-0.36rem, -50%) scale(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(226, 250, 255, 0.2),
    0 0 20px rgba(90, 210, 255, 0.38);
}

.logo-container:hover .circle-2 {
  transform: translate(0.4rem, -50%) scale(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 255, 0.2),
    0 0 20px rgba(223, 127, 255, 0.36);
}

.main-nav {
  grid-column: 4 / 8;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  position: relative;
  padding-left: 8px;
  transition: color 0.2s ease;
}

.nav-hover-square {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--text-color);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.contact-link {
  grid-column: 9 / 13;
  text-align: right;
}

.contact-link a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

.contact-link a:hover {
  opacity: 0.7;
}

.section {
  height: 200vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  display: block;
  border: none;
  outline: none;
  vertical-align: top;
  line-height: 0;
  font-size: 11px;
  float: left;
  width: 100%;
  clear: both;
}

.section-1,
.section-2,
.section-3 {
  background-image: none;
}

.section-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.geometric-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  pointer-events: none;
}

.geometric-svg {
  width: 100%;
  height: 100%;
}

.grid-line {
  stroke: rgba(245, 245, 245, 0.15);
  stroke-width: 1;
  stroke-opacity: 0.3;
  shape-rendering: crispEdges;
}

.geometric-text {
  font-family: var(--font-primary);
  font-size: 12px;
  fill: rgba(245, 245, 245, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

.section-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: flex-end;
}

.cyber-header {
  position: relative;
  width: min(84vw, 780px);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(160, 210, 255, 0.32);
  background:
    linear-gradient(
      115deg,
      rgba(5, 18, 40, 0.4) 0%,
      rgba(8, 16, 32, 0.2) 52%,
      rgba(31, 5, 44, 0.3) 100%
    );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  mix-blend-mode: screen;
  overflow: hidden;
}

.cyber-header-1 {
  border-color: rgba(110, 236, 255, 0.42);
  background:
    linear-gradient(
      115deg,
      rgba(4, 24, 44, 0.46) 0%,
      rgba(8, 25, 42, 0.26) 52%,
      rgba(8, 12, 36, 0.32) 100%
    );
}

.cyber-header-2 {
  border-color: rgba(255, 128, 245, 0.42);
  background:
    linear-gradient(
      115deg,
      rgba(33, 10, 46, 0.48) 0%,
      rgba(28, 8, 40, 0.24) 52%,
      rgba(10, 10, 34, 0.3) 100%
    );
}

.cyber-header-3 {
  border-color: rgba(255, 193, 90, 0.4);
  background:
    linear-gradient(
      115deg,
      rgba(45, 28, 8, 0.46) 0%,
      rgba(36, 16, 8, 0.24) 52%,
      rgba(14, 12, 24, 0.3) 100%
    );
}

.cyber-kicker {
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: 0.32em;
  color: rgba(182, 230, 255, 0.95);
  margin-bottom: 0.7rem;
  text-shadow: 0 0 12px rgba(82, 191, 255, 0.55);
}

.cyber-title {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  line-height: 0.88;
  margin-bottom: 0.75rem;
}

.cyber-title-line {
  font-size: clamp(2.4rem, 9vw, 7.4rem);
  letter-spacing: 0.06em;
  color: rgba(230, 244, 255, 0.95);
  text-shadow:
    0 0 8px rgba(76, 206, 255, 0.7),
    0 0 26px rgba(116, 83, 255, 0.55);
  mix-blend-mode: plus-lighter;
}

.cyber-title-line-alt {
  color: rgba(241, 212, 255, 0.9);
  mix-blend-mode: color-dodge;
}

.cyber-header-1 .cyber-title-line-alt {
  color: rgba(124, 247, 255, 0.96);
  text-shadow:
    0 0 10px rgba(124, 247, 255, 0.75),
    0 0 32px rgba(73, 185, 255, 0.62);
}

.cyber-header-2 .cyber-title-line-alt {
  color: rgba(255, 138, 234, 0.96);
  text-shadow:
    0 0 10px rgba(255, 138, 234, 0.75),
    0 0 30px rgba(191, 98, 255, 0.58);
}

.cyber-header-3 .cyber-title-line-alt {
  color: rgba(255, 208, 118, 0.98);
  text-shadow:
    0 0 10px rgba(255, 208, 118, 0.75),
    0 0 30px rgba(255, 152, 70, 0.56);
}

.cyber-meta {
  max-width: 56ch;
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: 0.18em;
  line-height: 1.35;
  color: rgba(210, 225, 245, 0.8);
  mix-blend-mode: screen;
}

.cyber-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(104, 239, 255, 0.8) 0%,
    rgba(132, 104, 255, 0.72) 45%,
    rgba(255, 100, 223, 0.76) 100%
  );
  transform-origin: left center;
}

.cyber-header-1 .cyber-kicker {
  color: rgba(168, 241, 255, 0.96);
  text-shadow: 0 0 12px rgba(74, 196, 255, 0.55);
}

.cyber-header-2 .cyber-kicker {
  color: rgba(255, 187, 244, 0.96);
  text-shadow: 0 0 12px rgba(210, 110, 255, 0.52);
}

.cyber-header-3 .cyber-kicker {
  color: rgba(255, 221, 158, 0.96);
  text-shadow: 0 0 12px rgba(255, 178, 87, 0.52);
}

.cyber-header-1 .cyber-meta {
  color: rgba(202, 233, 255, 0.82);
}

.cyber-header-2 .cyber-meta {
  color: rgba(235, 210, 255, 0.82);
}

.cyber-header-3 .cyber-meta {
  color: rgba(255, 229, 194, 0.82);
}

.cyber-header-1 .cyber-accent {
  background: linear-gradient(
    90deg,
    rgba(110, 245, 255, 0.86) 0%,
    rgba(98, 164, 255, 0.74) 50%,
    rgba(118, 95, 255, 0.72) 100%
  );
}

.cyber-header-2 .cyber-accent {
  background: linear-gradient(
    90deg,
    rgba(255, 156, 238, 0.85) 0%,
    rgba(222, 104, 255, 0.75) 50%,
    rgba(125, 123, 255, 0.74) 100%
  );
}

.cyber-header-3 .cyber-accent {
  background: linear-gradient(
    90deg,
    rgba(255, 214, 124, 0.86) 0%,
    rgba(255, 162, 86, 0.76) 50%,
    rgba(255, 112, 140, 0.72) 100%
  );
}

.cyber-header::before,
.cyber-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cyber-header::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(180, 235, 255, 0.08) 0,
    rgba(180, 235, 255, 0.08) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: soft-light;
  opacity: 0.35;
}

.cyber-header::after {
  border-right: 1px solid rgba(145, 220, 255, 0.45);
  border-top: 1px solid rgba(145, 220, 255, 0.2);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 82% 100%);
  opacity: 0.5;
}

.gradient-reveal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 500vh;
  background: linear-gradient(
    to bottom,
    #000000 0%,
    #000000 20%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    transparent 100%
  );
  z-index: 1500;
  pointer-events: none;
  transform: translateY(0);
}

.gradual-blur {
  pointer-events: none;
  isolation: isolate;
  transition: opacity 0.3s ease-out;
}

.gradual-blur-page {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
}

.gradual-blur-inner {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gradual-blur-layer {
  position: absolute;
  inset: 0;
  will-change: backdrop-filter, -webkit-backdrop-filter, opacity;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gradual-blur-layer {
    background: rgba(0, 0, 0, 0.2);
    opacity: 0.4;
  }
}

.site-footer {
  position: relative;
  width: 100%;
  height: 50vh;
  background: #0a0a0a;
  z-index: 10;
  margin-top: 0;
  clear: both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.footer-content-section,
.footer-svg-section {
  width: 100%;
}

.footer-content-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-left,
.footer-right {
  font-family: var(--font-primary);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-color);
  line-height: 1.2;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
  max-width: 40%;
}

.footer-svg {
  width: 100%;
  height: auto;
  max-width: none;
}

.footer-svg-host {
  display: flex;
  align-items: flex-end;
  min-height: 64px;
}

.footer-svg-host svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.footer-svg-host path {
  fill: transparent;
  stroke: rgba(182, 231, 255, 0.92);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 5px rgba(86, 206, 255, 0.42));
}

.footer-credits {
  font-family: var(--font-primary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7em;
  color: rgba(245, 245, 245, 0.6);
  text-align: left;
  margin-bottom: 1rem;
}

.footer-credits a {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-credits a:hover {
  opacity: 0.7;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .geometric-text.text-top-right,
  .geometric-text.text-bottom-right {
    display: none;
  }

  .cyber-header {
    width: min(92vw, 700px);
  }

  .footer-right {
    max-width: 50%;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header-container {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding: 0 1rem;
  }

  .logo-container {
    grid-column: 1;
    justify-self: start;
  }

  .main-nav {
    grid-column: 2;
    justify-self: center;
  }

  .main-nav ul {
    gap: 1rem;
    justify-content: center;
  }

  .main-nav a {
    font-size: 10px;
  }

  .contact-link {
    grid-column: 3;
    text-align: right;
  }

  .contact-link a {
    font-size: 10px;
  }

  .geometric-text.text-top-right,
  .geometric-text.text-bottom-right {
    display: none;
  }

  .geometric-text.text-bottom-left {
    font-size: 10px;
  }

  .cyber-header {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem;
  }

  .cyber-kicker {
    letter-spacing: 0.18em;
    margin-bottom: 0.55rem;
  }

  .cyber-title-line {
    font-size: clamp(1.8rem, 11vw, 3rem);
    letter-spacing: 0.03em;
  }

  .cyber-meta {
    letter-spacing: 0.09em;
    font-size: 9px;
  }

  .section {
    background-attachment: scroll;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
  }

  .footer-right {
    max-width: 100%;
    text-align: left;
  }

  .footer-credits {
    text-align: center;
    letter-spacing: 0.3em;
  }

  .site-footer {
    padding: 1rem;
  }

}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .header-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
    text-align: center;
  }

  .logo-container {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .main-nav {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .main-nav ul {
    gap: 0.8rem;
  }

  .main-nav a {
    font-size: 9px;
  }

  .contact-link {
    display: none;
  }

  .site-header {
    height: 100px;
  }

  .geometric-text.text-top-left {
    font-size: 9px;
  }

  .geometric-text.text-bottom-left {
    font-size: 8px;
  }

  .cyber-title-line {
    font-size: clamp(1.5rem, 10.5vw, 2.2rem);
  }

  .footer-left,
  .footer-right {
    font-size: 10px;
  }

  .footer-credits {
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .section-content {
    padding: 1rem;
  }

}

/* Very Small Mobile */
@media (max-width: 320px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-left,
  .footer-right {
    font-size: 9px;
  }
}
