/* --- NEUE MONTREAL WEBFONT DEFINITION --- */
@font-face {
  font-family: 'Neue Montreal';
  src: url('https://fonts.cdnfonts.com/s/72924/NeueMontreal-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('https://fonts.cdnfonts.com/s/72924/NeueMontreal-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('https://fonts.cdnfonts.com/s/72924/NeueMontreal-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- DESIGN SYSTEM TOKENS (Creative Studio Theme) --- */
:root {
  --bg-color: #111317;
  --bg-surface: #1e2023;
  --bg-surface-hover: #282a2e;
  --bg-surface-lowest: #0c0e12;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-active: rgba(255, 255, 255, 0.2);

  --color-text-primary: #e2e2e7;
  --color-text-secondary: #c4c5d9;
  --color-text-muted: #8e90a2;

  /* Brand Accents */
  --primary-accent: #0d9acf;
  /* iMotion logo blue */
  --primary-container: #2e5bff;
  /* Stitch electric cobalt */
  --secondary-accent: #ffb4aa;
  /* Stitch secondary kinetic red */
  --outline-accent: #8e90a2;

  /* Creative Studio Font Hierarchy */
  --font-heading: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Neue Montreal', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ui: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Legacy variable mapping for compatibility */
  --font-display: var(--font-heading);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;

  --header-height: 80px;
  --border-radius-default: 4px;

  --hero-position-bottom: 100px;
  --hero-position-left-padding: 300px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--bg-color);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
}

/* Typography Hierarchy Rules */
h1,
.h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2,
.h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h3,
.h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h4,
.h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button,
.btn {
  background: none;
  border: none;
  color: inherit;
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #282a2e;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3c4048;
}

/* --- UTILITIES --- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #0d9acf 0%, #2e5bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-pink {
  background: linear-gradient(135deg, #ffb4aa 0%, #ff5252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

.section-header {
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-transform: uppercase;
}
}

/* Glassmorphism Panel (Stitch Theme) */
.glass-panel {
  background: rgba(17, 19, 23, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-default);
}

/* Text glow & Chromatic Aberration */
.text-glow {
  text-shadow: 0 0 20px rgba(13, 154, 207, 0.3);
}

.hover-chromatic {
  transition: text-shadow 0.3s ease;
}

.hover-chromatic:hover {
  text-shadow: -2px 0 var(--secondary-accent), 2px 0 var(--primary-container);
}

/* Soft Page Crossfade entrance */
body {
  animation: softPageFadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes softPageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Smooth Soft Fade Scroll Reveal Animation (Pure Crossfade) */
.reveal {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

.reveal.active {
  opacity: 1;
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s ease;
}

.header.header-hidden {
  opacity: 0;
  pointer-events: none;
}

.header.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  height: 60px;
}

.header .container {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 40px; /* Reduced by 30% from 57px */
  width: auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-svg {
  height: 100%;
  width: auto;
}

.header.scrolled .logo-link {
  height: 40px; /* Reduced by 30% from 57px */
}

/* --- PORTFOLIO STICKY TOP NAVBAR --- */
.header.portfolio-header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  z-index: 1000;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s ease;
}

.header.portfolio-header-nav.header-hidden {
  opacity: 0;
  pointer-events: none;
}

.pf-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 100%;
  width: 100%;
}

.pf-header-top .logo-link {
  height: 40px; /* Exact same size as landing page logo */
  width: auto;
  flex-shrink: 0;
}

.pf-filters-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  margin-left: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pf-filters-nav::-webkit-scrollbar {
  display: none;
}

.pf-filter-btn {
  font-family: 'General Sans', var(--font-heading), sans-serif;
  font-size: 15px;
  font-weight: 400; /* Regular standard when unselected */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease, font-weight 0.15s ease;
}

.pf-filter-btn:hover {
  color: #ffffff;
}

.pf-filter-btn.active {
  font-weight: 800; /* Bold when selected */
  color: #ffffff;
}

.pf-filter-sep {
  font-family: 'General Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
  padding: 0 16px;
  user-select: none;
}

/* --- PORTFOLIO BLACK HERO BANNER (DOUBLE HEIGHT, ALIGNED TO 1ST FILTER) --- */
.pf-hero-banner {
  background-color: #000000;
  padding-top: 130px; /* Accounts for 80px fixed navbar header */
  padding-bottom: 110px;
  width: 100%;
}

.pf-banner-container {
  display: flex;
  align-items: flex-start;
  padding: 0 48px;
  width: 100%;
}

.pf-banner-spacer {
  width: 140px; /* Identical to logo width */
  margin-right: 48px; /* Identical to filter nav margin-left */
  flex-shrink: 0;
}

.pf-banner-content {
  flex: 1;
}

.pf-banner-text {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: clamp(20px, 2.3vw, 32px);
  font-weight: 700; /* Cabinet Grotesk - Gras / Bold */
  line-height: 1.38;
  color: #ffffff;
  max-width: 900px;
  margin: 0;
  letter-spacing: -0.01em;
}

@media (max-width: 991px) {
  .pf-header-top {
    padding: 0 24px;
  }
  .pf-header-top .logo-link {
    height: 36px;
    width: auto;
  }
  .pf-filters-nav {
    margin-left: 24px;
  }
  .pf-banner-container {
    padding: 0 24px;
  }
  .pf-banner-spacer {
    width: 120px;
    margin-right: 24px;
  }
  .pf-banner-text {
    font-size: clamp(18px, 2.8vw, 24px);
  }
}

@media (max-width: 768px) {
  .pf-header-top {
    padding: 0 20px;
  }
  .pf-header-top .logo-link {
    height: 32px;
    width: auto;
  }
  .pf-filters-nav {
    margin-left: 16px;
  }
  .pf-filter-btn {
    font-size: 13px;
  }
  .pf-filter-sep {
    padding: 0 8px;
    font-size: 13px;
  }
  .pf-banner-container {
    flex-direction: column;
    padding: 0 20px;
  }
  .pf-banner-spacer {
    display: none;
  }
  .pf-hero-banner {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .pf-banner-text {
    font-size: 18px;
    line-height: 1.4;
  }
}

/* --- FULL SCREEN OVERLAY NAVIGATION (WHITE BACKGROUND) --- */
@keyframes navLinkIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;
  padding: 0;
  box-sizing: border-box;
}

.nav.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Glows hidden */
.nav-glow { display: none; }

/* Overlay Nav Header — exact same container layout, height & padding as landing header */
.nav-header {
  height: var(--header-height);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  height: 25px; /* Matches exact letter scale of white landing page logo */
  width: auto;
  transition: opacity 0.4s ease;
}

.nav-logo-img {
  height: 100%;
  width: auto;
}

/* Overlay Close Button — exact same size, font & icon structure as landing header toggle btn */
.menu-close-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 110;
  background: none;
  border: none;
  color: #000000;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: opacity 0.2s ease;
  padding: 0;
  margin: 0;
}

.menu-close-btn:hover {
  opacity: 0.6;
}

.menu-close-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.menu-close-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000000;
}

/* Nav Links Container (Centered) */
.nav-links-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  width: 100%;
  margin: auto 0;
  padding: 16px 0;
}

/* Nav Link — 20% smaller text block, General Sans Gras (800) by default, thinner (300/400) on hover */
.nav-link {
  font-family: 'General Sans', var(--font-display), sans-serif;
  font-size: clamp(30px, 5.2vw, 67px); /* Reduced by 20% */
  font-weight: 800; /* General Sans Gras / Bold */
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95; /* Interligne réduit */
  color: #000000;
  display: block;
  padding: 2px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transition: font-weight 0.2s ease, opacity 0.4s ease;
}

/* On hover: Font weight switches to an ultra thin weight (100) */
.nav-link:hover {
  font-weight: 100;
  font-variation-settings: 'wght' 100;
  color: #000000;
}

.nav-link.active {
  color: #000000;
}

/* Staggered entrance when overlay opens */
.nav.active .nav-links-container .nav-link:nth-child(1) { animation: navLinkIn 0.45s ease 0.05s forwards; }
.nav.active .nav-links-container .nav-link:nth-child(2) { animation: navLinkIn 0.45s ease 0.10s forwards; }
.nav.active .nav-links-container .nav-link:nth-child(3) { animation: navLinkIn 0.45s ease 0.15s forwards; }
.nav.active .nav-links-container .nav-link:nth-child(4) { animation: navLinkIn 0.45s ease 0.20s forwards; }
.nav.active .nav-links-container .nav-link:nth-child(5) { animation: navLinkIn 0.45s ease 0.25s forwards; }

/* Reset animation when nav closes so it replays on next open */
.nav:not(.active) .nav-links-container .nav-link {
  animation: none;
  opacity: 0;
}

/* Markers hidden */
.nav-marker { display: none; }

/* Unified Header Menu Toggle Button */
.menu-toggle-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 110;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
}

.menu-toggle-btn:hover {
  color: var(--primary-accent);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: var(--transition-fast);
}

/* Bottom Social Row */
.nav-footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  padding-bottom: 24px;
}

.nav-social-img {
  width: 36px;
  height: 36px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-social-img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .nav-header {
    padding: 0 16px;
  }
  .nav-link {
    font-size: clamp(24px, 7.5vw, 44px);
  }
  .nav-social-img {
    width: 30px;
    height: 30px;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #090a0d;
}

/* Background Image */
.hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 1;
}

/* Looping Lottie Overlay Animation (Safari & Chrome GPU Accelerated) */
.hero-lottie-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.hero-lottie-bg svg,
.hero-lottie-bg canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* Ambient glows */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 154, 207, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  top: 10%;
  right: -10%;
  z-index: 2;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 170, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -10%;
  left: -10%;
  z-index: 2;
  pointer-events: none;
}

/*.hero-overlay */
.hero-overlay {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8vh;
}

.hero-content {
  max-width: 900px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Three-line bold Title — General Sans Extra Bold, left-bottom aligned */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(23px, 3.75vw, 55px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 0;
  color: #ffffff;
  text-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
  display: block;
  padding: 0;
}

/* Play Button styling */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: none;
  border: none;
  transition: var(--transition-smooth);
  z-index: 10;
  filter: drop-shadow(0 0 10px rgba(13, 154, 207, 0.3));
}

.play-btn.reveal {
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.play-btn.reveal.active {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.play-btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  clip-path: polygon(25% 15%, 85% 50%, 25% 85%);
  transition: var(--transition-smooth);
  z-index: 1;
}

.play-btn-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.play-btn-svg polygon {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
  stroke-linejoin: round;
  transition: var(--transition-smooth);
  animation: blue-shimmer 2.5s infinite ease-in-out;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 0 20px rgba(13, 154, 207, 0.8)) drop-shadow(0 0 40px rgba(13, 154, 207, 0.6));
}

.play-btn:hover .play-btn-bg {
  background: rgba(255, 255, 255, 0.15);
}

.play-btn:hover .play-btn-svg polygon {
  animation: none;
  stroke: #ffffff;
  filter: drop-shadow(0 0 20px rgba(13, 154, 207, 1)) drop-shadow(0 0 40px rgba(13, 154, 207, 0.8)) drop-shadow(0 0 60px rgba(13, 154, 207, 0.6));
}

@keyframes blue-shimmer {

  0%,
  100% {
    stroke: rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 0 10px rgba(13, 154, 207, 0.6)) drop-shadow(0 0 20px rgba(13, 154, 207, 0.4));
  }

  50% {
    stroke: rgba(13, 154, 207, 0.95);
    filter: drop-shadow(0 0 20px rgba(13, 154, 207, 1)) drop-shadow(0 0 40px rgba(13, 154, 207, 0.8)) drop-shadow(0 0 60px rgba(13, 154, 207, 0.6));
  }
}

/* --- DYNAMIC RUNNING TEXT BAND --- */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-surface-lowest);
  display: flex;
  white-space: nowrap;
  padding: 5px 0;
  /* Fixed padding: 1px top and bottom, for a total of 42px height (1px + 40px + 1px) */
  user-select: none;
  pointer-events: none;
  margin-bottom: 0;
  /* Directly touches the portfolio grid below */
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* FIX: Prevents shrinking and overlapping of text items */
  gap: 0;
  /* Gap is managed by margin-right on items */
  padding-right: 0;
  animation: marquee-scroll-right 40s linear infinite;
  /* Smooth and premium scroll speed */
}

/* Moving from left to right */
@keyframes marquee-scroll-right {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0%);
  }
}

.marquee-item {
  height: 28px;
  /* Fixed item height to fill the 42px space almost completely */
  width: auto;
  flex-shrink: 0;
  margin-right: 16px;
  /* Clean positive spacing since the new SVG is trimmed of empty margins */
}

/* --- PAGE HERO BANNER --- */
.page-banner {
  position: relative;
  width: 100%;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 25px;
  overflow: hidden;
  background-color: #090a0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.page-banner .banner-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.65) contrast(1.1);
  z-index: 1;
  pointer-events: none;
}

.page-banner .banner-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 154, 207, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: -10%;
  right: 5%;
  z-index: 2;
  pointer-events: none;
}

.page-banner .banner-glow-2 {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 170, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 0%;
  left: 5%;
  z-index: 2;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  margin-bottom: 35px;
}

.page-banner .banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-banner .banner-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-accent);
  margin-bottom: 14px;
  display: inline-block;
}

.page-banner .banner-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.page-banner .banner-description {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.page-banner .marquee-container {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- PORTFOLIO --- */
.portfolio {
  background-color: var(--bg-surface-lowest);
}

#portfolio {
  padding-top: 0;
  /* Integrated marquee container provides the top padding space */
  padding-bottom: 15px;
}

@media (max-width: 768px) {
  #portfolio {
    padding-top: 0;
    padding-bottom: 5px;
  }
}

.page-portfolio {
  padding-top: 0 !important;
  padding-bottom: 80px !important;
}

@media (max-width: 768px) {
  .page-portfolio {
    padding-top: 0 !important;
    padding-bottom: 60px !important;
  }
}


.portfolio-header-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .portfolio-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Single expandable filter button & dropdown wrapper */
.filter-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  background: rgba(30, 32, 35, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color-active);
  border-radius: var(--border-radius-default);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.filter-main-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

.filter-chevron {
  transition: transform 0.3s ease;
  color: var(--primary-accent);
}

.filter-dropdown-wrapper.open .filter-chevron {
  transform: rotate(180deg);
}

/* Portfolio filter categories navigation: hidden until clicking Tout */
.portfolio-filters {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(20, 22, 26, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-default);
}

.filter-dropdown-wrapper.open .portfolio-filters {
  display: flex;
  animation: filterFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes filterFadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

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

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: var(--primary-accent);
}

.filter-btn.active {
  color: var(--primary-accent);
  background: none;
  border: none;
  box-shadow: none;
}

.filter-btn .nav-marker {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--primary-accent);
  display: inline-block;
  margin-right: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-6px);
}

.filter-btn:hover .nav-marker,
.filter-btn.active .nav-marker {
  opacity: 1;
  transform: translateX(0);
}

/* Full-Width Portfolio Layout (2 columns, 16:9 aspect ratio, narrow gap) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0;
  /* Sharp square corners as requested */
  aspect-ratio: 16 / 9;
  border: none;
}

@media (max-width: 991px) {
  .portfolio-grid {
    gap: 0;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Portfolio item inner layout */
.portfolio-img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  /* 100% opacity by default as requested */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 45, 178, 0.88);
  /* Electric Deep Royal Blue #002DB2 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 45px;
  z-index: 2;
  opacity: 0;
  /* Hidden by default */
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Creative Hover states */
.portfolio-item:hover .portfolio-img {
  transform: scale(1.03);
  opacity: 1;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-client-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  line-height: 1.05;
  transition: opacity 0.4s ease;
}

.portfolio-detail-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  opacity: 0.95;
  transition: opacity 0.4s ease;
}

.load-more-container {
  text-align: center;
  margin-top: 30px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.load-more-btn:hover {
  color: var(--primary-accent);
}

.load-more-btn .nav-marker {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--primary-accent);
  display: inline-block;
  margin-right: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-6px);
}

.load-more-btn:hover .nav-marker {
  opacity: 1;
  transform: translateX(0);
}

/* --- SERVICES --- */
.services {
  position: relative;
  background: url("../assets/visuel/banniere-services.jpg") no-repeat center center / cover;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 40px 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--primary-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(17, 19, 23, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-default);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--primary-accent);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--primary-accent);
  color: #111317;
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(13, 154, 207, 0.3);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 15px;
}

.service-description {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- SHOWREEL VIDEO MODAL --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(9, 10, 13, 0.95);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
  border-radius: var(--border-radius-default);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#video-showreel-modal .modal-content {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-video {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 40px;
  font-weight: 200;
  z-index: 1010;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .modal-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
  }
}

/* --- FOOTER — Cabinet Grotesk Editorial Style --- */
.footer {
  position: relative;
  background-color: #000000;
  background-image: url('../assets/images/BG%20iMotion1.webp');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: min(550px, 50vw) auto;
  color: #ffffff;
  text-align: center;
  padding: 72px 40px 48px;
  border-top: none;
  overflow: hidden;
}

/* Small logo top — centré au-dessus d'Abidjan */
.footer-top-logo {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-top-logo a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-img {
  height: 35px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.footer-logo-img:hover {
  opacity: 1;
}

/* Big editorial city name */
.footer-city-block {
  margin-bottom: 40px;
}

.footer-city-name {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-city-address {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  font-weight: 500;
}

/* Contact lines */
.footer-contacts {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-line {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-contact-email {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact-email:hover {
  opacity: 0.55;
}

/* CTA Devis — texte souligné comme dans l'image */
.footer-cta {
  margin-bottom: 52px;
  display: flex;
  justify-content: center;
}

.footer-cta-link {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-cta-link:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
}

.footer-copyright {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-privacy-link {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.footer-privacy-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Social icons row — flat, minimal */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  background: none;
  border: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.footer-social-link:hover {
  color: #ffffff;
  box-shadow: none;
  background: none;
  border: none;
}

.footer-social-link .social-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .footer {
    padding: 56px 24px 40px;
  }

  .footer-city-name {
    font-size: clamp(52px, 16vw, 100px);
  }

  .footer-contact-line {
    font-size: 13px;
  }
}

/* --- INDIVIDUAL PROJECT PAGES (Option 2) --- */
.project-detail-section {
  padding-top: 0;
  padding-bottom: 100px;
}

.project-header {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  width: fit-content;
}

.back-link:hover {
  color: var(--primary-accent);
  text-shadow: 0 0 8px rgba(13, 154, 207, 0.4);
}

.back-link .arrow {
  transition: transform 0.25s ease;
}

.back-link:hover .arrow {
  transform: translateX(-4px);
}

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.project-category-tag {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-accent);
  border: 1px solid rgba(13, 154, 207, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(13, 154, 207, 0.05);
}

.project-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  margin-bottom: 50px;
}

.project-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CUSTOM VIDEO PLAY BUTTON OVERLAY --- */
.custom-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(9, 10, 13, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              opacity 0.4s ease,
              visibility 0.4s ease,
              box-shadow 0.4s ease;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.custom-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--primary-accent, #0d9acf);
  border-color: var(--primary-accent, #0d9acf);
  color: #111317;
  box-shadow: 0 0 45px rgba(13, 154, 207, 0.7);
}

.custom-video-play-btn.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.custom-play-icon-wrapper {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px; /* Optical centering for play triangle */
}

.custom-play-svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .custom-video-play-btn {
    width: 68px;
    height: 68px;
  }
  .custom-play-icon-wrapper {
    width: 26px;
    height: 26px;
  }
}

.project-body-grid {
  display: block;
  max-width: 900px;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .project-body-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.project-description-col h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: #fff;
}

.project-description-col p {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent, #c9f);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.75;
}

.project-realisation-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 32px;
  margin-bottom: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.project-realisation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-realisation-list li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  padding-left: 20px;
  position: relative;
}

.project-realisation-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent, #c9f);
  font-size: 13px;
  top: 2px;
}


.project-sidebar-col {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.project-meta-box {
  background: rgba(30, 32, 35, 0.4);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  padding: 30px;
  border-radius: var(--border-radius-default);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-meta-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  color: #fff;
}

.project-meta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.project-meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-meta-label {
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-meta-val {
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 500;
}

.project-navigation-footer {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 45%;
}

.project-nav-link.next {
  align-items: flex-end;
  text-align: right;
}

.project-nav-dir {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.project-nav-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-secondary);
}

.project-nav-link:hover .project-nav-name {
  color: var(--primary-accent);
}

/* --- INFO / ABOUT PAGE STYLES --- */
.page-info-body {
  background: #ffffff;
  color: #000000;
}

.info-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: transparent;
  display: flex;
  align-items: center;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-toggle-btn.text-black {
  color: #000000;
}

.hamburger-icon.icon-black span {
  background: #000000;
}

/* Fullscreen Background Section */
.info-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
}

.info-fullscreen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 1;
  pointer-events: none;
}

.info-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 40px) 64px 80px;
  box-sizing: border-box;
}

.info-layout {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.info-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 580px;
  width: 100%;
}

/* Cabinet Grotesk Typography */
.info-title {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 800;
  color: #000000;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.info-text-body p {
  font-family: 'Cabinet Grotesk', var(--font-ui), sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 22px;
}

.info-text-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .info-fullscreen-bg {
    object-position: center top;
    height: 55vh;
  }
  .info-hero-section {
    min-height: auto;
  }
  .info-container {
    padding-top: calc(55vh + 20px);
    padding-left: 24px;
    padding-right: 24px;
  }
  .info-layout {
    justify-content: center;
  }
  .info-content-col {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .info-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}