/* LYNQ Gallery — v4 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #080808;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── FILM GRAIN ── */
.grain {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.042;
}

/* ── INTRO SCREEN ── */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: #080808;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(0.76,0,0.24,1),
              transform 1.1s cubic-bezier(0.76,0,0.24,1);
}
.intro-screen.out {
  opacity: 0;
  transform: scale(1.04);
}
.is-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.is-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  color: rgba(255,255,255,0.92);
  line-height: 1;
  animation: isNameIn 1.4s 0.2s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
@keyframes isNameIn {
  from { opacity: 0; letter-spacing: 0.14em; }
  to   { opacity: 1; letter-spacing: 0.06em; }
}
.is-line {
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 18px auto;
  animation: isLineIn 0.9s 1.0s ease forwards;
}
@keyframes isLineIn {
  to { width: 48px; }
}
.is-role {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  animation: isIn 0.9s 1.2s ease both;
}
@keyframes isIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 44px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
  animation: fadeIn 0.5s 3.2s ease both;
}
.nav.scrolled {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255,255,255,0.07);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}
.nav-logo-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo-by {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  line-height: 1;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-right a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-right a:hover { color: #fff; }
.nav-cta {
  background: #fff !important;
  color: #080808 !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.88 !important; }

/* ── WORK LABEL ── */
.work-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 44px;
  margin-top: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: fadeIn 0.6s 2.8s ease both;
}
.wl-left {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.wl-right {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}
.wl-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  flex-shrink: 0;
}

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3px;
  background: #1a1a1a;
}

/* ── CARD ── */
.gallery-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  height: 62vh;
  min-height: 400px;
  background: #111;
  transform-style: preserve-3d;
  animation: fadeUp 0.8s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.gallery-card:nth-child(1) { animation-delay: 2.6s; }
.gallery-card:nth-child(2) { animation-delay: 2.72s; }
.gallery-card:nth-child(3) { animation-delay: 2.82s; }
.gallery-card:nth-child(4) { animation-delay: 2.92s; }
.gallery-card:nth-child(5) { animation-delay: 3.02s; }
.gallery-card:nth-child(6)  { animation-delay: 3.12s; }
.gallery-card:nth-child(7)  { animation-delay: 3.20s; }
.gallery-card:nth-child(8)  { animation-delay: 3.28s; }
.gallery-card:nth-child(9)  { animation-delay: 3.36s; }
.gallery-card:nth-child(10) { animation-delay: 3.44s; }
.gallery-card:nth-child(11) { animation-delay: 3.52s; }
.gallery-card:nth-child(12) { animation-delay: 3.60s; }
.gallery-card:nth-child(13) { animation-delay: 3.68s; }

.gallery-card.featured {
  grid-column: 1 / -1;
  height: 90vh;
  min-height: 580px;
}
.gallery-card.cta-card {
  background: #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CARD IMAGE ── */
.card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
/* Ken Burns only on featured, pauses when hovered (JS takes over) */
.gallery-card.featured .card-img {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

/* ── CARD OVERLAY ── */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.16) 44%,
    rgba(0,0,0,0.02) 100%
  );
  transition: background 0.6s;
}
.gallery-card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.42) 52%,
    rgba(0,0,0,0.16) 100%
  );
}

/* ── CARD INFO ── */
.card-info {
  position: absolute;
  bottom: 38px;
  left: 42px;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-card:hover .card-info { transform: translateY(-14px); }

.card-cat {
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 10px;
}
.card-name {
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.gallery-card.featured .card-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.02em;
}

/* ── AETHER FEATURED CARD ── */
.aether-featured .card-overlay {
  background: linear-gradient(
    to top,
    rgba(8,5,2,0.88) 0%,
    rgba(12,8,3,0.18) 44%,
    rgba(8,5,0,0.04) 100%
  );
}
.aether-featured:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(8,5,2,0.92) 0%,
    rgba(12,8,3,0.48) 52%,
    rgba(8,5,0,0.14) 100%
  );
}
.aether-featured .card-cat { color: rgba(210,170,100,0.55); }

/* ── VAULT FEATURED CARD ── */
.vault-featured .card-name {
  font-family: 'Outfit', sans-serif;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: clamp(2.4rem, 4vw, 4rem);
}
.vault-featured .card-overlay {
  background: linear-gradient(
    to top,
    rgba(4,4,20,0.88) 0%,
    rgba(4,4,20,0.2) 44%,
    rgba(4,4,20,0.05) 100%
  );
}
.vault-featured:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(4,4,20,0.94) 0%,
    rgba(4,4,20,0.55) 52%,
    rgba(4,4,20,0.2) 100%
  );
}

/* ── KIRA FEATURED CARD ── */
.kira-featured .card-name {
  font-family: 'Outfit', sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: clamp(2.4rem, 4vw, 4rem);
  text-transform: uppercase;
}
.kira-featured .card-cat { color: rgba(212,200,0,0.7); }

/* ── CTA CARD ── */
.cta-inner { padding: 52px; }
.cta-tag {
  font-size: 0.63rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin-bottom: 28px;
}
.cta-heading {
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}
.cta-heading em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: #fff;
}
.cta-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
  margin-bottom: 36px;
  letter-spacing: 0.06em;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  background: #fff;
  color: #080808;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.25s;
}
.cta-card:hover .cta-btn { opacity: 0.9; transform: translateY(-2px); }

/* ── CONTACT ── */
.contact {
  padding: 160px 44px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.contact-tag {
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin-bottom: 36px;
}
.contact-heading {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 48px;
}
.contact-heading em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: #fff;
}
.contact-email {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.contact-email:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.3); }
.contact-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.16);
  letter-spacing: 0.08em;
}

/* ── FOOTER ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 44px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.18);
}
.footer-right a {
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-right a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav { padding: 16px 20px; }
  .nav-right a:not(.nav-cta) { display: none; }
  .work-label { padding: 12px 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-card { grid-column: 1; height: 74vw; min-height: 280px; }
  .gallery-card.featured { height: 94vw; min-height: 340px; }
  .gallery-card.featured .card-name { font-size: 2rem; }
  .card-name { font-size: 1.2rem; }
  .card-info { bottom: 24px; left: 24px; }
  .cta-inner { padding: 36px 24px; }
  .contact { padding: 80px 20px; }
  .footer { padding: 18px 20px; }
}
