/* Design Tokens - Black & Gold Theme */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #141414;
  --bg-elevated: #1a1a1a;
  --border: #2a2a2a;
  --border-accent: #3a3a3a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #6b6b6b;
  --gold: #d4af37;
  --gold-light: #f0d77e;
  --gold-dark: #b8941f;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --success: #22c55e;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.logo:hover {
  color: var(--gold);
}

.logo span {
  color: var(--gold);
  font-weight: 800;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--gold);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Sections */
section {
  padding: 4rem 0;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 .highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-weight: 500;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.muted {
  color: var(--text-secondary);
}

/* Hero Section */
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.meta-list span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-list strong {
  color: var(--gold);
  font-weight: 600;
}

/* Highlight Box */
.highlight-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.highlight-box h4 {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
  font-weight: 700;
}

.highlight-box ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
}

.highlight-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.highlight-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  border: 2px solid var(--border-accent);
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

/* Tags/Pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--border-accent);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 500;
}

/* Panel (sidebar) */
.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: sticky;
  top: 90px;
}

.panel-header {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.info-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-card {
  padding: 1rem;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.info-card:hover {
  border-color: var(--gold);
}

.info-card h4 {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--gold);
}

.info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.panel-footer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 1.75rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0;
  color: var(--text-primary);
}

.card-meta {
  font-size: 0.8rem;
  color: var(--gold);
  white-space: nowrap;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.card li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Experience Timeline */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--border) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.85rem;
  top: 2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 15px var(--gold);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.timeline-company {
  color: var(--gold);
  font-weight: 600;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-item ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.timeline-item li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Cards */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg-tertiary);
  text-decoration: none;
  transition: all 0.3s;
  min-width: 200px;
}

.contact-card:hover {
  border-color: var(--gold);
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.contact-icon {
  color: var(--gold);
  width: 32px;
  height: 32px;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Blog Styles */
.blog-preview {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 1.75rem;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.blog-preview:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-preview h3 {
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}

.blog-preview p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg-primary);
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 899px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    height: auto;
    padding: 1rem 1.5rem;
  }

  nav {
    gap: 1.5rem;
    font-size: 0.85rem;
  }

  section {
    padding: 3rem 0;
  }

  .panel {
    position: static;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    left: -2.1rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
