/* ════════════════════════════════════════════════
   JADEN'S GEAR — Equipment Reference Site
   Same design language as portfolio, slightly warmer
════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@1&display=swap');

/* ── Tokens ── */
:root {
  --bg:     #0a0a0a;
  --s1:     #111111;
  --s2:     #171717;
  --s3:     #1d1d1d;
  --text:   #f0ede8;
  --sub:    #555;
  --faint:  #1e1e1e;
  --accent: #2a8fa3;
  --warm:   #e8a84c;
  --adim:   rgba(42,143,163,.08);
  --line:   rgba(255,255,255,.07);
  --nav-h:  56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Bricolage Grotesque', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Noise */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px;
  opacity: .022;
  pointer-events: none;
  z-index: 1000;
}

#dot-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.glow {
  position: fixed;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(42,143,163,.05) 0%, transparent 65%);
  border-radius: 50%;
  top: -150px; right: -100px;
  pointer-events: none; z-index: 0;
}

@keyframes up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 44px;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 900;
  animation: up .4s ease both;
}

.nav-logo {
  font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-badge {
  font-size: 9px; font-weight: 700;
  background: var(--accent); color: #000;
  padding: 2px 7px; border-radius: 4px;
  letter-spacing: .06em; text-transform: uppercase;
}

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--sub); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover  { color: var(--text); }
.nav-links a.active { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-back {
  font-size: 11px; font-weight: 500;
  letter-spacing: .06em; color: var(--sub);
  text-decoration: none; transition: color .2s;
  display: flex; align-items: center; gap: 5px;
}
.nav-back:hover { color: var(--text); }
.nav-time {
  font-size: 11px; color: var(--sub);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}

/* ── STATUS BADGE ── */
.status-dot {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  position: relative; flex-shrink: 0;
}
.status-dot.available { background: #3ecf8e; }
.status-dot.available::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: 50%; background: #3ecf8e;
  animation: pulse-ring 1.6s ease-out infinite;
}
.status-dot.out { background: var(--warm); }
.status-dot.unavailable { background: #e85c4a; }

/* ── SHARED CARD STYLES ── */
.gear-tag {
  font-size: 10px; font-weight: 700;
  color: var(--accent); letter-spacing: .1em;
  text-transform: uppercase;
}
.gear-pill {
  font-size: 10px; font-weight: 500;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(42,143,163,.3);
  color: var(--accent); background: rgba(42,143,163,.06);
  letter-spacing: .04em;
}
.gear-pill.warm {
  border-color: rgba(232,168,76,.3);
  color: var(--warm); background: rgba(232,168,76,.06);
}

/* ── SPEC TABLE ── */
.spec-table { display: flex; flex-direction: column; gap: 1px; }
.spec-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
  font-size: 10px; font-weight: 700;
  color: var(--sub); letter-spacing: .1em;
  text-transform: uppercase; min-width: 110px; flex-shrink: 0;
}
.spec-val {
  font-size: 13px; color: var(--text); line-height: 1.5;
}

/* ── RULE CARD ── */
.rule-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  background: var(--s1); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 8px;
}
.rule-icon {
  font-size: 17px; flex-shrink: 0; width: 28px;
  text-align: center; margin-top: 1px;
}
.rule-body { flex: 1; }
.rule-title {
  font-size: 13px; font-weight: 600;
  letter-spacing: -.01em; margin-bottom: 2px;
}
.rule-sub { font-size: 12px; color: var(--sub); line-height: 1.55; }

/* ── STEP LIST ── */
.step-list { display: flex; flex-direction: column; gap: 10px; }
.step-item { display: flex; gap: 13px; }
.step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(42,143,163,.12); border: 1px solid rgba(42,143,163,.3);
  color: var(--accent); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-text { font-size: 13px; color: var(--sub); line-height: 1.65; }
.step-text strong { color: var(--text); font-weight: 600; }

/* ── CTA BUTTON ── */
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px;
  text-decoration: none; letter-spacing: .02em;
  transition: background .2s, transform .15s;
}
.cta-btn.primary {
  background: var(--accent); color: #000;
}
.cta-btn.primary:hover { background: #2fa0b6; transform: translateY(-1px); }
.cta-btn.secondary {
  background: var(--s2); color: var(--text);
  border: 1px solid var(--line);
}
.cta-btn.secondary:hover { background: var(--s3); transform: translateY(-1px); }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 10px; font-weight: 700;
  color: var(--sub); letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 12px;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--s1); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px;
  margin-bottom: 8px;
}
.info-box-label { font-size: 10px; font-weight: 700; color: var(--sub); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.info-box-value { font-size: 14px; font-weight: 600; }
.info-box-sub   { font-size: 11px; color: var(--sub); margin-top: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
}
