/* Global styles for valorworks.dev */

:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-soft: #111827;
  --border-soft: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --danger: #f97373;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
}

/* Layout */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding: 2.5rem 0 3.5rem;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, #020617, #020617f2);
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
}

.site-logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
  border-color: var(--accent-soft);
}

/* Hero */

.hero {
  padding-top: 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.1;
  margin: 0 0 0.6rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.hero-body {
  font-size: 0.98rem;
  color: #d1d5db;
  margin-bottom: 1.6rem;
}

.hero-body + .hero-body-secondary {
  margin-top: -0.5rem;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1.7rem;
}

.hero-meta strong {
  color: #e5e7eb;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.btn {
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #0b1120;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.4);
}

.btn-outline {
  border-color: rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.8);
  color: var(--muted);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-availability {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.hero-pill {
  font-size: 0.78rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

/* Hero right side */

.hero-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, #111827, #020617);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.3rem 1.6rem;
}

.hero-panel-tag {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.8rem;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-panel-card {
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.95);
}

.hero-panel-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-panel-card-body {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-panel-footer {
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(55, 65, 81, 0.8);
}

/* Sections */

.section {
  margin-top: 3rem;
}

.section-header {
  margin-bottom: 1.4rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-title {
  margin: 0.2rem 0 0.25rem;
  font-size: 1.35rem;
}

.section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.22rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.9);
}

/* Card lists */

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.9);
  padding: 1rem 1.1rem;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
}

.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.card-body {
  font-size: 0.86rem;
  color: #d1d5db;
  margin-top: 0.6rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.card-tag {
  font-size: 0.75rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--muted);
}

.card-list {
  padding-left: 1.15rem;
  margin-top: 0.5rem;
  font-size: 0.86rem;
}

.card-list li {
  margin-bottom: 0.3rem;
}

/* Page headers (Experience / Projects / Education) */

.page-header {
  padding-top: 2.2rem;
  padding-bottom: 1.2rem;
}

.page-title {
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.page-intro {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1rem 0 1.5rem;
  background: radial-gradient(circle at bottom, #020617, #020617f2);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* 404 */

.not-found {
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.not-found-code {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--danger);
  margin-bottom: 0.4rem;
}

.not-found-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.not-found-text {
  max-width: 520px;
  margin: 0 auto 1.8rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Responsive tweaks */

@media (min-width: 768px) {
  main {
    padding-top: 3rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
    align-items: center;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 639px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    height: auto;
    padding: 0.6rem 0 0.75rem;
  }

  .nav {
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 2.2rem;
  }
}
