/* Douglas Gorden Jr — Résumé (dark cosmos theme) */
:root {
  --bg: #0B1426;
  --bg-alt: #0F1A30;
  --bg-card: #131F38;
  --bg-elev: #1A2A4A;
  --text: #E8F0FA;
  --text-dim: #A0B3CC;
  --text-tertiary: #6B7F99;
  --accent: #00E5FF;
  --accent-hover: #00B8D4;
  --accent-glow: rgba(0, 229, 255, 0.18);
  --warning: #FFB300;
  --success: #00E676;
  --border: #1F2D4A;
  --border-light: #2A3D5F;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px var(--accent-glow);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(0,229,255,0.3), transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(255,255,255,0.2), transparent);
  background-attachment: fixed;
  background-size: 100% 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* ===== Hero ===== */
.resume-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}
.resume-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.resume-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.resume-name {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.resume-title {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 18px;
}
.resume-contact {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
}
.resume-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quick stats */
.resume-quickstats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { font-size: 16px; margin-left: 2px; }
.stat-label { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.3px;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 24px;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--bg);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-glow);
  text-decoration: none;
}
.btn-xl { font-size: 17px; padding: 16px 32px; }

/* ===== Section ===== */
.section { padding: 72px 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.2;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
  display: inline-block;
}
.section-subtitle-inline {
  font-size: 18px;
  color: var(--text-dim);
  font-weight: 400;
  font-family: var(--font-mono);
}
.subhead {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}

/* ===== Summary ===== */
.summary-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

/* ===== Role / Project blocks ===== */
.role {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.role-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.role h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.role-company {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}
.role-dates {
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-left: auto;
}
.role-bullets {
  list-style: none;
  padding: 0;
}
.role-bullets li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.role-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-size: 14px;
}

/* ===== Project blocks ===== */
.project {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 18px;
}
.project h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.project-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--bg);
  background: var(--success);
  padding: 3px 10px;
  border-radius: 999px;
}
.project p { color: var(--text-dim); font-size: 15px; line-height: 1.6; }

/* ===== Skills grid ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.skill-category h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}
.skill-category p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}

/* ===== CTA ===== */
.section-cta {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  text-align: center;
}
.cta-subtitle {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-fineprint {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 18px;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .resume-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .resume-name { font-size: 42px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
  .section { padding: 48px 0; }
  .resume-hero { padding: 48px 0; }
}

@media (max-width: 600px) {
  .resume-name { font-size: 32px; }
  .resume-title { font-size: 15px; }
  .resume-contact { font-size: 13px; gap: 6px; }
  .resume-quickstats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 26px; }
  .skills-grid { grid-template-columns: 1fr; }
  .role-head { flex-direction: column; gap: 4px; }
  .role-dates { margin-left: 0; }
  .section-title { font-size: 24px; }
  .summary-text { font-size: 15px; }
}
