:root {
  /* Severance-inspired Light mode colors (default) */
  /* Lumon aesthetic: sterile white, corporate blue, green as subtle accent only */
  --color-bg: #ffffff;
  --color-bg-soft: #f8f9fb;
  --color-background: #ffffff;
  --color-background-alt: #f5f7fa;
  --color-text: #1a1f2e;
  --color-text-light: #4a5568;
  --color-text-muted: #718096;
  --color-primary: #2c5282; /* Lumon corporate blue - sterile, professional */
  --color-primary-hover: #1a365d;
  --color-primary-light: rgba(44, 82, 130, 0.08);
  --color-accent: #48bb78; /* Subtle green accent - used sparingly */
  --color-accent-light: rgba(72, 187, 120, 0.1);
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;
  --shadow: 0 2px 12px rgba(26, 32, 44, 0.06);
  --shadow-sm: 0 1px 4px rgba(26, 32, 44, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 32, 44, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 32, 44, 0.1);
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography scale - clean, geometric */
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-wide: 0.05em;
}

/* Severance-inspired Dark mode colors */
[data-theme="dark"] {
  --color-bg: #0a0f1a;
  --color-bg-soft: #111827;
  --color-background: #0a0f1a;
  --color-background-alt: #1a202c;
  --color-text: #f0f4f8;
  --color-text-light: #a0aec0;
  --color-text-muted: #718096;
  --color-primary: #63b3ed; /* Lighter Lumon blue for dark mode */
  --color-primary-hover: #90cdf4;
  --color-primary-light: rgba(99, 179, 237, 0.12);
  --color-accent: #68d391; /* Subtle green accent */
  --color-accent-light: rgba(104, 211, 145, 0.1);
  --color-border: #2d3748;
  --color-border-light: #1a202c;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-background);
  /* Severance: Clean, minimal background with subtle geometric hint */
  background-image: 
    linear-gradient(180deg, var(--color-background) 0%, var(--color-background-alt) 100%);
  background-attachment: fixed;
  letter-spacing: var(--letter-spacing-tight);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* Typography - Severance: Clean, corporate, procedural */
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.25rem;
}

.highlight {
  color: var(--color-primary);
  font-weight: 500;
}

/* Header - Severance: Minimal, sterile corporate bar */
header {
  height: 4.5rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 20;
  background-color: var(--color-background);
  backdrop-filter: blur(8px);
}

header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  position: relative;
  justify-content: space-between;
}

.logo {
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

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

/* Navigation - Severance: Clean, spaced, understated */
.main-nav {
  margin-left: 2rem;
  margin-right: 0;
  flex-shrink: 1;
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
}

.main-nav a {
  position: relative;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-text-light);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--color-text);
}

/* Active link styles - Severance: Subtle underline */
.main-nav a[aria-current="page"],
.main-nav a.active {
  color: var(--color-text);
  font-weight: 500;
}

/* Active underline indicator instead of dot */
.main-nav a[aria-current="page"]::after,
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(1);
  transition: transform var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* Header Actions - Severance: Minimal, geometric */
.header-actions {
  position: static;
  transform: none;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Base Action Link (Shared Styles) */
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: var(--border-radius);
  color: var(--color-text-light);
  text-decoration: none;
  transition: all var(--transition);
  background: transparent;
  border: 1px solid transparent;
}

.action-link svg {
  display: block;
  flex-shrink: 0;
}

/* Hover State - Severance: Subtle fill, no transform */
.action-link:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: transparent;
}

/* Variant: Icon Only (Square) */
.action-link.icon-only {
  width: 36px;
}

/* Variant: Button (Resume) */
.action-link.btn {
  padding: 0 1rem;
  background: var(--color-background);
  border-color: var(--color-border);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 500;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}

.action-link.btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

/* Variant: Labeled Icon (LinkedIn) */
.action-link.labeled {
  padding: 0 0.8rem;
  gap: 0.4rem;
}

.action-link.labeled span {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  /* Hide text labels on mobile to save space */
  .action-link.labeled span {
    display: none;
  }
  /* Turn labeled links into squares on mobile */
  .action-link.labeled {
    width: 38px;
    padding: 0;
    justify-content: center;
  }
}

/* Mobile: hide labels to save space */
@media (max-width: 768px) {
  .social-icon--labeled {
    width: 38px;
    padding: 0;
    justify-content: center;
  }
  .social-icon--labeled .icon-label {
    display: none;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  margin-left: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  
  /* On mobile, hide the text label to save space */
  .icon-link .icon-label { display: none; }
  .header-actions a.icon-link--labeled { width: 38px; padding: 0; justify-content: center; }
  
  /* Mobile Menu Dropdown Styles */
  .mobile-menu-open .main-nav {
    display: flex;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .mobile-menu-open .main-nav ul {
    flex-direction: column;
    width: 100%;
  }
}

/* Hero Section - Severance: Heavy whitespace, calm, procedural */
.hero {
  padding: 6rem 0 8rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 4rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text p {
  max-width: 540px;
  color: var(--color-text-light);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  border-radius: 50%;
  border: 1px solid var(--color-border);
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-slow);
}

.hero-image img:hover {
  box-shadow: var(--shadow-lg);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  color: var(--color-text-light);
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--color-primary);
}

/* Hero badges - Severance: Refined, minimal badges */
.hero-badges {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 56ch;
}

.hero-badges-title {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.badge-row img {
  height: 26px;
  object-fit: contain;
  border-radius: var(--border-radius);
  background: transparent;
  display: inline-block;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.badge-row img:hover {
  opacity: 1;
}

/* make badges slightly smaller on narrow screens */
@media (max-width: 520px) {
  .badge-row img { height: 22px; }
  .hero-badges { margin-bottom: 0.8rem; }
}

/* ensure buttons sit with proper spacing */
.button-group {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Button Styles - Severance: Clean, geometric, subtle interactions */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.button.primary {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.button.primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow);
}

.button.secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.button.secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.button.small {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Skills Section */
.skills {
  background-color: var(--color-background-alt);
  padding: 5rem 0;
}

/* What I'm Doing Now Section - Severance: Clean cards, soft shadows */
.now {
  padding: 5rem 0;
  background-color: var(--color-background-alt);
}

.now-content {
  max-width: 960px;
  margin: 0 auto;
}

.now-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.now-card:hover {
  box-shadow: var(--shadow);
}

.now-card.featured {
  margin-bottom: 2rem;
  border: 1px solid var(--color-primary);
  background: var(--color-background);
  position: relative;
}

/* Severance: Subtle corner accent for featured card */
.now-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.now-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--color-primary);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.now-icon svg {
  color: white;
  stroke-width: 1.5;
}

.now-icon-small {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-primary);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.now-icon-small svg {
  color: white;
  stroke-width: 1.5;
}

.now-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
  font-weight: 500;
}

.now-details h4 {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.now-details p {
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.now-period {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 1rem !important;
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.now-details-small h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-weight: 500;
}

.now-details-small p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .now-card {
    flex-direction: column;
  }
  
  .now-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }
  
  .now-details h3 {
    font-size: 1.3rem;
  }
}

/* Goals Section - Severance: Symmetrical, clean cards */
.goals {
  padding: 5rem 0;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.goal-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.goal-card:hover {
  box-shadow: var(--shadow);
}

.goal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goal-icon svg {
  color: white;
  stroke-width: 1.5;
}

.goal-card h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--color-text);
  font-weight: 500;
}

.goal-card p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-light);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.skill-item {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* Projects Section - Severance: Grid symmetry, subtle hover */
.projects {
  padding: 5rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
  background-color: var(--color-background);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  box-shadow: var(--shadow);
}

.project-image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--color-background-alt);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.02);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.project-content p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.view-all {
  text-align: center;
}

/* About Me Section */
.about-me {
  /* No padding or background added as requested */
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 3fr 2fr; /* Text takes more space than the card */
  }
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.about-highlights-card {
  background: var(--color-background-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.about-highlights-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

/* New Video Styles */
.about-video-wrapper {
  grid-column: 1 / -1; /* Spans full width of the grid */
  margin-top: 1rem;
  width: 100%;
  max-width: 800px; /* Limits width so it doesn't get too huge */
  justify-self: center; /* Centers the video block */
}

.about-video-wrapper video {
  width: 100%;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: block;
  background: #000; /* Prevents white flash before load */
}

.video-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.highlight-list {
display: flex;
flex-direction: column;
gap: 1.25rem;
}

/* Career Section (Timeline) - Severance: Clean, linear, procedural */
.career {
  padding: 5rem 0;
  position: relative;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* The vertical line - Severance: Subtle, thin */
.timeline::after {
  content: '';
  position: absolute;
  width: 1px;
  background-color: var(--color-border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: 0;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-content {
  padding: 1.75rem;
  background-color: var(--color-background);
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow);
}

.timeline-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: block;
  font-family: var(--font-mono);
  letter-spacing: var(--letter-spacing-wide);
}

.timeline-content h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 500;
}

.timeline-content h4 {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
}

.timeline-content li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.timeline-content li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
}

/* The dots - Severance: Smaller, cleaner */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  right: -6px;
  background-color: var(--color-background);
  border: 2px solid var(--color-primary);
  top: 24px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right::after {
  left: -6px;
}

.resume-section {
  text-align: center;
  margin-top: 2rem;
}

/* Mobile Timeline */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item.right {
    left: 0%;
  }
  
  .timeline-item.left::after, .timeline-item.right::after {
    left: 21px;
  }
  
  .timeline-item.left, .timeline-item.right {
    left: 0;
  }
}

/* Animations - Severance: Slow, calm, deliberate reveals */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .reveal.active {
    transform: none;
  }
}

/* Footer - Severance: Minimal, procedural */
footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: auto;
  background: var(--color-background);
  position: relative;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

footer nav ul {
  display: flex;
  gap: 1.5rem;
}

footer nav a {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

footer nav a:hover {
  color: var(--color-primary);
}

/* Media Queries */
@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 400px;
  }

  footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 500px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-open header nav {
    display: flex;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    z-index: 10;
  }

  .mobile-menu-open header nav ul {
    flex-direction: column;
    width: 100%;
    padding: 1rem;
  }

  .mobile-menu-open header nav a {
    display: block;
    padding: 0.75rem 0;
  }

  /* On small screens, keep icons inline with header flow (avoid overlap) */
  @media (max-width: 520px) {
    .header-social {
      position: static;
      margin-left: 0.5rem;
      order: 3; /* appear after nav and logo if container is flex */
    }

    header .container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .header-social a {
      width: 32px;
      height: 32px;
    }
  }
}

.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.resume-btn .resume-icon {
  stroke: currentColor;
}

.resume-btn .resume-text {
  font-weight: 600;
  letter-spacing: .25px;
  font-size: 0.75rem;
}

/* Dark Mode Toggle Styles - Severance: Subtle, clean */
.dark-mode-toggle {
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
}

.dark-mode-toggle .sun-icon,
.dark-mode-toggle .moon-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition), transform var(--transition);
}

/* Show sun in light mode, moon in dark mode */
.dark-mode-toggle .sun-icon {
  opacity: 1;
}

.dark-mode-toggle .moon-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

[data-theme="dark"] .dark-mode-toggle .sun-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Button Row */
.button-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Reflections Page Styles */
.reflections-intro {
  padding: 4rem 0 2rem;
}

.reflection-intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.reflection-intro-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.reflection-intro-content p:last-child {
  margin-bottom: 0;
}

.project-reflections {
  padding: 3rem 0;
}

.reflections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.reflection-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.reflection-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.reflection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.reflection-header h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin: 0;
}

.project-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.project-type.school {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
}

.project-type.personal {
  background-color: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.project-type.work {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.reflection-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.future-goals {
  padding: 3rem 0 4rem;
}

.future-goals-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.future-goals-content p {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.goals-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.goals-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.goals-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .reflections-grid {
    grid-template-columns: 1fr;
  }
  
  .reflection-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEVERANCE EASTER EGGS & SUBTLE INTERACTIONS
   "Please enjoy all selections equally."
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hidden message in the footer - only visible to curious inspectors */
footer::after {
  content: "The work is mysterious and important.";
  position: absolute;
  opacity: 0;
  pointer-events: none;
  font-size: 0;
}

/* Logo hover reveals subtle message - fixed width to prevent layout shift */
.logo::after {
  content: "refinement";
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 0.6rem;
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity 0.8s ease;
  white-space: nowrap;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  pointer-events: none;
}

.logo:hover::after {
  opacity: 0.4;
}

/* Subtle pulse animation for featured card accent */
@keyframes severance-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.now-card.featured::before {
  animation: severance-pulse 4s ease-in-out infinite;
}

/* Disable animation for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .now-card.featured::before {
    animation: none;
  }
}

/* Konami code easter egg trigger class (applied via JS) */
.severed-mode .logo::after {
  content: "Macrodata Refinement";
  opacity: 0.6 !important;
}

/* Severed mode - switch to green accents when activated (type "mdr") */
.severed-mode {
  --color-primary: #2f855a; /* Lumon green takes over */
  --color-primary-hover: #276749;
  --color-primary-light: rgba(47, 133, 90, 0.1);
}

.severed-mode .now-card.featured::before {
  background: var(--color-primary);
}

.severed-mode .highlight {
  color: var(--color-primary);
}

/* Subtle focus states - procedural feel */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Selection color - Lumon blue */
::selection {
  background: var(--color-primary);
  color: white;
}

/* Lumon-style divider - can be added to sections */
.lumon-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-border) 20%, 
    var(--color-border) 80%, 
    transparent 100%
  );
  margin: 3rem 0;
}

/* Print styles - clean corporate */
@media print {
  .header-actions,
  .mobile-menu-toggle,
  .button-group {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero {
    padding: 2rem 0;
  }
}


