/* HERO SECTION - Left aligned with shapes on right */
.hero {
  width: 100%;
  min-width: 100%;
  background: #fbf8f3;
  position: relative;
  height: 275px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* CHANGE from center to flex-start */
  overflow: hidden;
  margin: 0 0 2rem 0;
  box-sizing: border-box;
}

/* Position hero shapes on the RIGHT side, partially cut off */
.hero-shapes {
  position: absolute;
  top: -60px; /* CHANGE - adjust vertical position */
  right: 250px; /* CHANGE - position on right, partially cut off */
  left: auto; /* REMOVE the left: 50% centering */
  transform: none; /* REMOVE the translateX centering */
  width: 350px; /* INCREASE size for dramatic effect */
  max-width: none; /* REMOVE max-width constraint */
  height: auto;
  z-index: 1;
  opacity: 1; /* Set to final opacity value */
  pointer-events: none;
  user-select: none;
}

/* Hero content container - LEFT ALIGNED */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* CHANGE from center to flex-start */
  justify-content: center;
  margin-top: 0px;
  margin-left: 14vw; /* ADD - creates left margin matching your featured section */
  max-width: 600px; /* ADD - constrains text width for readability */
}

/* Staggered animations for each element - LEFT ALIGNED */

.hero-title {
  font-size: 82px;
  font-family: var(--font-family-serif);
  color: var(--color-text-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: .9;
  margin: 16px 0 16px 0;
  text-align: left; /* ADD */
}

.hero-description {
  font-family: var(--font-family-sans);
  color: #8D8B89;
  font-size: 1.125rem;
  margin-top: 8px;
  font-weight: 300;
  text-align: left; /* ADD */
}

/* FEATURED WORK SECTION - Transparent background & pulled up */
.featured {
  width: 100%;
  background: transparent;
  padding: 3rem 1rem; /* Increased top from 2rem to 3rem for more space above bullet */
  margin-top: 0px;
  position: relative;
  z-index: 10;
}

.featured-inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 2vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Bullet Image Styling */
.featured-bullet {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.featured-bullet img {
  /* No animation - immediately visible */
}

/* Featured Title */
.featured-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.4rem, 2.25vw, 2.06rem);
  color: var(--color-text-primary);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

/* Featured Tagline */
.featured-tagline {
  font-family: var(--font-family-sans);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  font-weight: 400; /* Increased from 300 for better readability */
  color: rgba(40, 40, 40, 0.8); /* 80% opacity of var(--color-text-primary) */
  margin: 1rem 0 0 0;
  max-width: 600px;
  text-align: center;
}

/* Work Items Container - Match work page exactly */
.work-items {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns */
  gap: 1.25rem;
  margin-top: 7rem; /* Increased from 6rem to 7rem for more space below tagline */
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(100% - 2vw); /* Reduced to 2vw total - 1vw margin on each side */
}

/* 5-up on very wide screens */
@media screen and (min-width: 1800px) {
  .work-items {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Work Item Wrapper - Match work page exactly */
.work-item {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
}

.work-item img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  background: #fff;
  border: 1.5px solid #f4f0ea;
  object-fit: cover;
  display: block;
  transition: box-shadow 0.3s ease;
}

/* Subtle dark overlay on hover - Match work page exactly */
.work-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: 12px;
}

/* Show overlay and enhanced shadow on hover - Match work page exactly */
.work-item:hover::before {
  opacity: 1;
}

.work-item:hover img {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

/* View All Work Button */
.view-all {
  border: none; /* Remove border for cleaner look */
  color: #fff;
  padding: 12px 64px 12px 70px; /* More compact, pill-shaped */
  background: var(--color-coral);
  border-radius: 8px; /* Full pill shape like Anthropic */
  font-family: var(--font-family-sans);
  font-size: 0.95rem; /* Slightly smaller */
  font-weight: 450;
  transition: all 0.4s ease; /* Slower, smoother transition */
  margin: 1rem auto 4rem auto;
  display: inline-flex; /* Change to inline-flex for arrow alignment */
  align-items: center;
  gap: 8px; /* Space between text and arrow */
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  box-shadow: none; /* Remove shadow */
}

.view-all::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  display: inline-block;
}

.view-all:hover {
  background: var(--color-coral-dark); /* Slightly darker, not gradient */
  transform: none; /* No lift effect */
}

/* Arrow slides right very subtly on hover */
.view-all:hover::after {
  transform: translateX(4px); /* Just 4px movement */
}

.view-all:active {
  transform: scale(0.98); /* Minimal press effect */
}

/* BLOG CTA SECTION */
.blog-cta {
  width: 100%;
  background: #fff;
  padding: 4rem 2rem 8rem 2rem; /* Reduced top from 6rem to 4rem, reduced bottom from 12rem to 8rem */
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-cta-box {
  width: 100%;
  max-width: 1100px; /* Increased from 900px */
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
}

.blog-cta-bullet {
  position: absolute;
  top: -30px; /* Adjusted for larger bullet */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 1rem;
  width: 60px !important;
  height: 60px !important;
  display: block;
}

.blog-cta-title {
  font-family: var(--font-family-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.2;
}

.blog-cta-subtitle {
  font-family: var(--font-family-sans);
  font-size: 1.25rem; /* Increased from 1.125rem */
  font-weight: 400; /* Increased from 300 for better readability */
  color: rgba(40, 40, 40, 0.8); /* 80% opacity of var(--color-text-primary) */
  margin: 0 0 1rem 0;
  max-width: 825px; /* Increased from 600px to fit wider box */
}

/* Blog CTA Button - Light gray version */
.blog-cta-button {
  border: none;
  color: #888888; /* Lighter gray text */
  padding: 12px 64px 12px 70px;
  background: #f5f5f5; /* Light gray background */
  border-radius: 8px;
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  font-weight: 450;
  transition: all 0.4s ease;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  box-shadow: none;
}

.blog-cta-button::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888888' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  display: inline-block;
}

.blog-cta-button:hover {
  background: #e0e0e0; /* Slightly darker gray on hover */
  transform: none;
}

.blog-cta-button:hover::after {
  transform: translateX(4px);
}

.blog-cta-button:active {
  transform: scale(0.98);
}

/* ABOUT SECTION - TWO COLUMN LAYOUT */
.about-me {
  width: 100%;
  min-width: 100%;
  background: #fbf8f3;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 2.5rem; /* Reduced from 7rem to 5rem */
  overflow: visible;
  margin: 0;
}

.about-shapes {
  position: absolute;
  top: -80px; /* Changed from -10px to overlap more into white section */
  left: 35.5%;
  transform: translateX(-50%);
  width: 250px;
  max-width: 90vw;
  height: auto;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.about-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: flex-start; /* Changed from center to flex-start */
}

.about-illustration-column {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Changed from center to flex-start */
  padding-top: 0; /* Remove any extra padding */
}

.about-illustration {
  width: 135px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-left: auto; /* Pushes it all the way to the right */
  margin-right: 0; /* Keeps it at the edge */
}

.about-text-column {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  padding-top: 0; /* Align with illustration */
}

.about-heading {
  font-family: var(--font-family-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: #4c403a;
  margin: 0 0 .5rem 0;
  line-height: 1.2;
}

.about-title {
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 .5rem 0;
  color: var(--color-text-primary);
}

/* Mobile-only line break for about title */
.about-title .mobile-br {
  display: none;
}

@media screen and (max-width: 768px) {
  .about-title .mobile-br {
    display: inline;
  }
}

.about-description {
  font-family: var(--font-family-sans);
  color: var(--color-text-primary); /* Darker for better readability */
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400; /* Increased from 200 for better readability */
  margin: 0 0 2rem 0;
  /* No max-width - let it span the full column width */
}

/* Cat link styling - subtle, no underline */
.cat-link {
  color: var(--color-text-primary); /* Same as body text */
  text-decoration: none;
  font-weight: 500; /* Slightly bolder than body text */
  cursor: pointer;
  transition: color 0.3s ease; /* Smooth transition */
}

.cat-link:hover {
  color: var(--color-coral); /* Coral on hover */
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.image-modal.visible {
  opacity: 1;
}

.image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.image-modal-content {
  position: relative;
  z-index: 10001;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* About CTA Button */
.about-cta {
  border: none; /* No border */
  color: #8B7D6F; /* Warm taupe text */
  padding: 12px 36px 12px 42px; /* Same padding as View All Work */
  background: #F0E8DD; /* Subtle warm background */
  border-radius: 8px;
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  font-weight: 450;
  transition: all 0.4s ease; /* Slower, smoother transition */
  margin: 0;
  display: inline-flex; /* Change to inline-flex for arrow alignment */
  align-items: center;
  gap: 8px; /* Space between text and arrow */
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  box-shadow: none;
  align-self: flex-start;
}

/* SVG Arrow */
.about-cta::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238B7D6F' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  display: inline-block;
}

.about-cta:hover {
  background: #E8DDD0; /* Slightly darker on hover */
  transform: none; /* No lift effect */
}

/* Arrow slides right very subtly on hover */
.about-cta:hover::after {
  transform: translateX(4px); /* Just 4px movement */
}

.about-cta:active {
  transform: scale(0.98); /* Minimal press effect */
}

@media screen and (max-width: 768px) {
/* Show hero shapes on mobile - centered and overlapping */
.hero-shapes {
  display: block;
  left: 60%;
  transform: translateX(-50%);
  right: auto;
  top: auto;
  bottom: 25px; /* Changed from negative to positive to move inside frame */
  width: 300px;
  opacity: 0.45; /* Make slightly transparent on mobile */
}
  
  /* Reduce hero section height on mobile to about half */
  .hero {
    padding: 0 1.5rem; /* Horizontal padding matches navbar */
    height: 225px; /* Increased from 175px to be a bit taller */
    margin-bottom: 0; /* Remove bottom margin */
  }
  
  /* Center hero content while keeping text left-aligned */
  .hero-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%; /* Use full available width */
  }
  
  /* Reduce hero title size to fit on two lines */
  .hero-title {
    font-size: 56px; /* Reduced from 82px */
  }
  
  /* Increase hero description size on mobile */
  .hero-description {
    font-size: 1.25rem; /* Increased from 1.125rem */
  }
  
  /* Reduce top padding on featured section (gap between hero and bullet) */
  .featured {
    padding-top: 2rem; /* Reduced from 5rem */
    padding-left: 1.5rem; /* Increased from 0.5rem for more side padding */
    padding-right: 1.5rem; /* Increased from 0.5rem for more side padding */
  }
  
  /* Remove featured-inner padding on mobile for full-width grid */
  .featured-inner {
    padding: 0; /* Remove the 2vw padding */
  }
  
  /* Increase featured title size on mobile */
  .featured-title {
    font-size: 1.75rem; /* Increased for mobile */
  }
  
  /* Increase featured tagline size and add padding on mobile */
  .featured-tagline {
    font-size: 1.25rem; /* Decreased from 1.375rem */
    line-height: 1.4; /* Decreased line-height */
    padding: 0 1rem; /* Add horizontal padding */
    margin-bottom: 1rem; /* Add margin below tagline */
  }
  
  /* Adjust bullet spacing on mobile */
  .featured-bullet {
    margin-bottom: 1rem;
  }
  
  /* Make work items grid 2 columns on mobile */
  .work-items {
    margin-top: 3rem; /* Increased from 2rem for more space after tagline */
    max-width: 100%; /* Remove constraint - full width */
    padding: 0 5px; /* Reduced from 10px to nearly edge-to-edge */
    margin-left: 0; /* Remove auto margins */
    margin-right: 0; /* Remove auto margins */
    margin-bottom: 1rem; /* Reduced from 3rem to bring button closer */
    grid-template-columns: repeat(2, 1fr); /* Changed from auto-fit to fixed 2 columns */
    gap: 5px; /* Reduced from 10px to match smaller padding */
  }
  
  /* Make View All Work button full width on mobile */
  .view-all {
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    padding: 16px 1rem;
    justify-content: center;
    margin-top: 1rem; /* Reduced from 2rem to bring closer to grid */
    margin-bottom: 2rem; /* Reduced bottom margin */
  }
  
  /* About section mobile adjustments */
  .about-me {
    padding: 3rem 1.5rem;
  }
  
  /* Blog CTA mobile adjustments */
  .blog-cta {
    padding: 3rem 2rem 9rem 2rem; /* Tripled bottom padding from 3rem to 9rem */
  }
  
  .blog-cta-box {
    padding: 4rem 2.5rem 2rem 2.5rem; /* Increased horizontal from 2rem to 2.5rem, reduced bottom from 4rem to 2rem */
    border-width: 2px; /* Thicker border on mobile */
  }
  
  .blog-cta-title {
    font-size: 2rem;
  }
  
  .blog-cta-subtitle {
    font-size: 1.125rem; /* Increased subtitle size on mobile */
  }
  
  .blog-cta-button {
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    padding: 16px 1rem;
    justify-content: center;
  }
  
  /* Move shapes up to overlap more with section above */
  .about-shapes {
    top: -60px; /* Moved up from -10px */
  }
  
  /* Center the illustration image on mobile */
  .about-illustration {
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Make About button full width on mobile */
  .about-cta {
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    padding: 16px 1rem; /* Increased vertical padding from 12px to 16px */
    justify-content: center;
  }
  
  .about-shapes {
    left: 50%; /* Center on mobile */
  }
  
  .about-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .about-text-column {
    align-items: center;
  }
  
  .about-illustration {
    width: 120px; /* Smaller on mobile too */
  }
  
  .about-heading {
    font-size: 2rem;
  }
  
  .about-cta {
    align-self: center;
  }
}