/* ============================================================
   One Raid Studio — portfolio category page styles
   ============================================================ */

:root {
  --bg: #0a0a0c; --text: #f4f4f6; --text-dim: #9a9aa6; --text-mute: #62626e;
  --red: #ff2a3d; --border: #23232a; --border-strong: #2e2e36;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { scroll-behavior: smooth; }
body { font-family: var(--body); min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }

/* themed scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--red) #0c0c10; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0c0c10; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff2a3d, #b51c2b); border: 2px solid #0c0c10; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

.nav {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(10,10,12,0.8); backdrop-filter: blur(12px); z-index: 10;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 22px; height: 22px; background: var(--red); box-shadow: 0 0 14px rgba(255,42,61,0.4); position: relative; flex: 0 0 auto; }
.logo-mark::after { content:""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,0.85); }
.logo-text { font-family: var(--display); font-weight: 600; letter-spacing: 0.12em; font-size: 13px; }
.logo-text em { color: var(--text-mute); font-style: normal; font-weight: 400; }
.back {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--border-strong);
  transition: color 160ms, border-color 160ms, background 160ms;
}
.back:hover { color: var(--text); border-color: #4a4a55; background: rgba(255,255,255,0.03); }

main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 80px clamp(18px, 4vw, 56px); position: relative; overflow: hidden;
}
main::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.inner { position: relative; max-width: 720px; text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; justify-content: center;
}
.eyebrow::before, .eyebrow::after { content:""; width: 8px; height: 8px; background: var(--red); box-shadow: 0 0 14px rgba(255,42,61,0.4); }
h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 8vw, 96px); line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 24px;
}
.caption { color: var(--text-dim); font-size: 18px; margin: 0 0 48px; max-width: 50ch; margin-inline: auto; }
.soon {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mute); padding: 14px 20px; border: 1px solid var(--border-strong);
}
.soon .pulse { width: 8px; height: 8px; background: var(--red); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.cubes { display: inline-flex; gap: 8px; margin: 48px 0 0; }
.cubes span { width: 14px; height: 14px; background: var(--border-strong); }
.cubes span:nth-child(1) { background: var(--red); }
.cubes span:nth-child(2) { background: rgba(255,42,61,0.5); }
.cubes span:nth-child(3) { background: rgba(255,42,61,0.2); }
footer {
  padding: 24px clamp(18px, 4vw, 56px); border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute); text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .soon .pulse { animation: none; }
  html { scroll-behavior: auto; }
}
