/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #0b0b0b;
  color: #e5e5e5;
  overflow-x: hidden;
}

/* INTRO */
.intro {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  animation: introFade 1s ease forwards;
  animation-delay: 2.6s;
}

.intro-text {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  opacity: 0;
  animation: introText 2s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes introText { to { opacity: 1; } }
@keyframes introFade { to { opacity: 0; visibility: hidden; } }

/* CURTAIN */
.curtain {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  transform: translateX(-100%);
  animation: curtainSweep 1.4s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: 2.2s;
  z-index: 5;
}
@keyframes curtainSweep { to { transform: translateX(100%); } }

/* STICKY CTA */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #e5e5e5;
  color: #0b0b0b;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  z-index: 10;
}

/* SITE */
.site-content {
  opacity: 0;
  animation: siteAppear 1s ease forwards;
  animation-delay: 3.4s;
}
@keyframes siteAppear { to { opacity: 1; } }

section {
  max-width: 1100px;
  margin: auto;
  padding: 120px 24px;
}

.hero { padding-top: 220px; }

h1 { font-size: 3.2rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 24px; }

p { max-width: 600px; color: #b5b5b5; }
.subtle-text { color: #8a8a8a; }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .6s; }
.delay-4 { animation-delay: .8s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* SERVICES */
.service-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* WORK GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 32px;
}

.work-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  transition: transform .4s ease;
}

.work-card:hover { transform: translateY(-6px); }

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CARD-SPECIFIC ALIGNMENT (IMPORTANT FIX) */
.work-card.poster img {
  object-position: center 20%;
}

.work-card.thumbnail img {
  object-position: center 15%;
}

.work-card.branding img {
  object-position: center center;
  padding: 12px;
  background: #fff;
}

/* TAG */
.work-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,.65);
  padding: 6px 12px;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 4px;
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 999;
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* CTA */
.cta-primary {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 30px;
  background: #e5e5e5;
  color: #0b0b0b;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}

.contact { padding-bottom: 160px; }

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px;
  color: #666;
}

/* MOBILE */
@media (max-width:768px) {
  h1 { font-size: 2.4rem; }
  .intro-text { font-size: 2rem; letter-spacing: .25em; }
}
