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

:root {
  --ink: #0a0a0a;
  --ink2: #282525;
  --ink3: #533333;
  --paper: #fffeee;
  --paper2: #f3fdff;
  --accent: #1a1a1a;
  --line: rgba(0, 0, 0, 0.09);
  --blue: #2563eb;
  --r: 4px;
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  height: 64px;
  display: flex;
  align-items: center
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo-brand:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.logo-full-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo-full-name em {
  font-style: italic;
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink2);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em
}

.nav-links a:hover {
  background: var(--paper2);
  color: var(--ink)
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  text-decoration: none;
  transition: opacity 0.15s
}

.nav-cta:hover {
  opacity: 0.8
}

/* LOGIN DROPDOWN */
.nav-login-wrap {
  position: relative;
}

.nav-login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-login-btn:hover {
  background: var(--ink2);
  transform: translateY(-1px);
}

.nav-login-btn svg {
  transition: transform 0.2s ease;
}

.nav-login-wrap.open .nav-login-btn {
  background: var(--ink2);
}

.nav-login-wrap.open .nav-login-chevron {
  transform: rotate(180deg);
}

.nav-login-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  list-style: none;
  padding: 0.6rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: top right;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-login-wrap.open .nav-login-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-login-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-login-item:hover {
  background: #f8f9fa;
  transform: translateX(4px);
}

.nav-login-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-login-item:hover .nav-login-icon {
  transform: scale(1.1);
  background: #e9ecef;
}

.nav-login-item span:not(.nav-login-icon) {
  display: flex;
  flex-direction: column;
}

.nav-login-item strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}

.nav-login-item small {
  font-size: 0.78rem;
  color: #666;
  margin-top: 0.2rem;
  font-weight: 400;
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/keyboard-bg.jpg') center/cover no-repeat
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.52) 100%)
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem
}

.hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4)
}

.hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  max-width: 750px
}

.hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6)
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.7;
  font-weight: 300
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center
}

.btn-primary {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 99px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.35)
}

.btn-ghost {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s
}

.btn-ghost:hover {
  color: #fff
}

.btn-ghost::after {
  content: '↓';
  font-size: 0.85rem
}

.hero-stats {
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  display: flex;
  gap: 3rem
}

.stat {
  text-align: right
}

.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem
}

/* SECTIONS */
section {
  padding: 8rem 0
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 1.5rem
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.section-title span {
  /* font-style: italic; */
  color: var(--ink3)
}

.section-body {
  font-size: 1.05rem;
  color: var(--ink3);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300
}

/* ABOUT */
#about {
  background: var(--paper)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 5rem
}

.about-image {
  background: var(--paper2);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  filter: grayscale(20%)
}

.about-text p {
  font-size: 1.05rem;
  color: var(--ink2);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.25rem
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem
}

.vm-card {
  background: var(--paper2);
  border-radius: 12px;
  padding: 1.75rem
}

.vm-card h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--ink)
}

.vm-list {
  list-style: none
}

.vm-list li {
  font-size: 0.9rem;
  color: var(--ink3);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line)
}

.vm-list li:last-child {
  border-bottom: none
}

.vm-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0
}

/* SERVICES */
#services {
  background: var(--paper2)
}

.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden
}

.service-card {
  background: var(--paper);
  padding: 2.5rem 2rem;
  transition: background 0.2s
}

.service-card:hover {
  background: var(--paper2)
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--paper2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem
}

.service-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1)
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem
}

.service-card p {
  font-size: 0.88rem;
  color: var(--ink3);
  line-height: 1.6;
  font-weight: 300
}

/* PRODUCTS */
#products {
  background: var(--paper)
}

.product-list {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0
}

.product-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-top: 1px solid var(--line)
}

.product-item:last-child {
  border-bottom: 1px solid var(--line)
}

.product-item.reverse .product-visual {
  order: 2
}

.product-item.reverse .product-info {
  order: 1
}

.product-visual {
  background: var(--paper2);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s
}

.product-visual:hover img {
  transform: scale(1.04)
}

.product-num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink3);
  text-transform: uppercase;
  margin-bottom: 1rem
}

.product-info h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink)
}

.product-info p {
  font-size: 0.98rem;
  color: var(--ink3);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem
}

.tag {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink2);
  background: var(--paper2);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  border: 1px solid var(--line)
}

/* PORTFOLIO */
#portfolio {
  background: var(--paper2);
  padding: 8rem 0
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem
}

.filter-bar {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  background: var(--paper);
  border-radius: 99px;
  padding: 0.3rem;
  border: 1px solid var(--line)
}

.filter-bar li a {
  font-size: 0.8rem;
  color: var(--ink3);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  transition: background 0.15s, color 0.15s;
  display: block;
  font-weight: 400
}

.filter-bar li a.active,
.filter-bar li a:hover {
  background: var(--ink);
  color: #fff
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem
}

.port-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative
}

.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s
}

.port-item:hover img {
  transform: scale(1.06)
}

.port-item .port-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem
}

.port-item:hover .port-overlay {
  background: rgba(10, 10, 10, 0.45)
}

.port-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s
}

.port-item:hover .port-label {
  opacity: 1;
  transform: translateY(0)
}

/* CLIENTS */
#clients {
  background: var(--ink);
  padding: 6rem 0;
  overflow: hidden
}

.clients-track {
  display: flex;
  gap: 5rem;
  animation: scroll 18s linear infinite;
  width: max-content;
  align-items: center
}

.clients-track img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.2s
}

.clients-track img:hover {
  opacity: 0.85
}

@keyframes scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.clients-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3rem
}

/* FOOTER */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 2
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem
}

.footer-brand .logo-text {
  color: #fff
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 260px
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.25rem
}

.footer-col ul {
  list-style: none
}

.footer-col ul li {
  margin-bottom: 0.6rem
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 300
}

.footer-col ul li a:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25)
}

.footer-location {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 0.4rem
}

.footer-location::before {
  content: '📍';
  font-size: 0.7rem
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

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

.fade-up {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scale-up {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* SHUTTER EFFECT */
#hero {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
}

#about {
  position: relative;
  z-index: 2;
  background: var(--paper);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
}

section:not(#hero) {
  position: relative;
  z-index: 2;
}

.hero-content {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.delay-1 {
  animation-delay: 0.1s
}

.delay-2 {
  animation-delay: 0.2s
}

.delay-3 {
  animation-delay: 0.3s
}

.delay-4 {
  animation-delay: 0.4s
}

/* RESPONSIVE */
@media(max-width:900px) {

  .about-grid,
  .product-item {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .product-item.reverse .product-visual {
    order: 0
  }

  .product-item.reverse .product-info {
    order: 0
  }

  .services-grid {
    grid-template-columns: 1fr 1fr
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr
  }

  .vm-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem
  }

  .hero-stats {
    display: none
  }

  .services-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem
  }
}

@media(max-width:600px) {
  .nav-links {
    display: none
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  section {
    padding: 5rem 0
  }
}

/* ============================
   NAV LOGO BRAND
   ============================ */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: opacity 0.18s
}

.logo-brand:hover {
  opacity: 0.85
}

.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px
}

.logo-full-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap
}

.logo-full-name em {
  font-style: italic;
  color: var(--blue)
}

/* ============================
   FOOTER LOGO BRAND
   ============================ */
.footer-logo-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: opacity 0.18s
}

.footer-logo-brand:hover {
  opacity: 0.8
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  filter: brightness(0) invert(1)
}

.footer-logo-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1
}

.footer-logo-name em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6)
}

/* ============================
   FOOTER GOOGLE MAP
   ============================ */
.footer-map {
  margin-top: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3)
}

.footer-map iframe {
  display: block
}

/* ============================
   HOVER EFFECTS — VM CARDS
   ============================ */
.vm-card {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  background: #eae9e4
}

/* ============================
   HOVER EFFECTS — SERVICE CARD enhanced
   ============================ */
.service-card {
  transition: background 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
  cursor: default
}

.service-card:hover {
  background: var(--paper2);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07)
}

/* ============================
   HOVER EFFECTS — BUTTONS
   ============================ */
.btn-primary {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s, background 0.15s
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.38);
  background: #1d4ed8
}

.btn-ghost {
  transition: color 0.15s, letter-spacing 0.15s
}

.btn-ghost:hover {
  color: #fff;
  letter-spacing: 0.02em
}

.nav-cta {
  transition: opacity 0.15s, transform 0.15s, background 0.15s
}

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

/* ============================
   HOVER EFFECTS — PRODUCT ITEMS
   ============================ */
.product-item {
  transition: background 0.2s
}

.product-item:hover {
  background: rgba(37, 99, 235, 0.025)
}

/* ============================
   PORTFOLIO IMAGE CURSOR
   ============================ */
.port-item img {
  cursor: zoom-in
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1)
}

.lightbox.active img {
  transform: scale(1)
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
  line-height: 1
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1) rotate(90deg)
}