/* Elevate Fit-Out — Project page (from "Elevate - Project.dc.html") */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #131312;
  color: #F5F3EF;
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

a { color: #EE5D2F; text-decoration: none; }
a:hover { color: #F5F3EF; }

.accent { color: #EE5D2F; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 32px;
  background: linear-gradient(180deg, rgba(19,19,18,.55), rgba(19,19,18,0));
  transition: background .35s ease;
}
.nav.scrolled { background: rgba(10,10,9,.97); }

.nav-wordmark { justify-self: start; }
.nav-wordmark img { height: 34px; display: block; }
.nav-mark { justify-self: center; }
.nav-mark img { height: 46px; display: block; }

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
}

.btn {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
  border-radius: 10px;
}
.btn-solid { background: #EE5D2F; color: #131312; padding: 14px 28px; }
.btn-ghost { border: 1px solid rgba(245,243,239,.4); color: #F5F3EF; padding: 13px 24px; }

.nav-burger {
  width: 47px; height: 47px;
  border: 0;
  border-radius: 10px;
  background: #F5F3EF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-burger span { width: 18px; height: 2px; background: #131312; display: block; }

/* ---------- Fullscreen menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(19,19,18,.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 8vw;
}
.menu[hidden] { display: none; }

.menu-close {
  position: absolute;
  top: 26px; right: 32px;
  border: 0;
  background: none;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  color: #F5F3EF;
  cursor: pointer;
  padding: 12px;
}

.menu-link {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 6vw, 84px);
  color: #F5F3EF;
  line-height: 1.15;
}
.menu-link-accent { color: #EE5D2F; }

/* ---------- Hero ---------- */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #131312;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #1E1D1B center/cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,19,18,.3), rgba(19,19,18,0) 35%, rgba(19,19,18,.72));
}
.hero-content {
  position: absolute;
  left: 44px; right: 44px; bottom: 52px;
}
.hero-back {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: #D3CFC4;
}
.hero-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  color: #EE5D2F;
  margin-top: 18px;
}
.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 6.4vw, 104px);
  font-weight: 400;
  line-height: 1;
  color: #F5F3EF;
  margin: 12px 0 0;
}

/* ---------- Facts ---------- */

.facts { background: #DFD8C8; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(30,27,22,.15);
}
.fact {
  padding: 30px 24px;
  border-right: 1px solid rgba(30,27,22,.15);
}
.fact-first { padding-left: 44px; }
.fact-last { border-right: 0; }
.fact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #7A7466;
}
.fact-value {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 2.4vw, 36px);
  color: #1E1B16;
  margin-top: 8px;
}

.facts-body {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  padding: 64px 44px 80px;
}
.facts-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #4A453C;
  margin: 0;
}
.scope {
  border-left: 1px solid rgba(30,27,22,.2);
  padding-left: 40px;
}
.scope-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: #EE5D2F;
}
.scope-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.scope-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px solid rgba(30,27,22,.14);
  padding-bottom: 11px;
}
.scope-dot { width: 7px; height: 7px; background: #EE5D2F; flex: none; }
.scope-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #1E1B16;
}

/* ---------- Before / after ---------- */

.ba {
  background: #131312;
  padding: 90px 44px 100px;
}
.ba[hidden] { display: none; }
.ba-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  color: #EE5D2F;
}
.ba-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 3.6vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  color: #F5F3EF;
  margin: 16px 0 0;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.ba-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1E1D1B;
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}
.ba-after, .ba-img {
  position: absolute;
  background: #1E1D1B center/cover no-repeat;
}
.ba-after { inset: 0; }
.ba-before {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
}
.ba-img {
  top: 0; left: 0;
  height: 100%; width: 100%;
  filter: brightness(.75);
}
.ba-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: #F5F3EF;
  box-shadow: 0 0 12px rgba(19,19,18,.5);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #F5F3EF;
  color: #131312;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 8px 14px;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(19,19,18,.45);
  pointer-events: none;
}
.ba-tag {
  position: absolute;
  top: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  padding: 7px 13px;
  border-radius: 99px;
  pointer-events: none;
}
.ba-tag-before { left: 14px; background: rgba(19,19,18,.72); color: #F5F3EF; }
.ba-tag-after { right: 14px; background: rgba(245,243,239,.92); color: #131312; }
.ba-cap {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: #B9B5AC;
  margin-top: 14px;
}

/* ---------- Gallery ---------- */

.gallery {
  background: #131312;
  padding: 0 0 2px;
}
.gallery[hidden] { display: none; }
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 44px 32px;
}
.gallery-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 400;
  color: #F5F3EF;
  margin: 0;
}
.gallery-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: #8F8D89;
  padding-bottom: 8px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}
.gallery-cell {
  aspect-ratio: 1;
  background: #1E1D1B center/cover no-repeat;
  transition: filter .4s ease;
  cursor: pointer;
}
.gallery-cell:hover { filter: brightness(1.15); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,10,9,.96);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lb-img {
  max-width: min(88vw, 1400px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  user-select: none;
}
.lb-close {
  position: absolute;
  top: 22px; right: 28px;
  border: 0;
  background: none;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #F5F3EF;
  cursor: pointer;
  padding: 12px;
}
.lb-close:hover { color: #EE5D2F; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(245,243,239,.3);
  background: rgba(19,19,18,.55);
  color: #F5F3EF;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  cursor: pointer;
}
.lb-nav:hover { border-color: #EE5D2F; color: #EE5D2F; }
.lb-prev { left: 26px; }
.lb-next { right: 26px; }
.lb-count {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: #B9B5AC;
  pointer-events: none;
}

@media (max-width: 679px) {
  .lb-nav { width: 44px; height: 44px; font-size: 18px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-img { max-width: 96vw; }
}

/* ---------- Next project ---------- */

.next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 56px 44px;
  background: #DFD8C8;
  color: #1E1B16;
  border-top: 2px solid #EE5D2F;
}
.next-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  color: #EE5D2F;
}
.next-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 3.8vw, 58px);
  color: #1E1B16;
  margin-top: 10px;
}
.next-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #7A7466;
  margin-top: 8px;
}
.next-arrow {
  font-family: 'Anton', sans-serif;
  font-size: 44px;
  color: #EE5D2F;
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-body { grid-template-columns: 1fr; }
}

@media (max-width: 679px) {
  .ba-grid, .facts-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-btn { display: none; }
  .rsp-pad { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-content { left: 20px; right: 20px; }
  .fact-first { padding-left: 24px; }
}
