/* Base Styles & Variables */
:root {
  /* Main colors */
  --color-background: #2a2d34; /* Dark slate/dusk sky */
  --color-text: #f0f0f0;       /* Off-white text for readability */
  --color-text-light: #b8bbc2; /* Muted silver/moonlight */
  
  /* Primary and accent colors */
  --color-primary: #7e9eb8;    /* Twilight blue */
  --color-secondary: #4d6a92;  /* Deeper mountain blue */
  --color-accent: #95b451;     /* Lime green */
  
  /* Additional UI colors */
  --color-light: #3c414f;      /* Lighter mountain shadow for cards */
  --color-border: #4c5060;     /* Subtle borders */
  
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --container-padding: 0 2rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

body.loaded {
  opacity: 1;
}

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

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

a:hover {
  color: var(--color-secondary);
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

section {
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

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

/* Button Styles */
.see-more-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 30px;
  font-weight: 500;
  margin-top: 1rem;
  transition: var(--transition);
}

.resume-btn {
  margin-left: 182px; /* 150px (first column) + 32px (gap) */
  display: block;
  width: fit-content;
}

.see-more-btn:hover {
  background-color: var(--color-accent);
  color: white;
}

/* Header */
header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: var(--color-background);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

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

.accent-text {
  color: var(--color-accent);
}

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

.nav-link {
  position: relative;
  font-weight: 500;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 2000;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

/* Hero Section with Parallax */
.hero {
  position: relative;
  min-height: 55vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/forrest-hero.JPG');
  background-size: cover;
  background-position: center 45%;
  filter: grayscale(25%);
  z-index: 1;
}

@media (min-width: 768px) {
  .parallax-bg {
    background-attachment: fixed;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 4rem;
  width: 100%;
  background: linear-gradient(to right, rgba(42, 45, 52, 0.7) 0%, rgba(42, 45, 52, 0.5) 50%, transparent 100%);
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero h1 {
  max-width: 800px;
}

.hero p {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--color-text);
}

.work-item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-light);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  min-height: 200px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease;
}

.work-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.work-item-image {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: grayscale(0%); /* adjust the featured pic */
}

.work-item:hover .work-item-image {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.work-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.6), rgba(0,0,0,0.3), transparent);
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-item:hover .work-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.work-item-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.work-item-description {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.work-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  background-color: rgba(0,0,0,0.5);
  border-radius: 20px;
  text-transform: lowercase;
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

/* Experience Section */
.experience-timeline {
  margin-top: 2rem;
  position: relative;
}

.experience-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  position: relative;
  margin-bottom: 1rem;
}

.experience-item:last-child {
  padding-bottom: 1rem;
}

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

.experience-content {
  position: relative;
}

.experience-title {
  margin-bottom: 0.5rem;
}

.experience-company {
  color: var(--color-accent);
  font-weight: 500;
}

.experience-description {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.experience-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  background-color: var(--color-light);
  border-radius: 20px;
  color: var(--color-text-light);
}

/* Accolades Section */
.accolades-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.accolade {
  break-inside: avoid;
  margin-bottom: 2rem;
  padding: 0;
  transition: var(--transition);
}

.accolade-title {
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  text-transform: lowercase;
}

.accolade-entries {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.accolade-entry {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.accolade-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.accolade-award {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.accolade-project {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Footer */
footer {
  background-color: #232630;
  padding: 3rem 0 2rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

/* Footer Contact Form */
.footer-contact-form {
  margin-top: 1.5rem;
}

.footer-contact-form h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(126, 158, 184, 0.2);
}

.form-submit-btn {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit-btn:hover {
  background-color: var(--color-secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

/* Navigation links in footer */
.footer-column:nth-child(2) .footer-links a {
  color: var(--color-primary);
  transition: var(--transition);
}

.footer-column:nth-child(2) .footer-links a:hover {
  color: var(--color-secondary);
}

/* Other footer links */
.footer-links a {
  color: var(--color-text-light);
  transition: var(--transition);
}

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

/* Expertise items in footer - no hover effect */
.expertise-item {
  color: var(--color-text-light);
  cursor: default;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--color-background);
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(50px);
  transition: all 0.4s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-light);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background-color: var(--color-primary);
}

.modal-close span {
  font-size: 1.5rem;
  line-height: 1;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.modal-image {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.modal-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none; /* Helps Safari handle touch events properly */
}

.modal-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0;
  height: 16px; /* Fixed height to prevent layout shift */
}

/* Fixed height for dot navigation area when no dots are present */
.modal-dots:empty {
  display: none;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-title {
  margin-bottom: 0;
}

.modal-description {
  margin-bottom: 0;
  color: var(--color-text-light);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.modal-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  background-color: var(--color-light);
  border-radius: 20px;
  color: var(--color-text-light);
}

/* Modal Arrows */
.modal-arrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.8;
  font-size: 1.5rem;
  font-weight: bold;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.modal-arrow:hover {
  background-color: var(--color-primary);
  opacity: 1;
}

.modal-prev {
  left: 10px;
}

.modal-next {
  right: 10px;
}

/* Modal Styling */
.modal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition);
}

.modal-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

.modal-dot:hover {
  background-color: var(--color-secondary);
}

/* Work Section */
.work h2 {
  margin-bottom: 1rem;
}

.work-intro {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: center;
}

.work-content {
  max-width: 700px;
}

.work-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.work-intro-image {
  width: 320px;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  justify-self: flex-end;
}

.work-intro-image.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.work-intro-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(42, 45, 52, 0.1) 100%);
  opacity: 0;
  transition: opacity 1s ease;
}

.work-intro-image.visible::after {
  opacity: 1;
}

.work-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%); /* adjust the bio pic */
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-intro-image.visible img {
  transform: scale(1);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.work-item.featured {
  grid-column: span 6;
  grid-row: span 2;
}

.work-item.medium {
  grid-column: span 6;
  grid-row: span 1;
}

.work-item.small {
  grid-column: span 4;
  grid-row: span 1;
}

/* Make the last two items fill the full width */
.work-item:nth-last-child(2),
.work-item:last-child {
  grid-column: span 6;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--color-background);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .work-item.small {
    grid-column: span 6;
  }
  
  /* Adjust work item overlay text for tablets */
  .work-item-title {
    font-size: 1.2rem;
  }
  
  .work-item-description {
    font-size: 0.85rem;
  }
  
  .work-tag {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
  }
  
  .accolades-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  /* Mobile Nav Overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .nav-overlay.active {
    visibility: visible;
    opacity: 1;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(42, 45, 52, 0.95);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -8px 0 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .work-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-intro-image {
    order: -1;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    justify-self: center;
  }

  .work-content {
    max-width: 100%;
  }

  .hero-content {
    background: linear-gradient(to right, rgba(42, 45, 52, 0.85) 0%, rgba(42, 45, 52, 0.85) 50%, transparent 100%);
  }
  
  /* Work Grid - convert to single column */
  .work-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .work-item {
    width: 100%;
    height: 250px; /* Consistent height for all items */
  }

  /* Remove all grid spans so items take full width */
  .work-item.featured,
  .work-item.medium,
  .work-item.small,
  .work-item:nth-last-child(2),
  .work-item:last-child {
    grid-column: unset;
    grid-row: unset;
  }

  /* Show descriptions on mobile for better context */
  .work-item-overlay {
    opacity: 0;
    transform: translateY(10px);
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.5), rgba(0,0,0,0.2), transparent);
  }
  
  .work-item:active .work-item-overlay,
  .work-item.touched .work-item-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hide description by default on mobile */
  .work-item-description {
    display: none;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }
  
  .work-item:active .work-item-description,
  .work-item.touched .work-item-description {
    display: block;
  }

  /* More compact filter tabs for mobile */
  .filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .filter-tab {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Experience Timeline Mobile Updates */
  .experience-item {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding-bottom: 2rem;
  }

  .experience-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .experience-company {
    font-size: 0.9rem;
  }

  .experience-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .experience-tags {
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
  }

  .experience-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
  
  /* Accolades Section Mobile Optimizations */
  .accolades-grid {
    column-count: 1;
  }

  .accolade {
    margin-bottom: 1.5rem;
  }

  .accolade-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .accolade-entries {
    gap: 1rem;
  }

  .accolade-entry {
    padding-bottom: 0.75rem;
  }

  .accolade-award {
    font-size: 0.9rem;
  }

  .accolade-project {
    font-size: 0.85rem;
  }
  
  /* Modal Improvements for Mobile */
  .modal-container {
    padding: 1.5rem;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-image-container {
    height: auto;
    max-height: 50vh;
  }

  .modal-title {
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }

  .modal-description {
    font-size: 0.9rem;
  }

  /* Hide arrows on mobile since swipe is available */
  .modal-arrows {
    display: none !important;
  }

  /* Larger touch targets for arrows */
  .modal-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }
  
  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .resume-btn {
    margin-left: 116px; /* 100px (first column) + 16px (gap) */
  }
}

@media (max-width: 480px) {
  .experience-item {
    grid-template-columns: 90px 1fr;
    gap: 1rem;
  }
  
  .resume-btn {
    margin-left: 106px; /* 90px (first column) + 16px (gap) */
  }
}