/* Project Hurricane :: Denzel's stylesheet
   This file belongs to the hurricane project. Edit it freely.
   The root site (/assets/css/site.css) is separate. Do not depend on it. */

:root {
  --h-bg: #070b14;
  --h-panel: #0e1524;
  --h-line: rgba(140, 190, 255, 0.16);
  --h-text: #eaf1fb;
  --h-muted: #8497b0;
  --h-storm: #4aa8ff;
  --h-eye: #ffd166;
  --h-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --h-sans: system-ui, -apple-system, "Segoe UI", Inter, Arial, sans-serif;
}

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

body {
  background: var(--h-bg);
  color: var(--h-text);
  font-family: var(--h-sans);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(680px 500px at 78% -8%, rgba(74, 168, 255, 0.18), transparent 70%),
    radial-gradient(520px 420px at 10% 100%, rgba(255, 209, 102, 0.08), transparent 70%);
  pointer-events: none;
}

.wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 22px 80px;
}

/* ----------------------------------------------------------------- head -- */

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--h-line);
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--h-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--h-muted);
}

.swirl {
  width: 24px;
  height: 24px;
  animation: spin 9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.home-link {
  font-family: var(--h-mono);
  font-size: 12px;
  color: var(--h-muted);
  text-decoration: none;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  padding: 5px 13px;
}

.home-link:hover { color: var(--h-storm); border-color: rgba(74, 168, 255, 0.45); }

/* ----------------------------------------------------------------- hero -- */

.hero { padding: 66px 0 44px; }

.eyebrow {
  font-family: var(--h-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--h-storm);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(36px, 6.5vw, 60px);
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero h1 .name {
  background: linear-gradient(100deg, var(--h-storm), var(--h-eye));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { color: var(--h-muted); font-size: 17px; max-width: 60ch; margin: 0; }

/* ---------------------------------------------------------------- panels -- */

.label {
  font-family: var(--h-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--h-muted);
  margin: 0 0 16px;
  padding-top: 34px;
  border-top: 1px solid var(--h-line);
}

.panel {
  background: var(--h-panel);
  border: 1px solid var(--h-line);
  border-radius: 13px;
  padding: 22px;
  margin-bottom: 16px;
}

.panel h3 { margin: 0 0 10px; font-size: 16px; }
.panel p { margin: 0 0 10px; color: var(--h-muted); font-size: 14.5px; }
.panel p:last-child { margin-bottom: 0; }

.tree {
  font-family: var(--h-mono);
  font-size: 13px;
  line-height: 1.85;
  background: #060a12;
  border: 1px solid var(--h-line);
  border-radius: 11px;
  padding: 18px 20px;
  overflow-x: auto;
  color: var(--h-muted);
  white-space: pre;
}

.tree b { color: var(--h-storm); font-weight: 600; }
.tree i { color: var(--h-eye); font-style: normal; }

code {
  font-family: var(--h-mono);
  font-size: 0.9em;
  background: rgba(74, 168, 255, 0.12);
  color: var(--h-storm);
  padding: 2px 6px;
  border-radius: 4px;
}

ol, ul { color: var(--h-muted); font-size: 14.5px; padding-left: 20px; }
li { margin-bottom: 7px; }

.rule {
  border-left: 3px solid var(--h-eye);
  background: rgba(255, 209, 102, 0.06);
  padding: 14px 18px;
  border-radius: 0 9px 9px 0;
  font-size: 14.5px;
  color: var(--h-muted);
  margin-bottom: 14px;
}

.rule b { color: var(--h-text); }

.foot {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--h-line);
  font-family: var(--h-mono);
  font-size: 12px;
  color: var(--h-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
