/* ════════════════════════════════════════════════════
   DESIGN INCUBATOR
   Colours: #1A241E | #2D5A3D | #C6A867 | #FAFAF8
   ════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════ */
.sr-hidden {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.sr-from-bottom { transform: translateY(48px); }
.sr-from-top    { transform: translateY(-32px); }
.sr-from-left   { transform: translateX(-56px); }
.sr-from-right  { transform: translateX(56px); }
.sr-visible     { opacity: 1; transform: none; }

/* Stagger delays */
.di-fp__item:nth-child(2)       { transition-delay: .12s; }
.di-dp__item:nth-child(2)       { transition-delay: .1s; }
.di-dp__item:nth-child(3)       { transition-delay: .2s; }
.di-dp__item:nth-child(4)       { transition-delay: .3s; }
.di-dc__row1 > div:nth-child(2) { transition-delay: .15s; }
.di-dc__row2-left > div:nth-child(2) { transition-delay: .15s; }
.di-dc__fac-item:nth-child(2)   { transition-delay: .1s; }
.di-dc__fac-item:nth-child(3)   { transition-delay: .2s; }
.di-dc__fac-item:nth-child(4)   { transition-delay: .3s; }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.di-hero {
  background: #1A241E;
  padding: 64px 0 30px;
}
.di-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-end;
}
.di-hero__text {
  padding-bottom: 48px;
  color: #fff;
}
.di-hero__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #C6A867; margin-bottom: 16px; opacity: .85;
}
.di-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700; line-height: 1.15;
  color: #fff; margin-bottom: 28px;
}
.di-hero__title em { font-style: italic; color: #C6A867; }
.di-hero__tag-row  { display: flex; align-items: center; }
.di-hero__tag {
  flex-shrink: 0;
  border: 1.5px solid #C6A867; color: #C6A867;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 5px 18px; border-radius: 3px;
}
.di-hero__tag-line { flex: 1; height: 1px; background: #C6A867; opacity: .4; }
.di-hero__img-wrap { border-radius: 16px; overflow: hidden; }
.di-hero__img-wrap img {
  width: 100%; height: 420px;
  object-fit: cover; object-position: 5% 25%;
  display: block;
}

/* ════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════ */
.di-about { background: #FAFAF8; padding: 96px 0; }
.di-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.di-about__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px; font-weight: 700;
  color: #1A241E; margin-bottom: 24px;
}
.di-about__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: #555;
  line-height: 1.85; margin-bottom: 36px;
}
.di-about__meta { list-style: none; border-top: 1px solid #e0e0da; margin-bottom: 36px; }
.di-about__meta li {
  display: flex; gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: #666;
  padding: 11px 0; border-bottom: 1px solid #e0e0da;
}
.di-about__meta li span { font-weight: 700; color: #2D5A3D; min-width: 110px; }
.di-about__tag-row { display: flex; align-items: center; }
.di-about__tag {
  flex-shrink: 0;
  border: 1.5px solid #C6A867; color: #C6A867;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 3px;
  cursor: pointer; transition: background .25s, color .25s;
}
.di-about__tag:hover { background: #C6A867; color: #1A241E; }
.di-about__tag-line { flex: 1; height: 1px; background: #C6A867; opacity: .4; }

/* Map + hotspots */
.di-about__map-wrap {
  position: relative; border-radius: 16px;
  overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.1);
}
.di-about__map-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hotspot {
  position: absolute; width: 28px; height: 28px;
  transform: translate(-50%, -50%); cursor: pointer; z-index: 10;
}
.hotspot__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(198,168,103,.25);
  animation: pulse 2s ease-out infinite;
}
.hotspot__dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 12px; height: 12px;
  background: #C6A867; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s;
}
.hotspot:hover .hotspot__dot { transform: translate(-50%,-50%) scale(1.3); }
.hotspot__label {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: #1A241E; color: #C6A867;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap; padding: 5px 12px;
  border-radius: 4px; border: 1px solid #C6A867;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.hotspot__label::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #C6A867;
}
.hotspot:hover .hotspot__label { opacity: 1; }
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}

/* About lightbox */
.hs-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(13,20,16,.92); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; flex-direction: column;
  animation: lbFade .25s ease;
}
.hs-lightbox.open { display: flex; }
@keyframes lbFade { from{opacity:0} to{opacity:1} }
.hs-lb__inner {
  display: flex; flex-direction: column; align-items: center; max-width: 52%;
  animation: lbZoom .4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes lbZoom { from{transform:scale(.5);opacity:0} to{transform:scale(1);opacity:1} }
.hs-lb__img { max-width: 100%; max-height: 55vh; border-radius: 12px; box-shadow: 0 0 60px rgba(0,0,0,.5); }
.hs-lb__caption { margin-top: 18px; color: #C6A867; font-family: 'Playfair Display', serif; font-size: 18px; font-style: italic; text-align: center; }
.hs-lb__close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: #fff;
  font-size: 50px; font-weight: 300; line-height: 1;
  cursor: pointer; transition: color .2s, transform .2s;
}
.hs-lb__close:hover { color: #C6A867; transform: rotate(90deg); }

/* ════════════════════════════════════════════════════
   FLOOR PLAN
   ════════════════════════════════════════════════════ */
.di-fp { background: #fff; padding: 96px 0; }
.di-fp__tag-row { display: flex; align-items: center; margin-bottom: 40px; }
.di-fp__tag {
  flex-shrink: 0; border: 1.5px solid #C6A867; color: #C6A867;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 3px; white-space: nowrap;
}
.di-fp__tag-line { flex: 1; height: 1px; background: #C6A867; opacity: .4; }
.di-fp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.di-fp__item { cursor: pointer; }
.di-fp__img-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transition: transform .35s, box-shadow .35s;
}
.di-fp__item:hover .di-fp__img-wrap { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.di-fp__img-wrap img { width: 100%; height: 360px; object-fit: cover; display: block; transition: transform .5s ease; }
.di-fp__item:hover .di-fp__img-wrap img { transform: scale(1.04); }
.di-fp__label { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 0 4px; }
.di-fp__label-dot { width: 8px; height: 8px; border-radius: 50%; background: #C6A867; flex-shrink: 0; }
.di-fp__label-text { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: #1A241E; letter-spacing: .5px; }

/* Floor Plan lightbox */
.di-fp__lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(13,20,16,.92); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; flex-direction: column;
  animation: fpLbFade .25s ease;
}
.di-fp__lightbox.fp-open { display: flex; }
@keyframes fpLbFade { from{opacity:0} to{opacity:1} }
.di-fp__lb-inner {
  display: flex; flex-direction: column; align-items: center; max-width: 55%;
  animation: fpLbZoom .4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes fpLbZoom { from{transform:scale(.5);opacity:0} to{transform:scale(1);opacity:1} }
.di-fp__lb-img { max-width: 100%; max-height: 75vh; border-radius: 12px; box-shadow: 0 0 60px rgba(0,0,0,.5); }
.di-fp__lb-caption { margin-top: 18px; color: #C6A867; font-family: 'Playfair Display', serif; font-size: 18px; font-style: italic; text-align: center; }
.di-fp__lb-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: #fff;
  font-size: 50px; font-weight: 300; line-height: 1;
  cursor: pointer; transition: color .2s, transform .2s;
}
.di-fp__lb-close:hover { color: #C6A867; transform: rotate(90deg); }

/* ════════════════════════════════════════════════════
   DRAWING PLAN
   ════════════════════════════════════════════════════ */
.di-dp { background: #FAFAF8; padding: 96px 0; }
.di-dp__tag-row { display: flex; align-items: center; margin-bottom: 40px; }
.di-dp__tag {
  flex-shrink: 0; border: 1.5px solid #C6A867; color: #C6A867;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 3px; white-space: nowrap;
}
.di-dp__tag-line { flex: 1; height: 1px; background: #C6A867; opacity: .4; }
.di-dp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.di-dp__item { cursor: pointer; }
.di-dp__img-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transition: transform .35s, box-shadow .35s;
}
.di-dp__item:hover .di-dp__img-wrap { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
.di-dp__img-wrap img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .5s ease; }
.di-dp__item:hover .di-dp__img-wrap img { transform: scale(1.05); }
.di-dp__label { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 0 4px; }
.di-dp__label-dot { width: 8px; height: 8px; border-radius: 50%; background: #C6A867; flex-shrink: 0; }
.di-dp__label-text { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: #1A241E; letter-spacing: .5px; }

/* Drawing Plan lightbox */
.di-dp__lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(13,20,16,.92); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; flex-direction: column;
  animation: dpLbFade .25s ease;
}
.di-dp__lightbox.dp-open { display: flex; }
@keyframes dpLbFade { from{opacity:0} to{opacity:1} }
.di-dp__lb-inner {
  display: flex; flex-direction: column; align-items: center; max-width: 55%;
  animation: dpLbZoom .4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes dpLbZoom { from{transform:scale(.5);opacity:0} to{transform:scale(1);opacity:1} }
.di-dp__lb-img { max-width: 100%; max-height: 75vh; border-radius: 12px; box-shadow: 0 0 60px rgba(0,0,0,.5); }
.di-dp__lb-caption { margin-top: 18px; color: #C6A867; font-family: 'Playfair Display', serif; font-size: 18px; font-style: italic; text-align: center; }
.di-dp__lb-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: #fff;
  font-size: 50px; font-weight: 300; line-height: 1;
  cursor: pointer; transition: color .2s, transform .2s;
}
.di-dp__lb-close:hover { color: #C6A867; transform: rotate(90deg); }

/* ════════════════════════════════════════════════════
   DESIGN COMPONENT
   ════════════════════════════════════════════════════ */
.di-dc { background: #fff; padding: 96px 0; }

/* Intro */
.di-dc__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 80px; }
.di-dc__intro-img-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.di-dc__intro-img-wrap img { width: 100%; height: 440px; object-fit: cover; display: block; transition: transform .6s ease; }
.di-dc__intro-img-wrap:hover img { transform: scale(1.03); }
.di-dc__intro-heading { font-family: 'Playfair Display', Georgia, serif; font-size: 42px; font-weight: 700; color: #1A241E; margin-bottom: 20px; }
.di-dc__intro-desc { font-size: 15px; color: #666; line-height: 1.85; margin-bottom: 36px; text-align: justify; }
.di-dc__reception-row { display: flex; align-items: center; }
.di-dc__reception-line { flex: 1; height: 1px; background: #C6A867; opacity: .4; }
.di-dc__reception-tag {
  flex-shrink: 0; border: 1.5px solid #C6A867; color: #C6A867;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 3px;
}
.di-dc__divider { width: 100%; height: 1px; background: #e0e0da; margin-bottom: 72px; }

/* Tag rows */
.di-dc__tag-row--left,
.di-dc__tag-row--right { display: flex; align-items: center; margin-bottom: 20px; }
.di-dc__tag-row--left .di-dc__tag-line  { flex:1; height:1px; background:#C6A867; opacity:.4; margin-left:16px; }
.di-dc__tag-row--right { justify-content: flex-end; }
.di-dc__tag-row--right .di-dc__tag-line { flex:1; height:1px; background:#C6A867; opacity:.4; margin-right:16px; }
.di-dc__tag {
  flex-shrink: 0; border: 1.5px solid #C6A867; color: #C6A867;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 18px; border-radius: 3px; white-space: nowrap;
}

/* Row 1: Research + Mini Gallery */
.di-dc__row1 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }

/* Row 2: [Meeting+Courtyard] | [Thinking Deck] */
.di-dc__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 72px; }
.di-dc__row2-left { display: flex; flex-direction: column; gap: 28px; }
.di-dc__row2-right { display: flex; flex-direction: column; justify-content: center; }

/* Card */
.di-dc__card {
  border-radius: 16px; overflow: hidden;
  cursor: pointer; position: relative;
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transition: transform .35s, box-shadow .35s;
  flex: 1;
}
.di-dc__card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,.16); }
.di-dc__card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
  min-height: 260px;
}
.di-dc__card:hover img { transform: scale(1.05); }
.di-dc__card-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(26,36,30,.82); border: 1px solid #C6A867; color: #C6A867;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 3px; pointer-events: none;
}

/* Thinking Deck: fixed height, centered */
.di-dc__row2-right .di-dc__card { flex: unset; }
.di-dc__row2-right .di-dc__card img { height: 280px; min-height: unset; }

/* Facilities */
.di-dc__fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.di-dc__fac-item { cursor: pointer; }
.di-dc__fac-img {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transition: transform .35s, box-shadow .35s;
}
.di-dc__fac-item:hover .di-dc__fac-img { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.14); }
.di-dc__fac-img img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s; }
.di-dc__fac-item:hover .di-dc__fac-img img { transform: scale(1.06); }
.di-dc__fac-label { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 0 4px; }
.di-dc__fac-label-dot { width: 7px; height: 7px; border-radius: 50%; background: #C6A867; flex-shrink: 0; }
.di-dc__fac-label-text { font-size: 13px; font-weight: 600; color: #1A241E; letter-spacing: .5px; }

/* Design Component lightbox */
.di-dc__lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(13,20,16,.92); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; flex-direction: column;
  animation: dcFade .25s ease;
}
.di-dc__lightbox.dc-open { display: flex; }
@keyframes dcFade { from{opacity:0} to{opacity:1} }
.di-dc__lb-inner {
  display: flex; flex-direction: column; align-items: center; max-width: 55%;
  animation: dcZoom .4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes dcZoom { from{transform:scale(.5);opacity:0} to{transform:scale(1);opacity:1} }
.di-dc__lb-img { max-width: 100%; max-height: 75vh; border-radius: 12px; box-shadow: 0 0 60px rgba(0,0,0,.5); }
.di-dc__lb-caption { margin-top: 18px; color: #C6A867; font-family: 'Playfair Display', serif; font-size: 18px; font-style: italic; text-align: center; }
.di-dc__lb-counter { margin-top: 6px; color: #888; font-size: 13px; text-align: center; }
.di-dc__lb-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: #fff;
  font-size: 50px; font-weight: 300; line-height: 1;
  cursor: pointer; transition: color .2s, transform .2s;
}
.di-dc__lb-close:hover { color: #C6A867; transform: rotate(90deg); }
.di-dc__lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none; color: #fff;
  font-size: 22px; width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  transition: background .25s, color .25s; z-index: 10001;
}
.di-dc__lb-nav:hover { background: #C6A867; color: #1A241E; }
.di-dc__lb-nav--prev { left: 28px; }
.di-dc__lb-nav--next { right: 28px; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .di-dp__grid { grid-template-columns: repeat(2, 1fr); }
  .di-dc__fac-grid { grid-template-columns: repeat(2, 1fr); }
  .di-dc__row2 { grid-template-columns: 1fr; }
  .di-dc__row2-right { margin-top: 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .di-hero__inner,
  .di-about__grid,
  .di-fp__grid,
  .di-dc__intro,
  .di-dc__row1 { grid-template-columns: 1fr; }
  .di-dp__grid { grid-template-columns: repeat(2, 1fr); }
  .di-dc__fac-grid { grid-template-columns: repeat(2, 1fr); }
  .di-hero__img-wrap img { height: 300px; }
  .di-dc__lb-nav--prev { left: 10px; }
  .di-dc__lb-nav--next { right: 10px; }
  .di-dc__lb-inner,
  .di-fp__lb-inner,
  .di-dp__lb-inner,
  .hs-lb__inner { max-width: 92%; }
}