/* ==========================================================================
   Portfolio CSS - Optimized & Clean
   ========================================================================== */

/* CSS Custom Properties */
:root {
  /* Colors */
  --primary: #8B4513;
  --primary-dark: #654321;
  --primary-light: #A0522D;
  --secondary: #8B7D6B;
  --accent: #D2B48C;
  --accent-light: #DEB887;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  
  /* Theme Colors */
  --background: #faf9f7;
  --surface: #f5f3f0;
  --text-primary: #3d2914;
  --text-secondary: #5d4e37;
  --text-muted: #8B7D6B;
  --border: #e8e3dd;
  --shadow: rgba(139, 69, 19, 0.15);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  
  /* Responsive Typography */
  --heading-1: clamp(2.5rem, 5vw, 4rem);
  --heading-2: clamp(2rem, 4vw, 3rem);
  --heading-3: clamp(1.5rem, 3vw, 2rem);
  --body: clamp(1rem, 2vw, 1.125rem);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Layout */
  --container-max: 1200px;
  --nav-height: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
  --z-cursor: 10000;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-primary);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: var(--heading-1);
}

h2 {
  font-size: var(--heading-2);
}

h3 {
  font-size: var(--heading-3);
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Custom Cursor
   ========================================================================== */

body {
  cursor: none !important;
}

/* Hide system cursor on all interactive elements */
a, button, input, textarea, select, [role="button"], [onclick], .project-card, .skill-item {
  cursor: none !important;
}

/* Show system cursor on mobile devices */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  
  .cursor {
    display: none;
  }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor__circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  transition: width var(--transition-fast), height var(--transition-fast);
}

/* Hover state - larger circle */
.cursor--hover .cursor__circle {
  width: 32px;
  height: 32px;
}

/* Click state */
.cursor--click .cursor__circle {
  transform: scale(0.8);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-base);
}

.btn--primary::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -120px;
  width: 0;
  height: 0;
  background: #393632;
  border-radius: 50%;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

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

.btn--primary:hover::after {
  width: 500px;
  height: 500px;
}

/* ==========================================================================
   Drawer Scroll Effect Styles
   ========================================================================== */

/* Creates scrollable space */
.page-container { 
  height: 600vh; 
  position: relative; 
}

/* Fixed viewport wrapper that holds absolute sections */
.sections-wrapper {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100vh;
  pointer-events: none; /* let page scrolling pass through; each section itself allows interactions */
}

/* Each full-screen layer */
.drawer-section {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto; /* allow clicks inside */
  transition: transform 320ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  /* subtle themed shadow */
  box-shadow: var(--shadow-lg) inset 0 0 0 rgba(0,0,0,0);
}

/* Background layer for first section */
.drawer-section--has-bg { 
  position: relative; 
}

.drawer-section--has-bg .drawer-bg {
  position: absolute; 
  inset: 0; 
  overflow: hidden; 
  z-index: 0;
}

.drawer-hero-canvas {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  display: block; 
  pointer-events: none;
}

/* Reuse site's grid animation via hero__lines, ensure it sits above canvas */
.drawer-section--has-bg .hero__lines { 
  pointer-events: none; 
  z-index: 1; 
  opacity: 0.6;
  position: absolute;
  top: -50px;
  left: -50px;
  width: calc(100% + 100px);
  height: calc(100% + 100px);
  background-image: 
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveLines 20s linear infinite;
}

@keyframes moveLines {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Section alignments */
.drawer-section#hero {
  align-items: flex-start;    /* vertical alignment: top */
  justify-content: flex-start; /* horizontal alignment: left */
}

.drawer-section#about {
  align-items: flex-start;    
  justify-content: flex-start; 
}

.drawer-section#projects {
  align-items: flex-start;    
  justify-content: flex-start; 
}

.drawer-section#experience {
  align-items: flex-start;    
  justify-content: flex-start; 
}

/* Stacking order (later sections above earlier ones) and themed backgrounds */
.drawer-section:nth-child(1){ 
  z-index: 1; 
  background: var(--background); 
}

.drawer-section:nth-child(2){ 
  z-index: 2; 
  background: var(--surface); 
  border-top-left-radius: var(--radius-3xl); 
  border-top-right-radius: var(--radius-3xl); 
  overflow: hidden; 
}

.drawer-section:nth-child(3){ 
  z-index: 3; 
  background: var(--background); 
  border-top-left-radius: var(--radius-3xl); 
  border-top-right-radius: var(--radius-3xl); 
  overflow: hidden; 
}

.drawer-section:nth-child(4){ 
  z-index: 4; 
  background: var(--accent-light); 
  border-top-left-radius: var(--radius-3xl); 
  border-top-right-radius: var(--radius-3xl); 
  overflow: hidden; 
}

.drawer-section:nth-child(5){ 
  z-index: 5; 
  background: var(--background); 
  border-top-left-radius: var(--radius-3xl); 
  border-top-right-radius: var(--radius-3xl); 
  overflow: hidden; 
}

/* Content area — themed text colors; this is the only thing that fades */
.section-content {
  text-align: center; 
  color: var(--text-primary); 
  padding: 0 6vw;
  position: relative; 
  z-index: 2;
  transition: opacity 260ms linear;
  will-change: opacity;
  width: 100%;
  max-width: 100%;
}

.section-content h1 { 
  font-size: clamp(2.2rem, 7vw, 4.4rem); 
  margin-bottom: 0.75rem; 
  line-height: 1.05; 
}

.section-content p { 
  font-size: clamp(1rem, 2vw, 1.3rem); 
  opacity: 0.95; 
  margin-bottom: 1.25rem; 
  font-weight: 400; 
  color: var(--text-secondary); 
}

.scroll-indicator { 
  position: fixed; 
  bottom: 2rem; 
  left: 50%; 
  transform: translateX(-50%); 
  z-index: 300; 
  color: var(--text-secondary); 
  text-align: center; 
  transition: opacity 220ms linear; 
}

.scroll-indicator svg { 
  width: 28px; 
  height: 28px; 
  fill: var(--text-secondary); 
  opacity: 0.75; 
}

.scroll-text { 
  font-size: 0.9rem; 
  opacity: 0.75; 
  margin-top: 0.45rem; 
}

.nav-dots { 
  position: fixed; 
  right: 2rem; 
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 300; 
  display: flex; 
  flex-direction: column; 
  gap: 0.9rem; 
}

.nav-dot { 
  width: 12px; 
  height: 12px; 
  border-radius: 50%; 
  background: var(--surface); 
  border: 2px solid var(--border); 
  cursor: pointer; 
  transition: all 180ms ease; 
}

.nav-dot.active { 
  background: var(--primary); 
  border-color: var(--primary); 
  transform: scale(1.2); 
}
    
/* Top navigation bar for drawer layout */
.hero-nav {
  position: absolute;
  top: 0;
  left: 6vw;
  right: 6vw;
  height: var(--nav-height);
  z-index: 10;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 88vw;
  margin-left: 0;
}

.hero-nav .nav-text {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-nav .nav-links {
  display: flex;
  gap: 2rem;
}

.hero-nav .nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.hero-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.hero-nav .nav-link:hover {
  color: var(--primary);
}

.hero-nav .nav-link:hover::after {
  width: 100%;
}

/* Giant headline and content for first section */
.hero-header {
  margin-top: 24vh;
  max-width: 88vw;
  text-align: left;
}

.hero-headline {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 0.9;
  width: 75vw; /* cover ~3/4 of screen width */
  font-size: clamp(4rem, 12vw, 18rem);
  white-space: nowrap;
  margin: 0;
  padding: 0;
  text-indent: -0.05em; /* Optical adjustment for large fonts */
}

.hero-header p {
  margin-top: var(--space-sm);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 60vw;
}

/* Productivity Tools Section */
.hero-tools {
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.tools-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tools-icons {
  display: flex;
  gap: var(--space-sm);
}

.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

.tool-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.tool-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.tool-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--transition-base);
}

.tool-link:hover .tool-icon {
  transform: scale(1.1);
}

/* About section specific styles */
.about-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-top: 12vh;
  width: 100%;
  max-width: 88vw;
}

.about-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 0.9;
  margin-bottom: var(--space-lg);
}

.about-text {
  flex: 0 0 70%;
  text-align: left;
}

.about-description {
  margin-bottom: var(--space-xl);
}

.about-description p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.about-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  min-width: 120px;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.stat-label {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
}

.about-image {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 100%;
  height: auto;
  max-height: 60vh;
  border-radius: var(--radius-lg);
  filter: drop-shadow(var(--shadow-lg));
  object-fit: contain;
}

/* Projects section specific styles */
.projects-header {
  text-align: left;
  max-width: 88vw;
  margin-top: 12vh;
}

.projects-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 0.9;
  margin-bottom: var(--space-lg);
}

.projects-filters {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.drawer-filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.drawer-filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.drawer-filter-btn--active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.drawer-filter-btn--active:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.projects-container {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--space-md) 0 calc(var(--space-md) + 10px) 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  width: 100%;
  margin-bottom: var(--space-lg);
  
  /* Hide native scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.projects-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari/WebKit */
}

/* Custom scrollbar for projects */
.projects-scrollbar {
  position: relative;
  height: 12px;
  background: var(--border);
  border-radius: 0;
  margin: var(--space-sm) 0 var(--space-lg) 0;
  max-width: 600px;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.projects-scrollbar--visible {
  opacity: 1;
}

.projects-scrollbar-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 0;
}

.projects-scrollbar-thumb {
  position: absolute;
  height: 100%;
  background: var(--text-primary);
  border-radius: 0;
  cursor: grab;
  transition: all var(--transition-base);
  box-shadow: 0 0 8px rgba(61, 41, 20, 0.3);
}

.projects-scrollbar-thumb:hover {
  background: var(--text-primary);
  transform: scaleY(1.5);
}

.projects-scrollbar-thumb.dragging {
  cursor: grabbing;
  background: var(--text-primary);
  border: 1px solid var(--text-primary);
  transform: scaleY(1.8);
}

.projects-container.grabbing {
  cursor: grabbing;
}

.drawer-project-card {
  flex: 0 0 280px;
  min-width: 280px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  min-height: 240px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.drawer-project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.drawer-project-image {
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

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

.drawer-project-info {
  padding: var(--space-md);
}

.drawer-project-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.drawer-project-card .drawer-project-info .drawer-project-description {
  font-size: 1.0rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.drawer-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.drawer-project-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Experience/Skills section specific styles */
.experience-header {
  text-align: left;
  max-width: 88vw;
  margin-top: 12vh;
}

.experience-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 0.9;
  margin-bottom: var(--space-xl);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.skills-column h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.skills-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-column li {
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Drawer layout responsive styles */
@media (max-width: 768px) {
  .nav-dots { right: 1rem; }
  .section-content { padding: 1.25rem; }
  .hero-header { left: 5vw; top: 10vh; }
  .hero-headline { width: 86vw; font-size: clamp(3rem, 16vw, 10rem); }
  
  .about-container { margin-left: 5vw; margin-top: 10vh; max-width: 90vw; }
  .about-image { position: static; transform: none; max-width: 100%; margin-top: var(--space-lg); }
  .about-title { font-size: clamp(2.5rem, 12vw, 5rem); }
  .about-stats { flex-direction: column; gap: var(--space-md); }
  .stat-card { min-width: auto; }
  
  .hero-tools { flex-direction: column; align-items: flex-start; gap: var(--space-sm); margin-top: var(--space-md); }
  .tools-icons { gap: var(--space-xs); }
  
  .projects-header { margin-left: 5vw; margin-top: 6vh; max-width: 90vw; }
  .projects-title { font-size: clamp(2.5rem, 12vw, 5rem); }
  .drawer-project-card { flex: 0 0 250px; min-width: 250px; max-width: 250px; }
  
  /* Hide custom scrollbar on mobile, use native scrolling */
  .projects-scrollbar {
    display: none;
  }
  
  .projects-container {
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    -ms-overflow-style: auto;
  }
  
  .projects-container::-webkit-scrollbar {
    display: block;
    height: 3px;
  }
  
  .projects-container::-webkit-scrollbar-track {
    background: var(--surface);
  }
  
  .projects-container::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
  }
  
  .experience-header { margin-left: 5vw; margin-top: 10vh; max-width: 90vw; }
  .experience-title { font-size: clamp(2.5rem, 12vw, 5rem); }
  .skills-container { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-md); }
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}