/* ============================================ */
/* COMPLETE WEBSITE - Paper Texture Background */
/* Vintage Editorial Aesthetic with Dual Reds/Oranges */
/* OPTIMAL READABILITY - 50-75 Characters Per Line */
/* ============================================ */

:root {
  /* Primary Colors - PAPER BACKGROUND */
  --color-bg-primary: #f7f3eb;      /* Paper White */
  --color-bg-secondary: #f2ede4;
  --color-bg-card: #ffffff;
  --color-bg-elevated: #fdfaf5;
  
  /* Warm Orange Gradients */
  --gradient-primary: linear-gradient(135deg, #e85d04 0%, #dc2f02 100%);
  --gradient-subtle: linear-gradient(145deg, #f0e8dc 0%, #e8dfd0 100%);
  
  /* Dual Reds & Oranges */
  --color-orange: #e85d04;           /* Burnt Orange - Primary */
  --color-orange-red: #dc2f02;       /* Vermilion Red - Secondary */
  --color-brown: #8b5a3c;            /* Faded Brown - Borders/Accent */
  --color-paper: #f7f3eb;            /* Paper White - Background */
  --color-dark: #1c1815;             /* Dark Charcoal - Text */
  
  /* Faded Browns & Earth Tones */
  --color-terracotta: #cc6633;
  --color-rust: #aa4422;
  --color-faded-brown: #8b5a3c;
  --color-warm-gray: #c4b8a8;
  --color-mocha: #8b7355;
  --color-umber: #5c4a3a;
  
  /* Text Colors */
  --color-text-primary: #1c1815;
  --color-text-secondary: #5a4a3a;
  --color-text-muted: #8a7a6a;
  --color-text-highlight: #e85d04;
  --color-text-body: #3d2e24;
  
  /* Accents */
  --color-accent: #e85d04;
  --color-accent-secondary: #dc2f02;
  --color-accent-hover: #f48c06;
  --color-border: #d4c9bc;
  --color-border-dark: #c4b8a8;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
}

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

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

body {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  font-weight: 400;
  font-optical-sizing: auto;
  position: relative;
}

/* Subtle paper grain texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 9997;
}

/* Subtle warm vignette effect */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
  z-index: 9998;
}

/* Container */
.container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: transparent;
}

/* ============================================ */
/* OPTIMAL READABILITY - Line Length Control */
/* 50-75 characters per line for perfect reading */
/* ============================================ */

/* Only standalone paragraphs get centered with max-width */
.project-description,
.construction-note,
.about-content .bio-description,
.contact-line {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* Prevent widows and orphans */
p, h1, h2, h3, h4, .concept-text, .project-description,
.bio-headline, .phase-title, .section-heading,
.exp-description, .edu-description {
  widows: 3;
  orphans: 3;
  text-wrap: pretty;
}

/* Slightly wider for headings to maintain visual hierarchy */
h1, h2, .project-title, .section-heading, .category-heading {
  max-width: 90ch;
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* HEADER - with warm border */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.logo-image {
  height: 40px;
  width: auto;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s ease;
}

.logo-image:hover {
  filter: brightness(1) contrast(1.2);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  font-size: 1rem;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-link.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Social links */
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-links svg {
  width: 22px;
  height: 22px;
  transition: all 0.3s ease;
}

.social-links svg path {
  stroke: var(--color-text-primary);
  transition: stroke 0.3s ease;
}

.social-links a:hover svg path {
  stroke: var(--color-accent);
}

/* ============================================ */
/* TABLE OF CONTENTS NAVIGATION (Left Sidebar) */
/* ============================================ */

.section-nav {
  width: 220px;
  position: sticky;
  top: 2rem;
  align-self: start;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.nav-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
}

.nav-sections {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-sections li {
  margin-bottom: 0.75rem;
}

.nav-section-link {
  font-size: 0.9rem;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  padding: 0.25rem 0;
  position: relative;
}

.nav-section-link:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.nav-section-link.active {
  color: var(--color-accent);
  font-weight: 500;
}

.nav-section-link.active::before {
  content: "→";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: 0.8rem;
}

/* Right content sections */
.content-sections {
  flex: 1;
}

.project-section {
  scroll-margin-top: 2rem;
  margin-bottom: 3rem;
}

.project-section:last-child {
  margin-bottom: 0;
}

/* WORK PAGE LAYOUT */
.main-content {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Project Tiles - Warm card style */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.project-tile-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-tile {
  position: relative;
  background: var(--color-bg-card);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.project-tile-link:hover .project-tile {
  transform: scale(1.02);
  border-color: var(--color-accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tile-image {
  width: 100%;
  height: 100%;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-image span {
  font-size: 3rem;
  opacity: 0.7;
}

.tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-tile:hover .tile-overlay {
  opacity: 1;
}

.tile-overlay h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #ffffff;
  font-family: var(--font-heading);
}

.tile-overlay p {
  font-size: 0.85rem;
  color: #e0d6ca;
  line-height: 1.3;
}

.project-tile:hover .tile-overlay h3 {
  color: var(--color-accent);
}

/* Placeholder tile styling */
.project-tile-link.placeholder .project-tile {
  opacity: 0.6;
  cursor: default;
}

.project-tile-link.placeholder:hover .project-tile {
  transform: none;
  border-color: var(--color-border);
  box-shadow: none;
}

.project-tile-link.placeholder .tile-overlay h3 {
  color: var(--color-text-muted);
}

/* ============================================ */
/* CATEGORY HEADINGS FOR WORK PAGE */
/* ============================================ */

.category-heading {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.category-heading:first-of-type {
  margin-top: 0;
}

.coming-soon {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 0.75rem;
  letter-spacing: 0.03em;
}

/* ============================================ */
/* STANDARD TYPOGRAPHY HIERARCHY */
/* For all project pages */
/* ============================================ */

/* Level 1 - Project Title */
.project-title {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  text-align: center;
  max-width: 90ch;
  margin-left: auto;
  margin-right: auto;
}

/* Level 2 - Project Subtitle */
.project-subtitle {
  font-size: 0.9rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Level 3 - Section Heading */
.section-heading {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 2rem 0 1rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--color-text-primary);
}

/* Level 4 - Phase Title */
.phase-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

/* Level 5 - Body Text */
.phase-text p,
.project-description p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

/* Level 6 - Labels / Badges */
.vinyl-label,
.triad-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Level 7 - Supporting Text */
.vinyl-sub,
.play-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Phase container */
.phase {
  margin-bottom: 2rem;
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  background: transparent;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.image-placeholder {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  text-align: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.image-placeholder:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.image-placeholder span {
  font-size: 2.5rem;
  opacity: 0.6;
}

.image-placeholder p {
  color: var(--color-text-muted);
}

.placeholder-text {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.placeholder-note {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-family: monospace;
}

/* Concept triad */
.concept-triad {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.triad-item {
  background: var(--color-bg-card);
  padding: 0.6rem 1.2rem;
  text-align: center;
  border: 1px solid var(--color-accent);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.triad-item:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Construction note */
.construction-note {
  background: var(--color-bg-secondary);
  border-left: 3px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  font-style: normal;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  border-radius: 0 8px 8px 0;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* Project header container */
.project-header {
  margin-bottom: 2rem;
  text-align: center;
}

/* Project description container */
.project-description {
  margin-bottom: 2rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* Back to work link */
.back-to-work {
  margin-bottom: 2rem;
}

.work-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.work-link:hover {
  color: var(--color-accent);
  transform: translateX(-4px);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

.back-to-top {
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.back-to-top:hover {
  color: var(--color-accent);
}

/* ============================================ */
/* ABOUT PAGE SPECIFIC STYLES */
/* ============================================ */

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* About header with image and intro */
.about-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.about-image {
  flex: 0 0 250px;
}

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--gradient-subtle);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.portrait-placeholder span {
  font-size: 3rem;
  opacity: 0.6;
}

.portrait-placeholder p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.about-intro {
  flex: 1;
}

.bio-headline {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  max-width: 90ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bio-headline .highlight {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bio-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

/* ============================================ */
/* COLLAPSIBLE SECTIONS - Experience */
/* ============================================ */

/* Experience collapsible headers */
.exp-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.exp-header:hover {
  background: rgba(232, 93, 4, 0.08);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.exp-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.exp-toggle {
  font-size: 0.7rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.exp-details {
  display: none;
  margin-top: 1rem;
}

.exp-details.expanded {
  display: block;
}

.exp-company {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.exp-location {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.exp-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 0.75rem;
}

.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.skill-tag {
  background: var(--color-bg-secondary);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.exp-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ============================================ */
/* EDUCATION SECTION - Collapsible & Non-Collapsible */
/* ============================================ */

.edu-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.edu-item:last-child {
  border-bottom: none;
}

/* Collapsible education header (Sacramento State) */
.edu-header.collapsible {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.edu-header.collapsible:hover {
  background: rgba(232, 93, 4, 0.08);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Non-collapsible education header (Sacramento City College) - NO hover effect */
.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
}

/* Ensure no hover effect on non-collapsible items */
.edu-item.no-hover .edu-header {
  cursor: default;
}

.edu-item.no-hover .edu-header:hover {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.edu-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.edu-toggle {
  font-size: 0.7rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.edu-details {
  display: none;
  margin-top: 1rem;
}

.edu-details.expanded {
  display: block;
}

.edu-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.edu-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.edu-degree {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.edu-grade {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.edu-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 0.75rem;
}

.edu-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Personal Brand Collaterals */
.collaterals-section {
  margin-top: 2rem;
}

/* Contact Section */
.contact {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.contact-line {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.email-link {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: var(--color-accent-secondary);
  border-bottom-color: var(--color-accent);
}

/* ============================================ */
/* DARK ACCENT SECTIONS (Optional - for contrast) */
/* ============================================ */

.section-dark-accent {
  background: var(--color-dark);
  color: var(--color-paper);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.section-dark-accent .phase-title,
.section-dark-accent .section-heading {
  color: var(--color-accent);
}

.section-dark-accent .phase-text p {
  color: #e0d6ca;
}

/* ============================================ */
/* RESPONSIVE ADJUSTMENTS */
/* ============================================ */

/* Mobile: full width text for better readability on small screens */
@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .bio-headline {
    font-size: 2rem;
  }
  
  .logo-image {
    height: 30px;
  }
  
  .header-right {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .phase {
    padding-left: 1rem;
  }
  
  .phase-title {
    font-size: 1.1rem;
  }
  
  .section-heading {
    font-size: 1.3rem;
  }
  
  .category-heading {
    font-size: 1.1rem;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  /* Full width text on mobile for better readability */
  .project-description,
  .construction-note,
  .contact-line {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
  }
  
  .section-nav {
    width: 100%;
    position: static;
    margin-bottom: 1.5rem;
  }
  
  .nav-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .nav-sections li {
    margin-bottom: 0;
  }
  
  .nav-section-link.active::before {
    display: none;
  }
  
  .nav-section-link.active {
    border-bottom: 2px solid var(--color-accent);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .about-image {
    flex: 0 0 auto;
    width: 200px;
  }
  
  .bio-headline {
    font-size: 2rem;
    text-align: center;
  }
  
  .exp-header {
    flex-direction: column;
  }
  
  .edu-header {
    flex-direction: column;
  }
}