:root{
  --bg: #000000;
  --ink: #ffffff;
  --ink-dim: #888888;
  --line: rgba(255,255,255,0.16);
}

*,*::before,*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

img{ max-width: 100%; display: block; }

.topbar-logo,
.brand-logo-wrap img{
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- Background layers ---------- */

#bg-grid{
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 60% 45% at 100% 0%, rgba(255,255,255,0.05), transparent 65%),
              var(--bg);
}

.noise-overlay{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanline{
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.35;
}

.page{
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Topbar ---------- */

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.5rem, 6vw, 5rem) 0;
  opacity: 0;
  animation: rise 0.8s cubic-bezier(.16,.84,.44,1) forwards;
}

@keyframes rise{
  to{ opacity: 1; transform: translateY(0); }
}

.topbar-logo{
  height: 22px;
  width: auto;
}

/* ---------- Hero ---------- */

.hero{
  min-height: 55vh;
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 2.5rem;
  padding: 2rem clamp(1.5rem, 6vw, 5rem) 3.5rem;
}

@media (max-width: 820px){
  .hero{
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }
}

.headline{
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s cubic-bezier(.16,.84,.44,1) 0.15s forwards;
}

.headline span{ display: block; }

.headline-solid{
  color: var(--ink);
  animation: glowpulse 3.4s ease-in-out infinite;
}

@keyframes glowpulse{
  0%,100%{ text-shadow: 0 0 16px rgba(255,255,255,0.2); }
  50%{ text-shadow: 0 0 34px rgba(255,255,255,0.5); }
}

.headline-outline{
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-meta{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 0 0.5rem 1.5rem;
  border-left: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s cubic-bezier(.16,.84,.44,1) 0.4s forwards;
}

.hero-copy{
  color: var(--ink-dim);
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  line-height: 1.7;
  margin: 0;
}

.hero-copy strong{
  color: var(--ink);
  font-weight: 600;
}

.hero-tag{
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.26em;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.6rem 1.1rem;
  border-radius: 0;
  display: inline-block;
  align-self: flex-start;
}

/* ---------- Brands ---------- */

.brands{
  border-top: 1px solid var(--line);
}

.brands-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px){
  .brands-row{ grid-template-columns: repeat(2, 1fr); }
  .brand-col:nth-child(3){ border-left: none; }
}

@media (max-width: 820px){
  .brands-row{ grid-template-columns: 1fr; }
}

.brand-col{
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  transition: background-color 0.35s ease;
}

.brand-col:first-child{ border-left: none; }

@media (max-width: 820px){
  .brand-col{ border-left: none; border-top: 1px solid var(--line); }
  .brand-col:first-child{ border-top: none; }
}

.brand-col:hover{
  background: rgba(255,255,255,0.03);
}

.brand-num{
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
}

.brand-logo-wrap{
  min-height: 40px;
  display: flex;
  align-items: center;
}

.brand-logo-wrap a{
  display: inline-flex;
  align-items: center;
}

.brand-logo-wrap img{
  max-height: 30px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.08));
  transition: filter 0.4s ease;
}

/* Each source logo has different internal padding/aspect ratio baked
   into the PNG, so per-logo sizing is needed to make them read as the
   same visual weight side by side. */
.brand-logo-wrap img.logo-auto{
  max-height: 40px;
}

.brand-logo-wrap img.logo-streetz{
  max-height: 22px;
  max-width: 90%;
}

.brand-col:hover .brand-logo-wrap img{
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.45));
}

.brand-desc{
  color: var(--ink-dim);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.brand-name-placeholder{
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}

.brand-name-placeholder:hover{
  color: var(--ink-dim);
}

/* ---------- Footer ---------- */

.site-footer{
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 1.5rem clamp(1.5rem, 6vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-dim);
}

.footer-logo{
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--ink);
  text-decoration: none;
}

.footer-logo:hover{
  color: var(--ink-dim);
}

.footer-copy{
  font-size: 0.78rem;
}

@media (max-width: 520px){
  .site-footer{ justify-content: center; text-align: center; }
}
