@charset "utf-8";
/* CSS Document */

:root {
  --bg: #0b0d12;
  --panel: #121723;
  --panel-2: #171d2b;
  --soft: #20283a;
  --text: #edf2ff;
  --muted: #a8b3c9;
  --line: rgba(255,255,255,.1);
  --brand: #87a0ff;
  --brand-2: #4fd1ff;
  --card: rgba(18, 23, 35, .82);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 24px;
  --max: 1200px;
  --stagger-step: 140ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(135,160,255,.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(79,209,255,.12), transparent 25%),
    linear-gradient(180deg, #0b0d12 0%, #111827 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrapper {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 16px 0;
  background: rgba(9,9,14,.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 900;
  color: #09090e;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-count {
  font-size: .82rem;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-count span {
  color: var(--brand);
  font-weight: 600;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.02em;
  color: var(--text);
  white-space: nowrap;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  flex-shrink: 0;
}

.nav-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 4px;
}

.nav-tab {
  padding: 9px 20px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: .2s ease;
  border: 1px solid transparent;
  background: none;
  white-space: nowrap;
}

.nav-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(135,160,255,.18), rgba(79,209,255,.1));
  border-color: rgba(135,160,255,.3);
  color: #dde5ff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #08111b;
  transition: .2s ease;
  white-space: nowrap;
}

.nav-cta:hover { opacity: .9; transform: translateY(-1px); }

@media (max-width: 640px) {
  .nav-logo span { display: none; }
  .nav-tab { padding: 8px 14px; font-size: .82rem; }
  .nav-cta { display: none; }
}

/* ── HERO ── */
.hero {
  padding: 56px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(18,23,35,.88), rgba(23,29,43,.76));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.portrait-card {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(135,160,255,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
}

.portrait-frame {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
  background: #dfe5f2;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(135,160,255,.35);
  background: rgba(135,160,255,.12);
  border-radius: 999px;
  color: #dfe7ff;
  font-weight: 600;
  margin-bottom: 18px;
}

.summary {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  transition: .2s ease;
  border: 1px solid transparent;
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #08111b;
}

.button.secondary {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.button:hover { transform: translateY(-1px); }

main {
  padding: 18px 0 60px;
}

.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card h2,
.section-title {
  margin: 0 0 18px;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f6f8ff;
}

.contact-list,
.skill-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
}

.contact-item span {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #91a0bb;
}

.contact-item strong {
  font-size: .98rem;
  color: var(--text);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(135,160,255,.12);
  border: 1px solid rgba(135,160,255,.2);
  color: #dde5ff;
  font-size: .95rem;
  font-weight: 500;
}

.skill {
  display: grid;
  gap: 8px;
}

.skill-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .96rem;
}

.skill-head span:last-child {
  color: var(--muted);
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.bar > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
}

.content {
  display: grid;
  gap: 24px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 112px;
  width: 2px;
  background: linear-gradient(180deg, rgba(135,160,255,.6), rgba(79,209,255,.3));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: start;
}

.timeline-date {
  position: relative;
  color: #dbe4ff;
  font-weight: 700;
  font-size: .95rem;
  padding-top: 2px;
}

.timeline-date::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -25px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 6px rgba(135,160,255,.12);
}

.timeline-content {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.timeline-content h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #c5d0e7;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

footer {
  padding: 0 0 48px;
}

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  filter: blur(8px);
  will-change: transform, opacity, filter;
}

body.is-loaded .reveal {
  animation: revealUp .8s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(var(--order, 0) * var(--stagger-step));
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-zoom {
  transform: scale(.9);
}

body.is-loaded .reveal-left,
body.is-loaded .reveal-right,
body.is-loaded .reveal-zoom {
  animation-name: revealDynamic;
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealDynamic {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  body.is-loaded .reveal,
  body.is-loaded .reveal-left,
  body.is-loaded .reveal-right,
  body.is-loaded .reveal-zoom {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .layout,
  .two-col {
    grid-template-columns: 1fr;
  }

  .stack {
    position: static;
  }

  .timeline::before {
    left: 17px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 42px;
  }

  .timeline-date::after {
    left: -31px;
    right: auto;
  }
}

@media (max-width: 640px) {
  .wrapper {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero {
    padding-top: 18px;
  }

  .hero-grid,
  .card {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-actions,
  .footer-card {
    flex-direction: column;
    align-items: stretch;
  }
}

.hero {
  padding: 48px 0 20px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(18,23,35,.9), rgba(23,29,43,.78));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hero-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.03rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(135,160,255,.35);
  background: rgba(135,160,255,.12);
  border-radius: 999px;
  color: #dfe7ff;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-actions,
.tag-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button:hover,
.filter-chip:hover,
.project-card:hover {
  transform: translateY(-2px);
}

.hero-preview {
  display: grid;
  gap: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat,
.glass-card,
.project-card,
.contact-card,
.cta-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stat {
  border-radius: 22px;
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: .95rem;
}

.section {
  margin-bottom: 24px;
}

.glass-card {
  border-radius: 28px;
  padding: 28px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.filter-chip,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: .2s ease;
}

.filter-chip {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight: 600;
}

.filter-chip.active,
.tag {
  background: rgba(135,160,255,.12);
  border: 1px solid rgba(135,160,255,.24);
  color: #dde5ff;
}

.tag {
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  border-radius: 24px;
  overflow: hidden;
  transition: .25s ease;
}

.project-media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(135,160,255,.2), rgba(79,209,255,.1));
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,13,18,.72);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.project-body {
  padding: 20px;
}

.project-body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.project-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .97rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.link-inline {
  color: #cfe0ff;
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item,
.contact-card {
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}

.service-item h3,
.contact-card h3,
.cta-card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.service-item p,
.contact-card p,
.cta-card p {
  margin: 0;
  color: var(--muted);
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card a {
  color: #eaf1ff;
  font-weight: 600;
}

.cta-card {
  border-radius: 28px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-zoom { transform: scale(.92); }

@media (max-width: 980px) {
  .hero-card,
  .two-col,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrapper {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero {
    padding-top: 18px;
  }

  .hero-card,
  .glass-card,
  .cta-card {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-actions,
  .section-head,
  .project-footer {
    align-items: stretch;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ── AMBIENT GLOWS ── */
.glow-1,
.glow-2,
.glow-3 {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
}

.glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: rgba(196,181,253,.07);
}

.glow-2 {
  width: 500px;
  height: 500px;
  bottom: -180px;
  right: -100px;
  background: rgba(103,232,249,.06);
}

.glow-3 {
  width: 400px;
  height: 400px;
  top: 40%;
  left: 35%;
  background: rgba(244,192,106,.04);
}

/* ── HERO ── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(196,181,253,.25);
  background: rgba(196,181,253,.07);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.hero h1 .line-2 {
  display: block;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── FILTERS ── */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 73px;
  z-index: 100;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s var(--ease);
  user-select: none;
  font-family: 'DM Sans', sans-serif;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(196,181,253,.3);
  background: rgba(196,181,253,.06);
}

.chip.active {
  background: linear-gradient(135deg, rgba(196,181,253,.2), rgba(103,232,249,.12));
  border-color: rgba(196,181,253,.4);
  color: var(--brand);
  font-weight: 600;
}

.view-toggle {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
}

.view-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s var(--ease);
  font-size: 14px;
}

.view-btn.active {
  background: rgba(196,181,253,.15);
  color: var(--brand);
}

/* ── GALLERY GRID ── */
.gallery-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.gallery-grid {
  columns: 4 260px;
  column-gap: 16px;
  transition: all .4s var(--ease);
}

.gallery-grid.view-2 { columns: 2 400px; }
.gallery-grid.view-3 { columns: 3 300px; }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  background: var(--soft);
  border: 1px solid var(--line);
  animation: fadeUp .6s var(--ease) both;
}

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

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(196,181,253,.15);
  z-index: 10;
}

.item-media {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.gallery-item:hover .item-media { transform: scale(1.03); }

/* VIDEO items */
.gallery-item.is-video .item-media-wrap {
  position: relative;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9,9,14,.35);
  transition: background .25s ease;
}

.gallery-item:hover .play-btn { background: rgba(9,9,14,.2); }

.play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease), background .25s ease;
}

.gallery-item:hover .play-icon {
  transform: scale(1.12);
  background: rgba(196,181,253,.25);
  border-color: var(--brand);
}

.play-icon svg { margin-left: 4px; }

/* ITEM OVERLAY */
.item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,14,.9) 0%, rgba(9,9,14,.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  pointer-events: none;
}

.gallery-item:hover .item-overlay { opacity: 1; }

.item-title {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
  transform: translateY(8px);
  transition: transform .35s var(--ease);
}

.gallery-item:hover .item-title { transform: translateY(0); }

.item-cat {
  font-size: .75rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform .35s var(--ease) .04s;
}

.gallery-item:hover .item-cat { transform: translateY(0); }

.item-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
}

.badge-video {
  background: rgba(244,192,106,.18);
  color: var(--gold);
  border-color: rgba(244,192,106,.3);
}

.badge-foto {
  background: rgba(196,181,253,.12);
  color: var(--brand);
}

.badge-branding {
  background: rgba(103,232,249,.1);
  color: var(--brand-2);
  border-color: rgba(103,232,249,.25);
}

/* ── SECTION DIVIDERS ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 32px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-divider-label {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,10,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lb-content {
  position: relative;
  z-index: 2;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: scale(.92) translateY(20px);
  transition: transform .4s var(--ease);
}

.lightbox.open .lb-content { transform: scale(1) translateY(0); }

.lb-media-wrap {
  border-radius: 24px;
  overflow: hidden;
  max-height: 75vh;
  display: flex;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
  position: relative;
}

.lb-media-wrap img,
.lb-media-wrap video {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lb-info {
  text-align: center;
  padding: 0 20px;
}

.lb-title {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.lb-desc {
  color: var(--muted);
  font-size: .92rem;
}

.lb-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 22px;
  z-index: 3;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
}

.lb-close:hover { background: rgba(255,255,255,.14); transform: rotate(90deg); }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 20px;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
}

.lb-nav:hover {
  background: rgba(196,181,253,.15);
  border-color: rgba(196,181,253,.4);
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: .8rem;
  color: var(--muted);
  background: rgba(9,9,14,.7);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

/* ── STATS BAR ── */
.stats-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 48px;
  background: var(--card);
}

.stat-item {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--line);
}

.stat-num {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: .82rem;
  color: var(--muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.gallery-item:nth-child(1)  { animation-delay: .05s; }
.gallery-item:nth-child(2)  { animation-delay: .10s; }
.gallery-item:nth-child(3)  { animation-delay: .15s; }
.gallery-item:nth-child(4)  { animation-delay: .20s; }
.gallery-item:nth-child(5)  { animation-delay: .25s; }
.gallery-item:nth-child(6)  { animation-delay: .30s; }
.gallery-item:nth-child(7)  { animation-delay: .35s; }
.gallery-item:nth-child(8)  { animation-delay: .40s; }
.gallery-item:nth-child(9)  { animation-delay: .45s; }
.gallery-item:nth-child(10) { animation-delay: .50s; }
.gallery-item:nth-child(11) { animation-delay: .55s; }
.gallery-item:nth-child(12) { animation-delay: .60s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .gallery-grid { columns: 2 160px; }
  .filter-bar { top: 65px; }
  .hero { padding: 50px 0 40px; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; }
  .lb-nav { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .view-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}