/* =============================================
   808 ARQUITETURA — Stylesheet v3
   ============================================= */

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

:root {
  --black:       #111110;
  --gold:        #7B5C42;
  --gold-lt:     #9B7A60;
  --cream:       #f3efe9;
  --white:       #faf9f7;
  --mid:         #6b6b68;
  --light:       #e8e4de;
  --cement:      #D4D0C9;
  --font-serif:  'Big Shoulders Display', sans-serif;
  --font-sans:   'Phenomena', sans-serif;
  --section-gap: 160px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  cursor: none;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── CURSOR ── */
.cursor {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(123,92,66,0.6); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease);
}
.cursor-dot {
  position: fixed; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
.cursor.hover {
  width: 64px; height: 64px;
  background: rgba(123,92,66,0.08);
  border-color: var(--gold);
}
@media (hover: none) { .cursor, .cursor-dot { display: none; } body { cursor: auto; } }

/* ── CONTAINER ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ── SECTION SPACING ── */
.section { padding: var(--section-gap) 0; }

/* ── TYPOGRAPHY UTILITIES ── */
.section-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400; line-height: 1.1;
  color: var(--black); margin-bottom: 36px;
}
.section-title em { font-style: normal; color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-light  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-dark   { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: transparent; color: var(--black); }
.btn-gold   { background: var(--gold); color: var(--white); border-color: var(--gold); width: 100%; text-align: center; }
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible   { opacity: 1; transform: none; }
.reveal-delay-1   { transition-delay: .1s; }
.reveal-delay-2   { transition-delay: .2s; }
.reveal-delay-3   { transition-delay: .3s; }
.reveal-delay-4   { transition-delay: .45s; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
  transition: background .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s;
}
.navbar.scrolled {
  background: rgba(17,17,16,0.88);
  backdrop-filter: blur(12px);
  padding: 18px 48px;
}
.navbar.scrolled .logo-arq { color: rgba(255,255,255,0.75); }
.navbar.scrolled .nav-links a { color: rgba(255,255,255,0.65); }
.navbar.scrolled .nav-links a:hover { color: rgba(255,255,255,1); }
.navbar.scrolled .menu-toggle span { background: var(--white); }
.logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 40px; width: auto;
  transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.navbar.scrolled .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.logo-img-footer {
  filter: brightness(0) invert(1);
  opacity: 0.65;
  height: 36px;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-family: var(--font-sans); font-size: 0.75rem;
  font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(30,28,26,0.55);
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: rgba(30,28,26,1); }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--black); transition: all .3s var(--ease);
}

/* Mobile nav */
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; background: rgba(17,17,16,0.97);
    flex-direction: column; justify-content: center; gap: 32px;
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1rem; letter-spacing: 0.14em; }
  .nav-links.open a { color: rgba(255,255,255,0.65); }
  .nav-links.open a:hover { color: rgba(255,255,255,1); }
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--cement);
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.58; }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(218,213,207,0.18);
}
.hero-brand {
  position: absolute; z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center;
  pointer-events: none;
}
.hero-logo-img {
  width: clamp(180px, 22vw, 340px);
  height: auto;
}
.hero-address {
  position: absolute; bottom: 40px; left: 48px; z-index: 2;
  font-family: var(--font-sans); font-size: 0.6rem;
  font-weight: 400; letter-spacing: 0.12em;
  color: rgba(17,17,16,0.38);
}
@media (max-width: 768px) {
  .hero-address { left: 24px; bottom: 24px; }
}

/* ══════════════════════════════════════════════
   NUMBERS EDITORIAL
══════════════════════════════════════════════ */
.numbers-editorial {
  padding: 64px 0;
  background: var(--white);
  border-top:    1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.numbers-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.num-block {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 56px;
}
.num-sep {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--gold); opacity: 0.4;
}
.num-val {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400; color: var(--black);
}
.num-val sup { font-size: 0.5em; vertical-align: super; }
.num-desc {
  font-family: var(--font-sans); font-size: 0.85rem;
  font-weight: 300; letter-spacing: 0.06em;
  color: var(--mid); max-width: 160px; line-height: 1.5;
}
@media (max-width: 768px) {
  .numbers-row { flex-direction: column; gap: 24px; }
  .num-sep { display: none; }
  .num-block { padding: 0 24px; }
}

/* ══════════════════════════════════════════════
   SOBRE
══════════════════════════════════════════════ */
.sobre-section {
  background-color: var(--cement);
  background-image:
    linear-gradient(rgba(212,208,201,0.78), rgba(212,208,201,0.78)),
    url('images/textura-cimento.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.sobre-foto {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
}
.sobre-foto img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 1.2s var(--ease);
}
.sobre-foto:hover img { transform: scale(1.04); }
.sobre-foto-placeholder {
  width: 100%; height: 100%;
  background: var(--light);
  min-height: 500px;
}
.sobre-desc {
  font-family: var(--font-sans); font-size: 1.08rem;
  font-weight: 300; line-height: 2;
  color: var(--mid); margin-bottom: 24px;
}
.sobre-desc strong { color: var(--black); font-weight: 500; }
.sobre-texto .btn { margin-top: 20px; }

.sobre-lista {
  list-style: none; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.sobre-lista li {
  font-family: var(--font-sans); font-size: 1.05rem;
  font-weight: 300; line-height: 1.8; color: var(--mid);
  padding-left: 16px; position: relative;
}
.sobre-lista li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--gold); font-size: 0.7rem; top: 3px;
}
.sobre-lista li strong { color: var(--black); font-weight: 500; }

.sobre-features {
  display: flex; flex-direction: column; gap: 20px;
  margin: 28px 0 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.sobre-feature {
  display: flex; align-items: flex-start; gap: 18px;
}
.sobre-feature-icon {
  font-size: 0.7rem; color: var(--gold);
  margin-top: 2px; flex-shrink: 0;
}
.sobre-feature-title {
  font-family: var(--font-sans); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--black); margin-bottom: 6px;
}
.sobre-feature-desc {
  font-family: var(--font-sans); font-size: 1rem;
  font-weight: 300; line-height: 1.8; color: var(--mid);
}
@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-foto { aspect-ratio: 4/3; }
}

/* ══════════════════════════════════════════════
   NOSSAS SOLUÇÕES
══════════════════════════════════════════════ */
.solucoes-section { background: var(--white); }

.solucoes-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}

.solucoes-lista {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 40px;
}

.solucao-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.solucao-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.solucao-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--gold);
}
.solucao-icon svg { width: 100%; height: 100%; }

.solucao-titulo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}

.solucao-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
}

.solucoes-desc {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 2;
  color: var(--mid);
}
.solucoes-desc strong { color: var(--black); font-weight: 500; }

.solucoes-texto {
  display: flex;
  align-items: center;
  padding-left: 48px;
  border-left: 1px solid rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .solucoes-grid { grid-template-columns: 1fr; gap: 48px; }
  .solucoes-texto { padding-left: 0; border-left: none; border-top: 1px solid rgba(0,0,0,0.12); padding-top: 40px; }
}

/* ══════════════════════════════════════════════
   PROJETOS
══════════════════════════════════════════════ */
.projetos-section {
  background-color: var(--cement);
  background-image:
    linear-gradient(rgba(212,208,201,0.78), rgba(212,208,201,0.78)),
    url('images/textura-cimento.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-header { margin-bottom: 56px; }

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
@media (max-width: 1024px) { .projetos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .projetos-grid { grid-template-columns: repeat(2, 1fr); } }

.projeto-card { cursor: pointer; }
.projeto-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--light);
}
.projeto-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.projeto-card:hover .projeto-thumb img { transform: scale(1.07); }

.projeto-overlay {
  position: absolute; inset: 0;
  background: rgba(17,17,16,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s var(--ease);
}
.projeto-card:hover .projeto-overlay { opacity: 1; }
.projeto-ver {
  font-family: var(--font-sans); font-size: 0.62rem;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 10px 22px;
}

.projeto-info {
  display: flex; flex-direction: column;
  padding: 12px 14px 16px;
  background: var(--white);
  gap: 6px;
}
.projeto-sigla {
  font-family: var(--font-serif); font-size: 1rem;
  font-weight: 400; letter-spacing: 0.04em;
  color: var(--black);
}
.projeto-credits {
  display: flex; flex-direction: column; gap: 2px;
}
.projeto-credit-row {
  font-family: var(--font-sans); font-size: 0.58rem;
  font-weight: 300; letter-spacing: 0.04em;
  color: var(--mid); line-height: 1.5;
}
.projeto-credit-row em {
  font-style: normal; font-weight: 500;
  color: var(--gold); margin-right: 4px;
  text-transform: uppercase; font-size: 0.52rem; letter-spacing: 0.1em;
}

/* ── TEAM ── */
.team-section-wrap { background: var(--white); }
.team-header  { margin-bottom: 56px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.team-card { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 1;
  background: var(--light);
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 0;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(100%);
  transition: transform 0.8s var(--ease);
}
.team-photo--zoom img {
  object-position: center 25%;
  transform: scale(1.25);
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card:hover .team-photo--zoom img { transform: scale(1.32); }
.team-name {
  font-family: var(--font-serif); font-size: 1rem;
  font-weight: 400; color: var(--black);
  margin-bottom: 4px;
}
.team-role {
  font-family: var(--font-sans); font-size: 0.72rem;
  font-weight: 300; letter-spacing: 0.08em;
  color: var(--mid); text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   PARCEIROS
══════════════════════════════════════════════ */
.parceiros-section {
  background-color: var(--cement);
  background-image:
    linear-gradient(rgba(212,208,201,0.78), rgba(212,208,201,0.78)),
    url('images/textura-cimento.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parceiros-inner {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 100px;
  align-items: start;
}
.parceiros-desc {
  font-family: var(--font-sans); font-size: 1.15rem;
  font-weight: 300; line-height: 2;
  color: var(--mid); margin-bottom: 24px;
}
.parceiros-desc strong { color: var(--black); font-weight: 500; }

.parceiros-logos {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 48px;
  border-left: 1px solid rgba(0,0,0,0.12);
}
.parceiro-item {
  display: flex;
}
.parceiro-item:nth-child(odd)  { justify-content: flex-start; }
.parceiro-item:nth-child(even) { justify-content: flex-end; }

.parceiro-logo {
  display: block;
  height: 86px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.parceiro-logo-invert { filter: invert(1); mix-blend-mode: normal; }

.parceiro-logo[alt="Bloco Arquitetos"]              { height: 48px; }
.parceiro-logo[alt="casulo"]                        { height: 48px; }
.parceiro-logo[alt="Lamas Engenharia + Arquitetura"] { height: 130px; }
.parceiro-logo[alt="Casa4! Arquitetura"]             { height: 130px; }

/* Partner name styles */
.pn { display: inline; }
.pn-bold   { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.06em; color: var(--black); }
.pn-reg    { font-family: var(--font-sans); font-weight: 300; color: var(--black); }
.pn-serif  { font-family: var(--font-serif); font-weight: 400; color: var(--black); }
.pn-spaced { font-family: var(--font-sans); font-weight: 300; letter-spacing: 0.26em; color: var(--mid); }
.pn-italic { font-family: var(--font-serif); font-style: normal; font-weight: 400; color: var(--black); }
.pn-xs     { font-size: 0.62em; font-weight: 300; letter-spacing: 0.1em; vertical-align: middle; }
/* Size scale for organic feel */
.pn-xl { font-size: 1.9rem; }
.pn-lg { font-size: 1.35rem; }
.pn-md { font-size: 1.05rem; }
.pn-sm { font-size: 0.75rem; }

@media (max-width: 900px) {
  .parceiros-inner { grid-template-columns: 1fr; gap: 48px; }
  .parceiros-logos { border-left: none; padding-left: 0; border-top: 1px solid rgba(0,0,0,0.12); }
  .pn-xl { font-size: 1.5rem; }
  .pn-lg { font-size: 1.1rem; }
}

/* ══════════════════════════════════════════════
   CONTATO
══════════════════════════════════════════════ */
.contato-section { background: var(--white); }
.contato-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: start;
}
.contato-list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.contato-item { display: flex; flex-direction: column; gap: 6px; }
.contato-label {
  font-family: var(--font-sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.contato-value {
  font-family: var(--font-sans); font-size: 1.08rem;
  font-weight: 300; line-height: 1.7; color: var(--black);
}
.contato-value a { color: var(--black); transition: color .2s; }
.contato-value a:hover { color: var(--gold); }

.contato-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mid);
}
.form-group input,
.form-group textarea {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  color: var(--black); background: var(--white);
  border: 1px solid var(--light); padding: 12px 16px;
  outline: none; transition: border-color .25s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107,107,104,0.5); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; }
.form-success {
  display: none; font-family: var(--font-sans); font-size: 0.78rem;
  color: var(--gold); text-align: center; padding-top: 8px;
}
@media (max-width: 900px) {
  .contato-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer { background: var(--black); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 48px; padding-bottom: 40px;
  flex-wrap: wrap; gap: 24px;
}
.logo-footer .logo-808 { color: var(--gold); }
.logo-footer .logo-arq { color: rgba(255,255,255,0.45); }
.footer-nav {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-sans); font-size: 0.62rem;
  font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color .2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; padding-bottom: 28px;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p {
  font-family: var(--font-sans); font-size: 0.6rem;
  font-weight: 300; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.22);
}
@media (max-width: 768px) {
  .footer-inner    { flex-direction: column; align-items: flex-start; }
  .footer-nav      { gap: 16px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

/* ── WHATSAPP FLUTUANTE ── */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ══════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,10,9,0.96);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lb-close {
  position: absolute; top: 28px; right: 36px;
  font-size: 2rem; line-height: 1; color: rgba(255,255,255,0.55);
  background: none; border: none; cursor: pointer;
  transition: color .2s; z-index: 2;
}
.lb-close:hover { color: var(--white); }

.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2.5rem; line-height: 1; color: rgba(255,255,255,0.45);
  background: none; border: none; cursor: pointer;
  padding: 16px; transition: color .2s; z-index: 2;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { color: var(--white); }

.lb-stage {
  width: 100%; height: calc(100svh - 100px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 80px;
}
.lb-stage img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: opacity .25s var(--ease);
}
.lb-stage img.loading { opacity: 0; }

.lb-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: linear-gradient(to top, rgba(10,10,9,0.7), transparent);
}
.lb-title {
  font-family: var(--font-serif); font-size: 1rem;
  font-weight: 300; color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}
.lb-counter {
  font-family: var(--font-sans); font-size: 0.65rem;
  font-weight: 300; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.35);
}
