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

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

:root {
  color-scheme: light;
  --ink: #121212;
  --paper: #f4f4f0;
  --accent: #ff4d1f;
  --accent-2: #30499e;
}

html,
body {
  height: 100%;
  font-family: "Space Mono", "IBM Plex Mono", "Courier New", monospace;
  background: var(--paper);
  color: var(--ink);
}

body {
  overflow: hidden;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.code-wall {
  position: fixed;
  inset: 0;
  width: 100vw;
  padding: 2vh 2vw;
  z-index: 0;
  pointer-events: none;
  color: #d6c2a1;
  opacity: 0.52;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(216, 199, 166, 0.22) 0%,
    rgba(216, 199, 166, 0.1) 65%,
    rgba(216, 199, 166, 0) 100%
  );
}

#code-stream {
  font-family: "Space Mono", "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.76rem;
  line-height: 1.1;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 0;
  will-change: transform;
}

#code-stream .code-caret {
  display: inline-block;
  margin-left: 0.12rem;
  color: #7b4f2a;
  font-weight: 700;
  opacity: 1;
}

.ui {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 4vh 6vw;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6vh;
  pointer-events: none;
}

.logo-slot {
  width: min(280px, 48vw);
  height: 90px;
  display: flex;
  align-items: center;
}

.logo-slot img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

.headline {
  align-self: center;
  max-width: 520px;
}

.brand {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  border: 3px solid var(--ink);
  padding: 0.6rem 1rem;
  display: inline-block;
  background: #ffffff;
  opacity: 0.8;
}

.tagline {
  margin-top: 1.2rem;
  font-size: 1rem;
  max-width: 380px;
  border-left: 4px solid #ff8a1a;
  padding-left: 1rem;
}

.headline h1 {
  box-shadow: 10px 10px 0 var(--accent-2);
}

.footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .ui {
    gap: 4vh;
    padding: 4vh 5vw;
  }

  .footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}
