  :root {
    --primary-color: #231f20;
    --accent-color: #a52a2a;
    --background-color: #f7ecd3;
    --text-color: #231f20;
    --divider-color: #000;
  }

  body {
    color: var(--primary-color);
    overflow-x: hidden;
    font-family: 'Helvetica';
    color: #231f20 !important;
  }

  .navbar {
    height: 60px !important;
  }

  .section {
    position: relative !important;
    width: 100%;
  }

  .filter-section {
    padding: 60px 0px 0px 0px;
    background-color: #eaebe2;
  }

  .fade-in {
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
  }

  .fade-in.show {
    opacity: 1;
  }

  /* Portfolio item fade animation */
  .portfolio-item {
    opacity: 0;
    transition: opacity 1.2s ease;
  }

  .portfolio-item.visible {
    opacity: 1;
  }

  /* Image blur and scale effects */
  .portfolio .portfolio-card .image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1000 / 516;
    /* Reserved space */
    background-color: #f1f2eb;
    /* Placeholder color matching theme */
  }

  .portfolio .portfolio-card .image-container img {
    transition: transform 8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 5s ease !important;
    filter: blur(3px) !important;
    transform: scale(1.05) !important;
    will-change: transform, filter;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .portfolio .portfolio-card .image-container img.loaded {
    filter: blur(0) !important;
    transform: scale(1) !important;
  }

  .portfolio .portfolio-card:hover .image-container img {
    transform: scale(1.03) !important;
  }

  .portfolio-grid {
    min-height: 1000px;
    /* Increased to cover initial view */
  }

  .section-title h2 {
    min-height: 80px;
    /* Reserve space for 2 lines on mobile */
    margin-bottom: 10px;
  }

  .portfolio-filters-wrapper {
    min-height: 50px;
    /* Reserve space for filters */
  }

    .filter-section .section-title p{
      height: auto;
      min-height: 80px; /* Space for the 2-3 lines of desktop text */
    }
    @media (max-width: 991px) {
      .filter-section .section-title p{
        min-height: 120px; /* Space for the 4-5 lines on mobile */
      }
    }

  .info-section {
    background-color: #f1f2eb;
    /* same as your screenshot bg */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    /* adjust spacing */
  }

  .info-content {
    max-width: 800px;
    /* keep text neat */
  }

  .info-text {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    margin-bottom: 20px;
  }

  .info-link {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .info-link:hover {
    border-bottom: 1px solid #000;
  }

  /* collection page */
  /* Hero Section */
  .stone-hero {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--background-color);
    min-height: 100vh;
  }

  .stone-info {
    flex: 0 0 50%;
    min-width: 350px;
    padding: 6rem 3.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
  }

  .stone-info::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
  }

  .stone-info h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    position: relative;
    text-transform: none;
    letter-spacing: 1px;
  }

  .stone-info h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
  }

  .stone-info p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 70%;
    margin: 0 auto;
    letter-spacing: 1px;
  }

  .stone-image {
    flex: 0 0 50%;
    min-width: 350px;
    position: relative;
    overflow: hidden;
  }

  .stone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
    filter: none;
    /* Removed initial blur for better LCP */
    transform: scale(1);
    /* Removed initial scale for better LCP */
  }

  .stone-image img.loaded {
    filter: none;
    transform: scale(1);
  }

  .stone-image:hover img {
    transform: scale(1.02);
  }

  /* Description Section */
  .stone-description {
    padding: 5rem 1.25rem;
    text-align: center;
    /* max-width: 950px; */
    margin: 0 auto;
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    line-height: 1.9;
    color: var(--text-color);
    position: relative;
  }

  .stone-description p {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
  }

  /* Full Width Image */
  .stone-full-image {
    position: relative;
    overflow: hidden;
  }

  .stone-full-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    transition: transform 8s ease, filter 5s ease;
    filter: blur(3px);
    transform: scale(1.05);
  }

  .stone-full-image img.loaded {
    filter: blur(0);
    transform: scale(1);
  }

  .stone-full-image:hover img {
    transform: scale(1.02);
  }

  .divider {
    width: 40px;
    height: 2.5px;
    background-color: var(--divider-color);
    margin: 10px auto 15px auto;
  }

  /* Animation effects */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 40px, 0);
    }

    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  .animate-fade-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
  }

  .delay-1 {
    animation-delay: 0.3s;
  }

  .delay-2 {
    animation-delay: 0.6s;
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {

    .stone-info,
    .stone-image {
      flex: 100%;
    }

    .stone-info {
      padding: 4rem 2rem;
    }


    .stone-info::before {
      display: none;
    }

    .stone-info p {
      max-width: 90%;
    }
  }


  @media (max-width: 768px) {
    .stone-info {
      padding: 40px 30px 30px 30px;
    }

    .stone-description {
      padding: 3rem 1rem;
    }
  }

  .footer-links a {
    color: #fff;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 500;
    list-style: none;
    text-decoration: none;
  }

  .top120 {
    padding-top: 120px;
  }

  .stone-info .delay-1 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
  }