/* =========================================================
   ARCHITECTURE PORTFOLIO — DESIGN SYSTEM
   Inspirado em padovaniarquitetos.com
   Font: Space Grotesk | Paleta: #F4F4F4 / #0D0D0D
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ─── TOKENS ───────────────────────────────────────────── */
:root {
  --bg:          #F4F4F4;
  --bg-dark:     #0D0D0D;
  --text:        #0D0D0D;
  --text-muted:  #6B6B6B;
  --text-light:  #F4F4F4;
  --border:      rgba(13, 13, 13, 0.12);
  --overlay:     rgba(13, 13, 13, 0.55);

  --font:        'Space Grotesk', sans-serif;

  --header-h:    72px;
  --ease:        cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);

  --radius:      2px;
  --gap:         12px;
  --section-pad: clamp(60px, 8vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); border: none; background: none; cursor: pointer; }
ul { list-style: none; }

/* ─── PAGE LOADER ───────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.loader__wordmark {
  font-size: clamp(10px, 1.5vw, 13px);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.loader__bar {
  width: 40px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}

.loader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: translateX(-100%);
  animation: barFill 1.6s var(--ease) 0.5s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes barFill {
  to { transform: translateX(0); }
}

/* ─── HEADER ────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 64px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

/* Logo texto e hamburger brancos sobre o hero */
.header .logo__text {
  color: var(--text-light);
  transition: color 0.4s var(--ease);
}

.header .hamburger__line {
  background: var(--text-light);
  transition: background 0.4s var(--ease), width 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.3s;
}

/* Quando o header ganha fundo claro (scroll) → texto escuro */
.header.scrolled .logo__text {
  color: var(--text);
}

.header.scrolled .hamburger__line {
  background: var(--text);
}

.header.scrolled {
  background: rgba(244, 244, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  flex-shrink: 0;
}

.logo__mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

.logo__text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
  margin-right: -8px;
  width: 44px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hamburger:hover { opacity: 0.6; }

.hamburger__line {
  display: block;
  height: 1px;
  background: var(--text);
  transition: width 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.3s;
}

.hamburger__line:nth-child(1) { width: 28px; }
.hamburger__line:nth-child(2) { width: 20px; }

.hamburger.active .hamburger__line:nth-child(1) {
  width: 24px;
  transform: translateY(3.5px) rotate(45deg);
}
.hamburger.active .hamburger__line:nth-child(2) {
  width: 24px;
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ─── NAV OVERLAY ───────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 12vw, 140px) clamp(32px, 8vw, 120px);
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}

.nav-overlay.open {
  pointer-events: all;
  clip-path: inset(0 0 0% 0);
}

.nav-overlay .logo__text,
.nav-overlay .logo__mark path {
  fill: var(--text-light);
  color: var(--text-light);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.nav__item {
  overflow: hidden;
}

.nav__link {
  display: inline-block;
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out), opacity 0.4s;
  opacity: 0.5;
}

.nav__link:hover { opacity: 1; }

.nav-overlay.open .nav__link {
  transform: translateY(0);
  opacity: 0.5;
}

.nav-overlay.open .nav__item:nth-child(1) .nav__link { transition-delay: 0.05s; }
.nav-overlay.open .nav__item:nth-child(2) .nav__link { transition-delay: 0.10s; }
.nav-overlay.open .nav__item:nth-child(3) .nav__link { transition-delay: 0.15s; }
.nav-overlay.open .nav__item:nth-child(4) .nav__link { transition-delay: 0.20s; }
.nav-overlay.open .nav__item:nth-child(5) .nav__link { transition-delay: 0.25s; }

.nav__link.active { opacity: 1; }

.nav__footer {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(244, 244, 244, 0.12);
}

.nav__contact a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(244, 244, 244, 0.4);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav__contact a:hover { color: var(--text-light); }

.nav__lang {
  display: flex;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav__lang a {
  color: rgba(244, 244, 244, 0.3);
  transition: color 0.3s;
}

.nav__lang a.active,
.nav__lang a:hover { color: var(--text-light); }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  height: 100svh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(24px, 5vw, 64px) clamp(40px, 6vh, 80px);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease), transform 7s var(--ease-out);
}

.hero__slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide img {
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(13, 13, 13, 0.45) 0%,
      transparent 28%,
      transparent 55%,
      rgba(13, 13, 13, 0.55) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero__tagline {
  font-size: clamp(13px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 0.01em;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out) 0.8s, transform 1s var(--ease-out) 0.8s;
}

.hero__tagline.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out) 1s, transform 1s var(--ease-out) 1s;
}

.hero__cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid rgba(244, 244, 244, 0.35);
  padding: 12px 20px;
  border-radius: var(--radius);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.btn-hero:hover {
  background: var(--text-light);
  border-color: var(--text-light);
  color: var(--text);
}

/* Hero dots */
.hero__dots {
  position: absolute;
  bottom: clamp(40px, 6vh, 80px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 24px;
  height: 1px;
  background: rgba(244, 244, 244, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s var(--ease);
}

.hero__dot.active {
  background: var(--text-light);
  width: 40px;
}

/* ─── GALLERY SECTION ───────────────────────────────────── */
.gallery-section {
  padding: var(--section-pad) clamp(24px, 5vw, 64px);
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 24px 13px;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover { color: var(--text); }

.filter-btn.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Gallery grid — CSS Grid with support for portrait items */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  grid-auto-flow: dense;
  /* #5 — transição suave ao trocar filtro */
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

/* #5 — estado durante a troca de filtro */
.gallery-grid.filtering {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery item */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-item.hidden {
  display: none;
}

/* #4 — Skeleton shimmer: anima o fundo enquanto a mídia carrega */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.gallery-item__img-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  flex: 1;
  /* Gradiente que percorre o card enquanto a imagem não chegou */
  background: linear-gradient(
    90deg,
    #e0e0e0 0%,
    #ececec 40%,
    #e8e8e8 50%,
    #ececec 60%,
    #e0e0e0 100%
  );
  background-size: 200% auto;
  animation: shimmer 1.6s linear infinite;
}

/* Para o shimmer assim que a mídia carregar */
.gallery-item__img-wrap.loaded {
  background: #e0e0e0;
  animation: none;
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.04);
  filter: brightness(0.88);
}

/* Spanning rules for portrait items */
@media (min-width: 1025px) {
  .gallery-item--portrait {
    grid-row: span 3;
  }
}
@media (max-width: 1024px) and (min-width: 601px) {
  .gallery-item--portrait {
    grid-row: span 2;
  }
}

/* Badge de vídeo — ícone play visível no canto */
.gallery-item__video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 244, 244, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  pointer-events: none;
  z-index: 2;
  /* aparece junto com o item, some suavemente no hover */
  opacity: 1;
  transition: opacity 0.5s var(--ease), background 0.3s;
}

/* No hover, o badge recua para dar lugar à legenda */
.gallery-item:hover .gallery-item__video-badge {
  opacity: 0.3;
  background: rgba(13, 13, 13, 0.35);
}

/* Legenda da galeria — aparece com delay para não piscar ao passar o mouse */
.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(13,13,13,0.6) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  /* transição longa + sem delay no estado base (para sair rápido ao tirar o mouse) */
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
  /* delay de 200ms: só aparece se o mouse pausar sobre o item */
  transition-delay: 200ms;
}

.gallery-item__caption span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.7);
}

.gallery-item__caption strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 2px;
}

/* Skeleton / loading state */
.gallery-item.skeleton .gallery-item__img-wrap {
  background: #e8e8e8;
  min-height: 280px;
}

.gallery-item.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* Gallery empty / error state */
.gallery-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  display: none;
}

.gallery-state.visible { display: block; }

.gallery-state__icon {
  font-size: 32px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.gallery-state h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gallery-state p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

.gallery-state code {
  font-family: 'Courier New', monospace;
  background: rgba(13,13,13,0.07);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* ─── ABOUT SECTION ─────────────────────────────────────── */
.about-section {
  padding: var(--section-pad) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

@media (max-width: 768px) {
  .about-section { grid-template-columns: 1fr; }
}

.about__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about__heading {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.about__text {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
}

.about__inline-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.3s;
}

.about__inline-link:hover {
  text-decoration-color: var(--text);
}

/* Competencies list */
.about__competencies {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  max-width: 480px;
}

.about__comp-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.about__comp-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.about__comp-value {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  text-align: right;
}

.about__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
}

.about__image img {
  transition: transform 0.8s var(--ease);
}

.about__image:hover img { transform: scale(1.03); }

/* ─── CONTACT SECTION ───────────────────────────────────── */
.contact-section {
  padding: var(--section-pad) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
}

@media (max-width: 768px) {
  .contact-section { grid-template-columns: 1fr; }
}

.contact__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact__heading {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__item-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__item-value {
  font-size: 15px;
  font-weight: 300;
  transition: opacity 0.3s;
}

.contact__item-value:hover { opacity: 0.6; }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  padding: 32px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer__coords {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ─── LIGHTBOX ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(13, 13, 13, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 120px;
}

@media (max-width: 768px) {
  .lightbox__inner { padding: 80px 16px 120px; }
}

.lightbox__img-wrap {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.lightbox.open .lightbox__img {
  transform: scale(1);
  opacity: 1;
}

/* Iframe para vídeos do Drive no lightbox */
.lightbox__iframe {
  width: min(90vw, 1200px);
  height: min(calc(90vw * 9 / 16), calc(100vh - 160px));
  border: none;
  border-radius: var(--radius);
  background: #000;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244,244,244,0.6);
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
  z-index: 2;
}

.lightbox__close:hover { color: var(--text-light); transform: rotate(90deg); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244,244,244,0.5);
  transition: color 0.3s;
  z-index: 2;
}

.lightbox__nav:hover { color: var(--text-light); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__info {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  text-align: center;
  z-index: 2;
}

.lightbox__category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.4);
  margin-bottom: 4px;
}

.lightbox__counter {
  font-size: 11px;
  color: rgba(244,244,244,0.3);
  letter-spacing: 0.1em;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ─── UTILITY ───────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── CONFIG BANNER ─────────────────────────────────────── */
.config-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 14px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out) 2s;
  flex-wrap: wrap;
}

.config-banner.show { transform: translateY(0); }

.config-banner a {
  color: rgba(244,244,244,0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.3s;
}

.config-banner a:hover { color: var(--text-light); }

.config-banner__close {
  color: rgba(244,244,244,0.4);
  font-size: 18px;
  flex-shrink: 0;
  transition: color 0.3s;
}

.config-banner__close:hover { color: var(--text-light); }

/* ─── HERO PLACEHOLDER IMAGES ───────────────────────────── */
.hero__slide--placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero__slide--placeholder::after {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}
