@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=Inter:wght@300;400;500&display=swap');

:root{
  --ink:            #0b0b0a;
  --ivory:          #f6f3ec;
  --gold:           #c9a463;
  --gold-dim:       rgba(201,164,99,0.45);
  --overlay-top:    rgba(6,6,5,0.55);
  --overlay-bottom: rgba(6,6,5,0.15);
  --line:           rgba(246,243,236,0.22);
  --line-soft:      rgba(246,243,236,0.12);

  
  --font-body:    'Inter',  sans-serif;

  --header-height: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a{ color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/*********************  HEADER & BANNER ************************/





/* BANNER (single static image, fixed 600px height) */
.site-banner{ position:relative; width:100%; height:650px; overflow:hidden; background: var(--ink); }
.site-banner__image{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position: bottom center;
}

.site-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  background: linear-gradient(
    to left,
    rgba(6, 6, 5, 0.45) 0%,
    rgba(6, 6, 5, 0.30) 45%,
    rgba(6, 6, 5, 0.12) 80%,
    transparent 80%
  );
}

.site-banner__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: -60px 0 0 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: nowrap;
}

.site-banner__label-badge{
  background:#FCC222;
  color:#1a1a1a;
  font-family: 'Philosopher', serif;
  font-weight:500;
  font-size:18px;
  letter-spacing:0.15em;
  text-transform:uppercase;
  padding:6px 20px;
  border-radius:1px;
  white-space:nowrap;
}

.site-banner__label-line{
  display:inline-block;
  width:40px;
  height:1px;
  background:#FCC222;
}

.site-banner__headings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  margin: 0;
  font-family: 'Philosopher', serif;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 42px);
  text-transform: uppercase;
  color: #FFFFFF;
  text-align: center;
  white-space: nowrap;
}

/*********************  PROJECT SECTION ************************/

 .projects-section {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    background: #FCFBF9;
    padding: 80px 80px 100px;
  }
 
  .section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 56px;
  }
 
  .section-title {
    font-size: 30px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    font-family: Georgia, "Times New Roman", serif;
  }
 
  .section-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #565c66;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
  }
 
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
 
  .project-card {
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid #E2DFDA;
  }
 
  .project-image-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
  }
 
  .project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
  .type-label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 1px;
    letter-spacing: 0.3px;
  }
 
  .project-body {
    padding: 22px 22px 26px;
  }
 
  .project-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 10px;
    font-family: 'Fraunces', serif;
    text-transform: uppercase;
  }
 
  .project-location {
    font-size: 15px;
    color: #7a7a7a;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
  }
 
  .project-location i {
    font-size: 13px;
    color: #7a7a7a;
  }
 
  .info-divider {
    border: none;
    border-top: 1px solid #E2DFDA;
    margin: 0 0 18px;
  }
 
  .info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
  }
 
  .info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 300;
    color: #4a4a4a;
    white-space: nowrap;
  }
 
  .info-item .num {
    font-weight: 600;
    color: #1a1a1a;
  }
 
  .info-sep {
    width: 1px;
    height: 14px;
    background: #D8D5CF;
    flex-shrink: 0;
  }
 
  .view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    letter-spacing: 0.2px;
  }
 
  .view-more-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
  }
 
  .view-more-btn:hover i {
    transform: translateX(4px);
  }
 
  /* Real gallery images live in plain HTML per card, hidden from view,
     and are read by the script when a popup opens. Edit the <img> src
     values inside .card-gallery-source to point at each project's photos. */
  .card-gallery-source {
    display: none;
  }
 
  /* --- gallery popup --- */
  .gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 15, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 40px;
  }
 
  .gallery-overlay.open {
    display: flex;
  }
 
  .gallery-popup {
    background: #FCFBF9;
    width: 1100px;
    max-width: 100%;
    max-height: 90vh;
    padding: 32px;
    position: relative;
    overflow-y: auto;
  }
 
  .gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
 
  .gallery-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
  }
 
  .gallery-close {
    background: none;
    border: 1px solid #1a1a1a;
    width: 34px;
    height: 34px;
    font-size: 16px;
    color: #1a1a1a;
    cursor: pointer;
    line-height: 1;
  }
 
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
  }
 
  .gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }
 
  .gallery-slideshow {
    display: none;
    flex-direction: column;
    align-items: center;
  }
 
  .gallery-slideshow.open {
    display: flex;
  }
 
  .slideshow-stage {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ECECEC;
    position: relative;
    overflow: hidden;
  }
 
  .slideshow-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
 
  .slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FCFBF9;
    border: none;
    width: 42px;
    height: 42px;
    font-size: 18px;
    color: #1a1a1a;
    cursor: pointer;
  }
 
  .slide-nav.prev { left: 14px; }
  .slide-nav.next { right: 14px; }
 
  .slideshow-count {
    margin-top: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #7a7a7a;
    letter-spacing: 0.3px;
  }
 
  .gallery-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
  }
 
  .slideshow-btn {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
 
  .slideshow-btn i {
    font-size: 11px;
  }