/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #1a1a1a;
  background: #f5f4f2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container { padding: 0 64px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes infinite-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.infinite-scroll-marquee {
  animation: infinite-marquee 22s linear infinite;
}

/* ============================================
   NAVIGATION
   ============================================ */
.hero-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  transition: top 0.4s ease;
}

.hero-nav.nav-hidden {
  top: -100px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-inner.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .nav-inner { padding: 16px 32px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  font-family: 'Space Grotesk', sans-serif;
  transition: transform 0.3s ease;
}

.logo-box:hover {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  display: none;
}

@media (min-width: 640px) {
  .logo-text { display: inline; }
}

.logo-text strong {
  font-weight: 700;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  transition: gap 0.3s ease, opacity 0.3s ease;
}

.nav-back:hover {
  gap: 6px;
  opacity: 0.6;
}

.nav-back svg {
  transition: transform 0.3s ease;
}

.nav-back:hover svg {
  transform: translateX(-4px);
}

.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 8px;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  transition: left 0.4s ease;
  z-index: -1;
}

.nav-cta:hover::before {
  left: 0;
}

.nav-cta:hover {
  color: #fff;
}

/* ============================================
   PROJECT HERO
   ============================================ */
.project-hero {
  background: #1a1a1a;
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .project-hero { padding: 150px 0 80px; }
}

/* Title + meta on same row */
.project-hero-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .project-hero-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 56px;
  }
}

/* Image below — full width */
.project-hero-preview {
  position: relative;
  width: 100%;
}

.hero-mockup {
  background: #0d0d0d;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.mockup-url {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
  margin-left: 8px;
  font-family: 'Space Grotesk', monospace;
}

.hero-mockup-screen {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-mockup-screen img {
  width: 100%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mockup-screen:hover img {
  transform: scale(1.02);
}

.mockup-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.hero-mockup-screen:hover .mockup-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.mockup-zoom-hint:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.project-hero-arc {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
  animation: rotate-slow 80s linear infinite;
}

.project-hero-content {
  position: relative;
  z-index: 2;
}

.project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.project-breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.project-breadcrumb span {
  color: rgba(255, 255, 255, 0.2);
}

.project-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.project-category-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.project-hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 8vw, 120px);
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .project-hero-meta {
    max-width: 420px;
    padding-top: 0;
    padding-left: 48px;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.project-meta-value {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PROJECT INTRO
   ============================================ */
.project-intro {
  background: #f5f4f2;
  padding: 100px 0;
}

@media (min-width: 1024px) {
  .project-intro { padding: 140px 0; }
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .project-intro-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.project-intro-label {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 14vw, 180px);
  color: #1a1a1a;
  opacity: 0.06;
  line-height: 0.85;
  letter-spacing: -0.02em;
  user-select: none;
  margin-bottom: -20px;
}

.project-intro-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 4.5vw, 60px);
  color: #1a1a1a;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.project-intro-text {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.85;
}

.project-intro-text p + p {
  margin-top: 20px;
}

.project-intro-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 32px);
  color: #1a1a1a;
  line-height: 1.5;
  padding-left: 28px;
  border-left: 3px solid #1a1a1a;
  margin-top: 48px;
}

/* ============================================
   FEATURES / CONTEXT SECTION
   ============================================ */
.project-context {
  background: #111111;
  padding: 100px 0;
}

@media (min-width: 1024px) {
  .project-context { padding: 140px 0; }
}

.section-header-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 64px;
}

.section-number {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  color: #fff;
  opacity: 0.08;
  line-height: 1;
}

.section-title-sm {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.context-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .context-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
}

.context-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.context-text {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
}

.context-text p + p {
  margin-top: 18px;
}

/* ============================================
   FEATURES LIST
   ============================================ */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding-left 0.3s ease;
}

.feature-item:hover {
  padding-left: 12px;
}

.feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.feature-icon svg {
  width: 16px;
  height: 16px;
}

.feature-text {
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* ============================================
   SCREENSHOTS GALLERY
   ============================================ */
.project-gallery {
  background: #f5f4f2;
  padding: 100px 0;
}

@media (min-width: 1024px) {
  .project-gallery { padding: 140px 0; }
}

.gallery-section-number {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  color: #1a1a1a;
  opacity: 0.08;
  line-height: 1;
}

.gallery-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 16 / 10;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item-large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

@media (max-width: 767px) {
  .gallery-item-large { aspect-ratio: 16 / 10; }
}

/* Gallery zoom icon */
.gallery-item {
  cursor: pointer;
}

.gallery-zoom-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Clickable image cursor */
.lightbox-trigger {
  cursor: zoom-in;
}

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

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.lightbox-caption {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.lightbox-next {
  right: 24px;
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(3px);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
  .lightbox-nav { display: none; }
  .lightbox-img { max-height: 75vh; }
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.project-results {
  background: #e5e3e0;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .project-results { padding: 140px 0; }
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .results-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.results-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 8vw, 110px);
  color: #1a1a1a;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.results-number-label {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 14vw, 180px);
  color: #1a1a1a;
  opacity: 0.07;
  line-height: 0.85;
  user-select: none;
  position: absolute;
  right: 0;
  top: 60px;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .results-number-label { display: none; }
}

.results-text {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.85;
}

.results-text p + p {
  margin-top: 20px;
}

.results-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
  margin-top: 48px;
}

.result-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.result-point-marker {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

.result-point-text {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(26, 26, 26, 0.75);
  line-height: 1.7;
}

/* ============================================
   TECHNOLOGIES SECTION
   ============================================ */
.project-tech {
  background: #1a1a1a;
  padding: 100px 0;
}

@media (min-width: 1024px) {
  .project-tech { padding: 140px 0; }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
}

.tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.tech-card-icon {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
}

.tech-card-icon svg {
  width: 100%;
  height: 100%;
}

.tech-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

.tech-card-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.4;
}

/* ============================================
   MARQUEE BAR
   ============================================ */
.tech-marquee-bar {
  width: 100%;
  padding: 22px 0;
  background: #111111;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 80px;
}

.tech-marquee {
  display: flex;
  white-space: nowrap;
  align-items: center;
  width: max-content;
}

.tech-marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 32px;
  flex-shrink: 0;
}

/* ============================================
   NEXT PROJECT / CTA
   ============================================ */
.project-cta {
  background: #f5f4f2;
  padding: 100px 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .project-cta { padding: 140px 0; }
}

.cta-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
  margin-bottom: 24px;
}

.cta-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 7vw, 100px);
  color: #1a1a1a;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cta-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.cta-btn-primary:hover::before {
  transform: translateX(0);
}

.cta-btn-primary span,
.cta-btn-primary svg {
  position: relative;
  z-index: 1;
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.25);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border: 2px solid rgba(26, 26, 26, 0.2);
  color: #1a1a1a;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn-secondary:hover {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #f5f4f2;
  padding: 80px 0 40px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.footer-name-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 48px;
}

.footer-giant-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 14vw, 220px);
  color: rgba(26, 26, 26, 0.06);
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: block;
  text-align: center;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 13px;
  color: rgba(26, 26, 26, 0.5);
  letter-spacing: 0.02em;
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  position: relative;
  transition: opacity 0.3s ease;
}

.footer-socials a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

.footer-socials a:hover::after {
  width: 100%;
}

.footer-socials a:hover {
  opacity: 0.7;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #1a1a1a;
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: #1a1a1a;
  color: #fff;
}

::-moz-selection {
  background: #1a1a1a;
  color: #fff;
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 1023px) {
  .project-hero {
    padding: 110px 0 56px;
  }

  .project-intro,
  .project-context,
  .project-gallery,
  .project-results,
  .project-tech,
  .project-cta {
    padding: 72px 0;
  }

  .tech-marquee-bar {
    margin-top: 48px;
  }

  .hero-mockup-bar {
    padding: 10px 14px;
  }

  .mockup-dot {
    width: 8px;
    height: 8px;
  }

  /* On mobile, always show zoom hint */
  .mockup-zoom-hint {
    opacity: 1;
    transform: translateY(0);
  }

  .gallery-zoom-icon {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================
   FINAL PORTFOLIO ADJUSTMENTS
   ============================================ */
.logo-text { line-height: 1.05; }
.logo-text-main { display: block; }
.logo-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
}
.logo-location-icon { width: 11px; height: 11px; flex: 0 0 auto; }
@media (max-width: 767px) { .logo-location { display: none; } }


/* Language switch */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.language-switch a {
  color: rgba(26, 26, 26, 0.45);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.language-switch a:hover,
.language-switch a.active {
  color: #1a1a1a;
}

.language-switch span {
  color: rgba(26, 26, 26, 0.25);
}

@media (max-width: 767px) {
  .language-switch {
    margin-left: auto;
    margin-right: 8px;
    padding: 7px 9px;
  }

  .nav-cta + .language-switch,
  .language-switch + .nav-cta {
    display: inline-flex;
  }
}

/* ============================================
   MOBILE PROJECT NAVBAR CORRECTION
   ============================================ */
@media (max-width: 767px) {
  .hero-nav {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .hero-nav.nav-hidden {
    top: -90px;
  }

  .nav-inner {
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 18px;
    gap: 10px;
  }

  .nav-logo {
    flex: 0 0 auto;
    gap: 0;
  }

  .logo-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .logo-text {
    display: none !important;
  }

  .nav-back {
    display: none !important;
  }

  .language-switch {
    margin-left: auto;
    margin-right: 0;
    padding: 8px 10px;
    gap: 7px;
    flex: 0 0 auto;
  }

  .nav-cta,
  .nav-cta + .language-switch,
  .language-switch + .nav-cta {
    display: none !important;
  }

  .project-hero {
    padding-top: 108px;
  }
}

@media (max-width: 380px) {
  .nav-inner {
    padding: 9px 10px;
    gap: 7px;
  }

  .language-switch {
    padding: 7px 8px;
    font-size: 11px;
  }
}
