/* ===============================
   GLOBAL TYPOGRAPHY (OPTIONAL)
================================ */
/* body {
  background: #F5F0E8;
  color: #1E1B16;
 }
*/
/* ===============================
   PROJECT HERO
================================ */
.proj-hero-widget {
  /*padding: 60px 20px 20px;*/
}

.hero-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 40px;
  border-bottom: 1px solid #D4CFC8;
  padding-bottom: 30px;
}

.hero-title-row {
  margin-bottom: 10px;
}

/* CATEGORY */
.proj-index {
  position: relative;
  padding-left: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8A847A;
  margin-bottom: 12px;
  font-family: 'Space Mono', monospace;
}

.proj-index::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: #B5652A;
}

/* TITLE */
.proj-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -1px;
  margin: 0;
}

.proj-title em {
  font-style: italic;
  color: #B5652A;
}

/* STATUS BADGE */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #D4CFC8;
  padding: 10px 16px;
  font-family: 'Space Mono', monospace;
  color: #3D3830;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #5BAD72;
  border-radius: 50%;
}


/* ===============================
   FINAL SPEC BAR DESIGN
================================ */

.spec-bar {
  display: flex;
  width: 100%;
  margin-top: 15px; /* tighter spacing */
  border: 1px solid rgba(0,0,0,0.08);
  background: transparent;
}

.spec-cell {
  flex: 1;
  padding: 22px 26px;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.spec-cell:last-child {
  border-right: none;
}

/* LABEL */
.spec-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8A847A;
  margin-bottom: 4px;
}

/* VALUE */
.spec-value {
  font-family: 'EB Garamond', serif;
  font-size: 15.5px;
  color: #1E1B16;
  line-height: 1.35;
}
/* ===============================
   MOBILE
================================ */

@media (max-width: 768px) {
  .spec-bar {
    flex-direction: column;
    max-width: 100%;
  }

  .spec-cell {
    border-right: none;
    border-bottom: 1px solid #D4CFC8;
  }

  .spec-cell:last-child {
    border-bottom: none;
  }
}

/* ===============================
   GALLERY GRID
================================ */

.project-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

/* LEFT BIG IMAGE */
.gallery-big {
  height: 100%;
}

.gallery-big .gallery-item {
  height: 100%;
}

/* RIGHT GRID */
.gallery-small {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
}

/* ITEM */
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #000;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
  transform: scale(1.05);
}

/* LABEL */
.gallery-label {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-family: 'Space Mono', monospace;
}

/* MOBILE */
@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-small {
    grid-template-rows: auto;
  }
}

.project-gallery {
    display: grid;
    gap: 20px;
}

.project-gallery.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.project-gallery.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.project-gallery.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.featured-layout-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FULL WIDTH */
.featured-layout-v2 .full img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* SECOND ROW */
.second-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* LEFT BIG IMAGE */
.left-big img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* RIGHT GRID */
.right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.right-grid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.project-blueprint {
    position: relative;
    width: 100%;
}

/* MAIN CONTAINER */
.hero-visual {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at center, #2b1a0f, #1a120b);
}

/* BACKGROUND */
.hero-visual-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* IMAGE / SVG */
.hero-illus {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-illus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GRAIN */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.05;
    pointer-events: none;
}

/* CAPTION */
.hero-caption {
    position: absolute;
    bottom: 20px;
    right: 40px;
    z-index: 3;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
  margin-bottom: 4px;
}

.gallery-cell {
  position: relative;
  overflow: hidden;
}

.gallery-cell.span-col {
  grid-row: span 2;
}

/* INNER WRAPPER */
.gallery-cell-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* BACKGROUND */
.gallery-cell-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

/* FALLBACK (if no image) */
.gallery-cell-bg.placeholder {
  background: linear-gradient(135deg, #1a120b, #241a12);
}

/* HOVER */
.gallery-cell:hover .gallery-cell-bg {
  transform: scale(1.05);
}

/* OVERLAY */
.gallery-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

/* LABEL */
.cell-label {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  z-index: 2;
}

