:root {
  --bg: #07080d;
  --panel: #10121b;
  --line: #ffffff14;
  --text: #e9ebf3;
  --muted: #9aa0b4;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.glow {
  position: fixed;
  inset: -20vh -10vw auto;
  height: 70vh;
  pointer-events: none;
  background:
    radial-gradient(40% 60% at 20% 30%, #3b5bff22, transparent 70%),
    radial-gradient(35% 55% at 75% 20%, #ff3bd422, transparent 70%),
    radial-gradient(30% 50% at 50% 60%, #22ffb011, transparent 70%);
  filter: blur(20px);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3vw, 4vh, 0) rotate(4deg); } }

header, main, footer {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

header { padding-top: clamp(40px, 9vh, 96px); padding-bottom: 36px; }

h1 {
  margin: 0;
  font: 700 clamp(36px, 6vw, 64px)/1 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.03em;
}
h1 .dot { color: #6c8cff; }


.tag { margin: 14px 0 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 52ch; }

main section + section { margin-top: 56px; }
.sec-head { margin: 0 0 20px; }
.sec-head .sec {
  margin: 0;
  font: 700 clamp(22px, 2.6vw, 28px)/1.2 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.sec-head p { margin: 4px 0 0; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 22px;
}

.card {
  --accent: hsl(var(--hue) 90% 62%);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px);
  border-color: hsl(var(--hue) 90% 62% / .55);
  box-shadow: 0 18px 50px -18px hsl(var(--hue) 90% 55% / .55);
  outline: none;
}

.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, filter .6s ease;
  filter: saturate(.9) brightness(.92);
}
.card:hover .shot img { transform: scale(1.04); filter: none; }
.shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, var(--panel));
  pointer-events: none;
}

.body { padding: 4px 20px 20px; display: flex; flex-direction: column; flex: 1; }

h2 {
  margin: 0 0 6px;
  font: 700 21px/1.2 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.card:hover h2 { color: var(--accent); }

.body p { margin: 0 0 16px; color: var(--muted); flex: 1; }


.orig {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: hsl(var(--hue) 70% 78%);
  background: hsl(var(--hue) 70% 50% / .12);
  border: 1px solid hsl(var(--hue) 70% 60% / .25);
  padding: 3px 10px;
  border-radius: 999px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  padding-top: 48px;
  padding-bottom: 40px;
  color: #6b7186;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  .card, .shot img { transition: none; }
}

footer a { color: var(--muted); }
footer a:hover, footer a:focus-visible { color: var(--text); }
.host { color: hsl(var(--hue) 70% 78%); font-size: 13px; font-weight: 500; }
