   * { box-sizing: border-box; }

   body, html {
     margin: 0;
     padding: 0;
     font-family: "skippy-sharp", sans-serif;
     background-color: #F0EFEB; 
     color: #3c3027; 
   }
   
   .sticky-header {
     position: sticky;
     top: 0;
     width: 100%;
     background: rgba(240, 239, 235, 0.9);
     backdrop-filter: blur(12px); 
     z-index: 9999; 
     border-bottom: 1px solid rgba(60, 48, 39, 0.1);
   }
   
   .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
     padding: 1.5rem 2rem;
   }
   
   .logo {
     font-family: "highest-praise", sans-serif;
     font-size: 2.2rem;
     color: #3c3027;
     text-decoration: none;
     line-height: 1;
   }
   
   .nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem); 
    align-items: center;
   }
   
   .nav-links a {
    text-decoration: none;
    color: #3c3027;
    font-size: clamp(1.4rem, 3vw, 2rem); 
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    white-space: nowrap; 
   }
   
   .nav-links a:hover {
     color: #EE6D8A; 
   }
   
   main {
     max-width: 1200px;
     margin: 0 auto;
     padding: 1.5rem 5% 2rem 5%; 
   }
   
   .portfolio-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
     justify-content: center; 
     gap: 1.2rem; 
   }
   
   .project-card {
     position: relative;
     display: block;
     border-radius: 12px;
     overflow: hidden;
     aspect-ratio: 1 / 1; 
     text-decoration: none;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
     opacity: 0;
     transform: translateY(30px);
   }
   
   .card-bg {
     position: absolute;
     inset: 0;
     background-size: cover;
     background-position: center;
     transition: transform 0.6s ease;
   }
   
   .project-card:hover .card-bg {
     transform: scale(1.06);
   }
   
   .card-overlay {
     position: absolute;
     inset: 0;
     background: rgba(60, 48, 39, 0.85); 
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.4s ease;
   }
   
   .project-card:hover .card-overlay {
     opacity: 1;
   }
   
   .card-overlay h2 {
     color: #F0EFEB;
     font-family: "skippy-sharp", sans-serif;
     font-size: 2rem;
     letter-spacing: 0.05em;
     text-align: center;
     margin: 0;
     padding: 1rem;
     transform: translateY(15px);
     transition: transform 0.4s ease;
   }
   
   .project-card:hover .card-overlay h2 {
     transform: translateY(0);
   }
   
   .back-link {
     display: inline-block;
     font-size: 1.2rem;
     color: #3c3027;
     text-decoration: none;
     margin-top: -0.5rem; 
     margin-bottom: 1rem;
     font-weight: 600;
     transition: color 0.3s ease;
   }
   
   .back-link:hover {
     color: #EE6D8A;
   }
   
   .page-title {
     text-align: center;
     font-family: "highest-praise", sans-serif;
     font-size: clamp(4rem, 10vw, 7rem); 
     margin: 4rem 0; 
     font-weight: 400;
     line-height: 0.85; 
   }
   
   .class-year {
     text-align: center;
     font-size: 1.4rem;
     font-weight: 600;
     color: #3c3027;
     opacity: 0.8; 
     margin-top: -2rem; 
     margin-bottom: 2.5rem; 
     letter-spacing: 0.05em;
   }
   
   .grids-spacing-fix {
     margin-bottom: 0.5rem; 
   }
   
   .carousel-container,
   .project-video {
     position: relative;
     display: block;
     max-width: 900px; 
     width: 100%;      
     margin: 0 auto 2rem auto; 
     z-index: 1; 
   }
   
   .carousel-container {
     aspect-ratio: 16 / 9; 
   }
   
   .project-video {
     outline: none;
     background-color: #000; 
   }
   
   .carousel-track {
     display: flex;
     height: 100%;
     width: 100%;
     overflow: hidden; 
   }
   
   .carousel-slide {
     flex: 0 0 100%; 
     width: 100%;
     height: 100%;
     object-fit: contain; 
     display: block;
     transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
     cursor: pointer; 
   }
   
   .carousel-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(240, 239, 235, 0.8);
     color: #3c3027;
     border: none;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     cursor: pointer;
     z-index: 10;
     display: flex;
     align-items: center;
     justify-content: center;
     backdrop-filter: blur(4px);
     transition: all 0.3s ease;
     font-size: 1.2rem;
     box-shadow: 0 4px 10px rgba(0,0,0,0.1);
   }
   
   .carousel-btn:hover {
     background-color: #EE6D8A; 
     color: white;
   }
   
   .carousel-btn.prev { left: -20px; }
   .carousel-btn.next { right: -20px; }
   
   @media (max-width: 768px) {
     .carousel-container { aspect-ratio: 4 / 3; }
     .carousel-btn { width: 40px; height: 40px; }
     .carousel-btn.prev { left: 5px; }
     .carousel-btn.next { right: 5px; }
     .page-title { margin: 3rem 0; }
   }
   
   .project-description {
     max-width: 800px;
     margin: 0 auto 2rem auto; 
     text-align: center;
   }
   
   .project-description p {
     font-size: 1.6rem; 
     line-height: 1.8;
     color: #3c3027;
     margin: 0; 
   }
   
   .link {
     color: #EE6D8A;
     font-weight: 600;
     text-decoration: none;
     transition: color 0.3s ease;
   }
   
   .link:hover {
     color: #3c3027;
     text-decoration: underline;
   }
   
   .about-content {
     display: flex;
     align-items: center;
     gap: 4rem; 
     max-width: 1000px;
     margin: 0 auto;
   }
   
   .about-image {
     flex: 1; 
     max-width: 450px; 
   }
   
   .about-image img {
     width: 100%;
     height: auto;
     aspect-ratio: 1 / 1; 
     object-fit: cover;
     border-radius: 12px;
     box-shadow: 0 8px 25px rgba(0,0,0,0.1);
   }
   
   .about-text {
     flex: 1; 
   }
   
   .about-text p {
     font-size: 1.6rem; 
     line-height: 1.8;
     color: #3c3027;
     margin-top: 0;
     margin-bottom: 1.5rem;
   }
   
   @media (max-width: 768px) {
     .about-content {
       flex-direction: column; 
       text-align: center; 
       gap: 2rem;
     }
     .about-image {
       max-width: 100%;
       width: 80%; 
     }
   }

.compact-year {
  margin-bottom: -3rem !important; 
}

.compact-carousel {
  margin-bottom: -3rem !important; 
}
   
   .resume-images {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 2rem; 
     margin-bottom: 2rem; 
   }
   
   .resume-img {
     width: 100%;
     max-width: 1000px; 
     height: auto;
     box-shadow: 0 8px 25px rgba(0,0,0,0.1);
     border-radius: 8px;
   }
   
   .download-section {
     text-align: center;
     margin-bottom: 2rem;
   }
   
   .download-btn {
     display: inline-block;
     background-color: #3c3027;
     color: #F0EFEB;
     font-size: 1.6rem;
     font-weight: 600;
     letter-spacing: 0.05em;
     text-decoration: none;
     padding: 1.2rem 3rem;
     border-radius: 50px; 
     box-shadow: 0 6px 15px rgba(0,0,0,0.15);
     transition: all 0.3s ease;
   }
   
   .download-btn:hover {
     background-color: #EE6D8A;
     color: #F0EFEB;
     transform: translateY(-4px); 
     box-shadow: 0 10px 20px rgba(0,0,0,0.2);
   }
   
   .contact-wrapper {
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
   }
   
   .contact-links {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 2rem;
     margin-bottom: 2.5rem; 
   }
   
   .contact-btn {
     display: inline-block;
     font-family: "skippy-sharp", sans-serif;
     background-color: #3c3027;
     color: #F0EFEB;
     font-size: 1.4rem;
     font-weight: 600;
     letter-spacing: 0.05em;
     text-decoration: none;
     padding: 1rem 3rem;
     border-radius: 50px;
     box-shadow: 0 6px 15px rgba(0,0,0,0.15);
     transition: all 0.3s ease;
     border: none;
     cursor: pointer;
   }
   
   .contact-btn:hover {
     background-color: #EE6D8A;
     color: #F0EFEB;
     transform: translateY(-4px);
     box-shadow: 0 10px 20px rgba(0,0,0,0.2);
   }
   
   .contact-divider {
     display: flex;
     align-items: center;
     text-align: center;
     margin: 0 auto 2.5rem auto;
     max-width: 80%; 
   }
   
   .contact-divider::before,
   .contact-divider::after {
     content: '';
     flex: 1;
     border-bottom: 1px solid rgba(60, 48, 39, 0.2);
   }
   
   .contact-divider::before {
     margin-right: 1.5rem;
   }
   
   .contact-divider::after {
     margin-left: 1.5rem;
   }
   
   .contact-divider span {
     font-size: 1.4rem;
     font-family: "skippy-sharp", sans-serif;
     font-weight: 600;
     color: #3c3027;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     opacity: 0.7;
   }
   
   .tooltip-btn {
     position: relative; 
   }
   
   .tooltip-text {
     visibility: hidden;
     width: 140px;
     background-color: #3c3027; 
     color: #F0EFEB; 
     text-align: center;
     border-radius: 8px;
     padding: 0.5rem;
     position: absolute;
     z-index: 1;
     bottom: 130%; 
     left: 50%;
     transform: translateX(-50%); 
     opacity: 0;
     transition: opacity 0.3s ease;
     font-size: 1rem;
     font-weight: normal;
     letter-spacing: normal;
     box-shadow: 0 4px 10px rgba(0,0,0,0.15);
     pointer-events: none; 
   }
   
   .tooltip-text::after {
     content: "";
     position: absolute;
     top: 100%;
     left: 50%;
     margin-left: -6px;
     border-width: 6px;
     border-style: solid;
     border-color: #3c3027 transparent transparent transparent;
   }
   
   .tooltip-text.show {
     visibility: visible;
     opacity: 1;
   }
   
   .contact-form {
     background: rgba(255, 255, 255, 0.4); 
     padding: 3rem;
     border-radius: 12px;
     box-shadow: 0 8px 25px rgba(0,0,0,0.05);
     text-align: left;
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
   }
   
   .form-group label {
     display: block;
     font-size: 1.2rem;
     font-weight: 600;
     color: #3c3027;
     margin-bottom: 0.5rem;
     letter-spacing: 0.05em;
   }
   
   .form-group input,
   .form-group textarea {
     width: 100%;
     padding: 1rem 1.2rem;
     font-family: "skippy-sharp", sans-serif;
     font-size: 1.2rem;
     color: #3c3027;
     background-color: #F0EFEB;
     border: 1px solid rgba(60, 48, 39, 0.2);
     border-radius: 8px;
     transition: all 0.3s ease;
   }
   
   .form-group input:focus,
   .form-group textarea:focus {
     outline: none;
     border-color: #EE6D8A;
     box-shadow: 0 0 0 3px rgba(238, 109, 138, 0.2);
     background-color: #fff;
   }
   
   .contact-submit-btn {
     align-self: center; 
     background-color: #3c3027;
     color: #F0EFEB;
     font-family: "skippy-sharp", sans-serif;
     font-size: 1.4rem;
     font-weight: 600;
     letter-spacing: 0.05em;
     padding: 1rem 4rem;
     margin-top: 1rem;
     border: none;
     border-radius: 50px;
     cursor: pointer;
     box-shadow: 0 6px 15px rgba(0,0,0,0.15);
     transition: all 0.3s ease;
   }
   
   .contact-submit-btn:hover {
     background-color: #EE6D8A;
     transform: translateY(-4px);
     box-shadow: 0 10px 20px rgba(0,0,0,0.2);
   }
   
   @media (max-width: 768px) {
     .contact-form {
       padding: 2rem 1.5rem;
     }
     .contact-links {
       gap: 1rem;
     }
     .contact-btn {
       width: 100%;
       text-align: center;
     }
     .contact-divider {
       max-width: 100%;
     }
   }
   
   .lightbox {
     visibility: hidden; 
     pointer-events: none; 
     display: flex; 
     position: fixed;
     z-index: 10000; 
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(60, 48, 39, 0.95); 
     backdrop-filter: blur(8px);
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s ease, visibility 0.3s ease;
   }
   
   .lightbox.active {
     visibility: visible;
     pointer-events: auto; 
     opacity: 1;
   }
   
   .lightbox-content {
     max-width: 90%;
     max-height: 90vh;
     object-fit: contain;
     border-radius: 8px;
     box-shadow: 0 10px 30px rgba(0,0,0,0.3);
   }
   
   .lightbox-close {
     position: absolute;
     top: 20px;
     right: 40px;
     color: #F0EFEB;
     font-size: 3rem;
     font-weight: bold;
     cursor: pointer;
     transition: color 0.3s ease, transform 0.3s ease;
   }
   
   .lightbox-close:hover {
     color: #EE6D8A;
     transform: scale(1.1);
   }

   .sticky-footer {
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     background: #F0EFEB; 
     backdrop-filter: none;   
     border-top: none;        
     text-align: center;
     padding: 0.6rem 0;
     z-index: 9999;
     pointer-events: none; 
   }
   
   .sticky-footer p {
     margin: 0;
     font-size: 0.75rem; 
     font-family: "skippy-sharp", sans-serif;
     color: #3c3027;
     letter-spacing: 0.05em;
     opacity: 0.8; 
   }