/* ===== GLOBAL RESET & DEFAULTS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a09;
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ===== GLOBAL NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 80px;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
}
nav::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: clamp(280px, 30vw, 420px);
  background: linear-gradient(to right, rgba(10, 10, 9, 0.5) 0%, rgba(10, 10, 9, 0.25) 40%, rgba(10, 10, 9, 0) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(to right, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 50%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}
.nav-logo { display: flex; align-items: center; position: relative; z-index: 1; }
.nav-logo svg { height: 36px; width: auto; }
.nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-links a { font-size: 16px; font-weight: 500; position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: #fff; transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* ===== MOBILE NAV TOGGLE ===== */
.mobile-nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; z-index: 101;
}
.mobile-nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 9, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  justify-content: center; align-items: center;
  gap: 32px;
  z-index: 100;
}
.nav-links.mobile-open a { font-size: 28px; }

/* ===== GLOBAL BORDER RADIUS — single source of truth ===== */
img {
  border-radius: 16px;
}

/* ===== GLOBAL CARD ===== */
.ow-card {
  display: block; background: #141414; overflow: hidden;
  border-radius: 0 0 16px 16px;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.ow-card:hover { transform: translateY(-4px); }
.ow-card-img-wrap { aspect-ratio: 5/3; overflow: hidden; }
.ow-card-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px 16px 0 0; }
.ow-card-info { padding: 20px 24px 24px; }
.ow-card-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ow-card-cat { font-size: 16px; color: #757575; margin-top: 4px; }

/* ===== GLOBAL CONTACT CTA ===== */
.contact { padding: 200px 80px; text-align: center; }
.contact h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 40px; }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 12px 24px; border-radius: 40px;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 40px; font-size: 18px; color: #fff;
}
.contact-icon:hover { background: rgba(255,255,255,0.15); transform: scale(1.03); }
.contact-icon svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== GLOBAL FOOTER ===== */
footer { display: flex; justify-content: space-between; align-items: center; padding: 40px 80px 60px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 14px; transition: color 0.3s ease; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 14px; color: rgba(255,255,255,0.3); }

/* ===== GLOBAL FADE-IN ===== */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== GLOBAL IMAGE WRAPPER ===== */
.img-wrap { position: relative; background: #141414; }

/* ===== GLOBAL RESPONSIVE ===== */
@media (max-width: 1199px) {
  nav { padding-left: 64px; padding-right: 64px; }
  .contact { padding-left: 64px; padding-right: 64px; }
  .other-work { padding-left: 64px !important; padding-right: 64px !important; }
}
@media (max-width: 809px) {
  nav { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .mobile-nav-toggle { display: flex; }
  .contact { padding: 100px 24px; }
  footer { flex-direction: column; gap: 20px; align-items: center; text-align: center; padding: 32px 24px 40px; }
}
@media (max-width: 374px) {
  nav { padding-left: 20px; padding-right: 20px; }
  .mobile-nav-toggle { display: flex; }
  .contact { padding: 80px 20px; }
  footer { padding: 32px 20px 40px; }
}
