/* ═══════════════════════════════════════════════════════════
   RE4Mstudio — style.css
   Single stylesheet, no framework
   ═══════════════════════════════════════════════════════════ */

/* ── FONT FACE ────────────────────────────────────────────── */
@font-face {
  font-family: 'ZalandoSans';
  src: url('assets/fonts/ZalandoSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'ZalandoSans';
  src: url('assets/fonts/ZalandoSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  background: #0d0e10;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════
   PRELOADER SCREEN
   ═══════════════════════════════════════════════════════════ */
.site-preloader {
  position: fixed;
  inset: 0;
  background: #0d0e10;
  z-index: 99999;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.site-preloader.preloader-done {
  opacity: 0;
  pointer-events: none;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* ── FONT STACK ───────────────────────────────────────────── */
/* ZalandoSans Variable: wdth 75–125, wght 100–900             */
/* Illustrator letter-spacing → CSS: divide by 1000            */
/*   AI 200  → letter-spacing: 0.2em                           */
/*   AI -10  → letter-spacing: -0.01em                         */

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --orange: #F26522;
  --orange-dark: #e05a1a;
  --gray-950: #0a0a0a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white: #fff;
  --max-w: 1440px;
  --px: clamp(1.25rem, 4vw, 3rem);
  --radius-pill: 9999px;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --transition: 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slow: 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Selection color */
::selection { background: var(--orange); color: #fff; }

/* ── LAYOUT HELPERS ───────────────────────────────────────── */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

.hidden { display: none !important; }

/* ── ICONS ────────────────────────────────────────────────── */
.icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  flex-shrink: 0;
}
.icon-lg { width: 2.5rem; height: 2.5rem; stroke: currentColor; }
.icon-xl { width: 3.5rem; height: 3.5rem; stroke: currentColor; }
.icon-orange { stroke: var(--orange); }
.icon-green  { stroke: #34d399; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
#navbar-header {
  position: fixed;
  top: 30px;
  left: 0; right: 0;
  z-index: 40;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
#navbar-header.nav-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-8px);
}

.nav-container {
  width: calc(100vw - 60px);
  max-width: calc(100vw - 60px);
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 767px) {
  .nav-container {
    max-width: calc(100% - 24px);
  }
}

/* Freestanding 72px Logo (-3px offset to 1700px box) */
.logo-btn-standalone {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -3px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity var(--transition);
}

.logo-btn-standalone:hover {
  transform: scale(1.04);
}

.nav-logo-standalone-img {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  aspect-ratio: 1 / 1;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  shape-rendering: geometricPrecision;
}

/* Menubar (58px height, 24px gap from 72px logo, +3px optical overhang on right, clean transparent) */
#nav-pill {
  flex: 1;
  height: 58px;
  margin-left: 24px;
  margin-right: -3px;
  border-radius: 29px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

@media (max-width: 1023px) {
  .logo-btn-standalone {
    width: 54px;
    height: 54px;
    margin-left: 0;
  }
  .nav-logo-standalone-img {
    width: 54px;
    height: 54px;
  }
  #nav-pill {
    height: 54px;
    margin-left: 16px;
    border-radius: 27px;
  }
}

/* On mobile: logo left, hamburger right — hide center col */
@media (max-width: 767px) {
  #nav-pill {
    grid-template-columns: 1fr auto;
  }
}

/* Scrolled state: transparent and lightweight without boxed background */
#nav-pill.nav-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

/* LEFT */
.nav-left {
  display: flex;
  align-items: center;
  padding-left: 28px;
}

.nav-tagline {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-variation-settings: 'wdth' 100, 'wght' 300;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  display: inline-block;
}

.nav-tagline-brand {
  font-variation-settings: 'wdth' 100, 'wght' 700;
  color: #ffffff;
}
@media (min-width: 900px) { .nav-tagline { display: inline; } }

/* CENTER */
.nav-center {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
@media (min-width: 768px) { .nav-center { display: flex; } }

.nav-link {
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.2em;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease, opacity var(--transition);
  white-space: nowrap;
  padding: 0;
}
.nav-link:hover {
  color: #66cc66;
  opacity: 1;
}

.nav-sep {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  user-select: none;
  line-height: 1;
}

/* RIGHT */
.nav-right {
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding-right: 9px;
}
@media (min-width: 768px) { .nav-right { display: flex; } }

/* "talk with us." pill: No shadows, fine grey border, ochre on hover */
.btn-talk {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 29px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: none !important;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-talk .talk-arrow line,
.btn-talk .talk-arrow polyline {
  stroke: #ffffff;
}

#nav-pill.nav-scrolled .btn-talk {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #ffffff;
}
#nav-pill.nav-scrolled .btn-talk .talk-arrow line,
#nav-pill.nav-scrolled .btn-talk .talk-arrow polyline {
  stroke: #ffffff;
}

.btn-talk:hover,
#nav-pill.nav-scrolled .btn-talk:hover {
  background: #66cc66 !important;
  border-color: #66cc66 !important;
  color: #111111 !important;
  box-shadow: none !important;
}
.btn-talk:hover .talk-arrow line,
.btn-talk:hover .talk-arrow polyline,
#nav-pill.nav-scrolled .btn-talk:hover .talk-arrow line,
#nav-pill.nav-scrolled .btn-talk:hover .talk-arrow polyline {
  stroke: #111111 !important;
}

.talk-arrow {
  width: 32px;
  height: 12px;
  flex-shrink: 0;
}
.talk-arrow line,
.talk-arrow polyline {
  transition: stroke var(--transition);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-pill {
  border-radius: var(--radius-pill);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  transition: all var(--transition);
  user-select: none;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  font-size: 0.875rem;
}
.btn-pill:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }

.btn-dark {
  background: var(--gray-900);
  color: #fff;
  padding-left: 1.5rem;
}
.btn-dark:hover { background: #000; }

.btn-orange {
  background: var(--orange);
  color: #fff;
  padding-left: 1.5rem;
}
.btn-orange:hover { background: var(--orange-dark); }

.btn-full  { width: 100%; justify-content: space-between; padding: 0.875rem 1.25rem; font-size: 1rem; }
.btn-sm    { font-size: 0.8125rem; padding: 0.625rem 1.5rem; }

.btn-ghost {
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  transition: background var(--transition);
}
.btn-ghost:hover { background: var(--gray-200); }

/* Roll animation (text slides up on hover) */
.btn-roll-wrap {
  position: relative;
  overflow: hidden;
  height: 1.25rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
}
.btn-roll-top,
.btn-roll-bot {
  display: block;
  white-space: nowrap;
  transition: transform var(--transition-slow);
}
.btn-roll-bot {
  position: absolute;
  top: 0; left: 0;
  transform: translateY(100%);
}
.btn-pill:hover .btn-roll-top { transform: translateY(-100%); }
.btn-pill:hover .btn-roll-bot  { transform: translateY(0); }

/* Arrow circle */
.btn-arrow-circle {
  background: #fff;
  color: var(--gray-900);
  border-radius: var(--radius-pill);
  width: 1.75rem; height: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-slow);
}
.btn-pill:hover .btn-arrow-circle { transform: rotate(-45deg); }
.btn-arrow-orange { color: var(--orange); }

/* Icon-only button */
.btn-icon {
  width: 2.25rem; height: 2.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-900);
  transition: background var(--transition);
}
.btn-icon:hover { background: var(--gray-200); }

/* Mobile hamburger — only on mobile */
.nav-mobile-right {
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-mobile-right { display: none; }
}

.btn-menu {
  background: var(--gray-900);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: background var(--transition);
}
.btn-menu:hover { background: #000; }

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU OVERLAY
   ═══════════════════════════════════════════════════════════ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  flex-direction: column;
  justify-content: flex-end;
}
.mobile-overlay:not(.hidden) { display: flex; }

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-sheet {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: var(--radius-xl);
  margin: 0 0.75rem 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-sheet-title {
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.2em;
  color: var(--gray-600);
  text-transform: uppercase;
}

.mobile-nav { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav-link {
  font-size: clamp(1.75rem, 8vw, 2rem);
  font-weight: 500;
  color: var(--gray-900);
  text-align: left;
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: #66cc66; }

.mobile-sheet-footer { padding-top: 0.5rem; border-top: 1px solid var(--gray-100); }

/* ═══════════════════════════════════════════════════════════
   HERO WRAPPER + BOX
   ═══════════════════════════════════════════════════════════ */
#hero-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  z-index: 1;
}

@media (max-width: 767px) {
  #hero-wrap {
    height: auto;
    min-height: 100svh;
    margin-top: 0;
    padding-top: calc(16px + 50px + 20px);
    padding-bottom: 20px;
    align-items: center;
  }
}

/* ── Hero content ────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  padding-top: clamp(2rem, 4vh, 4rem);
  padding-bottom: clamp(2rem, 3vh, 3rem);
  will-change: opacity, transform;
}

#hero {
  position: relative;
  top: auto;
  width: calc(100vw - 60px);
  max-width: calc(100vw - 60px);
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
  background: transparent;
}

@media (max-width: 767px) {
  #hero {
    position: relative;
    top: 0;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    height: auto;
    min-height: calc(100svh - 70px);
    border-radius: 0;
    justify-content: center;
  }
}

#shader-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

#hero-wrap,
#studio,
#expertise,
.works-section {
  position: relative;
  z-index: 1;
}

.palette-indicator {
  position: absolute;
  top: auto;
  bottom: clamp(3rem, 5vw, 4.5rem);
  right: 25px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #66cc66;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  box-shadow: none;
  transition: opacity 0.3s ease;
  opacity: 0.9;
}

.palette-indicator:hover {
  opacity: 1;
}

.palette-dash {
  display: block;
  width: 1px;
  height: 34px;
  background: #66cc66;
  opacity: 0.9;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .palette-indicator {
    top: auto;
    bottom: clamp(3rem, 5vw, 4.5rem);
    right: 16px;
    font-size: 11px;
  }
}



.hero-eyebrow {
  font-size: 13px;
  font-weight: 400;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-variation-settings: 'wdth' 100, 'wght' 700;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: none;
  word-break: normal;
  hyphens: none;
}

.typewriter-slot {
  display: inline-block;
  min-width: auto;
  text-align: left;
  vertical-align: baseline;
  color: #66cc66 !important;
}

#typewriter-word1,
#typewriter-word2 {
  color: #66cc66 !important;
}

/* Blinking cursor in EEB211 */
.cursor {
  display: inline-block;
  width: 2.5px;
  height: 0.9em;
  background: #66cc66 !important;
  vertical-align: baseline;
  margin-left: 0.08em;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-scroll-wrap {
  margin-top: clamp(2rem, 3.5vw, 3rem);
}
.hero-scroll-btn {
  display: inline-flex;
  align-items: flex-start;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.85;
  transition: transform var(--transition), opacity var(--transition);
}
.hero-scroll-btn:hover {
  transform: translateY(4px);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 2: THE MANIFEST
   ═══════════════════════════════════════════════════════════ */
#studio {
  background: transparent;
  margin-top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.manifest-cinema-wrap {
  /* Clean in-place container, no blur */
}

.manifest-container {
  width: 1700px;
  max-width: calc(100% - 60px);
  margin: 0 auto;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .manifest-container {
    max-width: calc(100% - 24px);
    padding: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   SECTION 2: THE MANIFEST (EDITORIAL LINE-BY-LINE MASK REVEAL)
   ═══════════════════════════════════════════════════════════ */
.manifest-vertical-tag {
  position: absolute;
  left: 30px;
  top: 0;
  writing-mode: vertical-rl !important;
  transform: rotate(180deg) translateY(24px);
  opacity: 0;
  letter-spacing: 0.28em;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 36px;
  font-weight: 200;
  font-variation-settings: 'wdth' 85, 'wght' 200;
  color: #66cc66;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.03s, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.03s, letter-spacing 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.03s;
  will-change: opacity, transform, letter-spacing;
}

@media (max-width: 1400px) {
  .manifest-vertical-tag {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .manifest-vertical-tag {
    top: 0;
    left: 16px;
    font-size: 32px;
  }
}

/* Single line centered headline */
.manifest-headline {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(34px, 4.2vw, 64px);
  font-variation-settings: 'wdth' 100, 'wght' 300;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  margin: 0 0 2.5rem 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.32);
}

@media (max-width: 600px) {
  .manifest-headline {
    white-space: normal;
  }
}

/* Lead text formatted */
.manifest-content {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: relative;
}

.manifest-body {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1.45vw, 24px);
  font-variation-settings: 'wdth' 95, 'wght' 200;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.005em;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.manifest-callout {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1.45vw, 24px);
  font-variation-settings: 'wdth' 95, 'wght' 500;
  font-weight: 500;
  line-height: 1.42;
  color: #ffffff;
  letter-spacing: -0.005em;
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM DYNAMIC LINE-SPLIT TYPOGRAPHY REVEAL
   ═══════════════════════════════════════════════════════════ */
.split-line-mask {
  display: block;
  overflow: hidden;
  padding-top: 0.04em;
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}

.split-line-item {
  display: inline-block;
  transform: translate3d(0, 118%, 0) rotate(1.2deg);
  transform-origin: left bottom;
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.82s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.62s cubic-bezier(0.19, 1, 0.22, 1);
}

.is-revealed .split-line-item,
#studio.studio-revealed .split-line-item {
  transform: translate3d(0, 0%, 0) rotate(0deg) !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  .split-line-mask {
    display: inline;
    overflow: visible;
  }
  .split-line-item {
    display: inline;
    transform: translateY(18px) rotate(0deg);
    opacity: 0;
  }
}

/* RE4M Stamp */
.manifest-stamp-wrap {
  position: absolute;
  right: 27px;
  bottom: -93px;
  width: 200px !important;
  height: 200px !important;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.42s, transform 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.42s;
  will-change: opacity, transform;
}

.manifest-stamp-img {
  width: 200px !important;
  height: 200px !important;
  display: block;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .manifest-stamp-wrap {
    right: 27px;
    bottom: -93px;
  }
}

@media (max-width: 850px) {
  .manifest-stamp-wrap {
    right: 15px;
    bottom: -93px;
  }
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }
}

/* Revealed States */
#studio.studio-revealed .manifest-vertical-tag {
  opacity: 1;
  transform: rotate(180deg) translateY(0);
  letter-spacing: 0.2em;
}

#studio.studio-revealed .manifest-stamp-wrap {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   SECTION TAG (numbered label)
   ═══════════════════════════════════════════════════════════ */
.section-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) { .section-tag { margin-bottom: 2rem; } }

.tag-number {
  width: 1.5rem; height: 1.5rem;
  background: var(--gray-900);
  color: #fff;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .tag-number { width: 1.75rem; height: 1.75rem; font-size: 0.75rem; }
}

.tag-label {
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 0.25rem 1rem;
  color: var(--gray-800);
}
@media (min-width: 640px) { .tag-label { font-size: 0.8125rem; } }

/* ═══════════════════════════════════════════════════════════
   SECTION HEADINGS / BODY
   ═══════════════════════════════════════════════════════════ */
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .section-heading { margin-bottom: 2rem; } }

.section-body {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 2rem;
  max-width: 32rem;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 3: THE EXPERTISE
   ═══════════════════════════════════════════════════════════ */
#expertise {
  /* Full-viewport "page", same pattern as #studio. */
  margin-top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.expertise-wrap {
  width: 1700px;
  max-width: calc(100% - 60px);
  min-height: auto;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

@media (min-width: 1920px) {
  .expertise-wrap {
    height: auto;
  }
}

@media (max-width: 1023px) {
  .expertise-wrap {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .expertise-wrap {
    max-width: calc(100% - 24px);
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Vertical Tag: THE EXPERTISE (30px from left edge, locked to top edge of cards) */
.expertise-vertical-tag {
  position: absolute;
  left: 30px;
  top: 0;
  writing-mode: vertical-rl !important;
  transform: rotate(180deg);
  opacity: 0;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 36px;
  font-weight: 200;
  font-variation-settings: 'wdth' 85, 'wght' 200;
  letter-spacing: 0.2em;
  color: #66cc66;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

#expertise.expertise-revealed .expertise-vertical-tag {
  opacity: 1;
}

@media (max-width: 1400px) {
  .expertise-vertical-tag {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .expertise-vertical-tag {
    top: 0;
    left: 16px;
    font-size: 32px;
  }
}

/* Main Content Container: exactly aligned with 1200px guide */
.expertise-container-1200 {
  width: 100%;
  padding-left: calc((100% - 1200px) / 2 + clamp(1.25rem, 3vw, 2.5rem));
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

@media (max-width: 1400px) {
  .expertise-container-1200 {
    padding-left: 90px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .expertise-wrap {
    max-width: calc(100% - 24px);
    border-radius: 0;
    padding: 0;
  }
  .expertise-container-1200 {
    padding-left: 0;
    padding-right: 0;
  }
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 380px));
  gap: 15px;
  max-width: 1200px;
}

@media (max-width: 1280px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 1023px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 680px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* 6 Cards (Always strictly quadratic / square) */
.expertise-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: none;
  background: rgba(246, 248, 250, 0.62);
  border-radius: 0;
  padding: 34px 25px 28px 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border: none;
  box-shadow: 0 16px 48px rgba(5, 7, 10, 0.12);
  backdrop-filter: blur(32px) saturate(135%);
  -webkit-backdrop-filter: blur(32px) saturate(135%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: default;
  opacity: 0;
  transform: translateY(45px);
  will-change: transform, opacity;
  overflow: hidden;
}

@media (max-width: 1280px) {
  .expertise-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
}

.expertise-card:hover {
  transform: none;
  box-shadow: 0 18px 54px rgba(5, 7, 10, 0.16);
}

.expertise-icon-wrap {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 20px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(22px) scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.expertise-icon {
  width: auto;
  display: block;
  object-fit: contain;
}

.expertise-icon-90 {
  height: 90px;
  max-width: 90px;
}

.expertise-icon-85 {
  height: 85px;
  max-width: 85px;
}

.expertise-card-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 20px;
  font-variation-settings: 'wdth' 100, 'wght' 600;
  color: #111111;
  margin: 0 0 10px 0;
  line-height: 1.25;
  letter-spacing: -0.015em;
  flex-shrink: 0;
}

.expertise-card-body {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  font-variation-settings: 'wdth' 100, 'wght' 300;
  color: #505050;
  letter-spacing: 0;
  margin: 0;
}

.expertise-card-body em {
  font-style: italic;
}

/* Staggered Scroll Reveal Animations for Cards & Internal Content (Ultra-Smooth Slow Pace) */
.expertise-card:nth-child(1) { transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, box-shadow 0.4s ease; }
.expertise-card:nth-child(1) .expertise-icon-wrap { transition-delay: 0.10s; }
.expertise-card:nth-child(1) .expertise-card-title { transition-delay: 0.14s; }
.expertise-card:nth-child(1) .expertise-card-body  { transition-delay: 0.18s; }

.expertise-card:nth-child(2) { transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, box-shadow 0.4s ease; }
.expertise-card:nth-child(2) .expertise-icon-wrap { transition-delay: 0.17s; }
.expertise-card:nth-child(2) .expertise-card-title { transition-delay: 0.21s; }
.expertise-card:nth-child(2) .expertise-card-body  { transition-delay: 0.25s; }

.expertise-card:nth-child(3) { transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.19s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.19s, box-shadow 0.4s ease; }
.expertise-card:nth-child(3) .expertise-icon-wrap { transition-delay: 0.24s; }
.expertise-card:nth-child(3) .expertise-card-title { transition-delay: 0.28s; }
.expertise-card:nth-child(3) .expertise-card-body  { transition-delay: 0.32s; }

.expertise-card:nth-child(4) { transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.26s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.26s, box-shadow 0.4s ease; }
.expertise-card:nth-child(4) .expertise-icon-wrap { transition-delay: 0.31s; }
.expertise-card:nth-child(4) .expertise-card-title { transition-delay: 0.35s; }
.expertise-card:nth-child(4) .expertise-card-body  { transition-delay: 0.39s; }

.expertise-card:nth-child(5) { transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.33s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.33s, box-shadow 0.4s ease; }
.expertise-card:nth-child(5) .expertise-icon-wrap { transition-delay: 0.38s; }
.expertise-card:nth-child(5) .expertise-card-title { transition-delay: 0.42s; }
.expertise-card:nth-child(5) .expertise-card-body  { transition-delay: 0.46s; }

.expertise-card:nth-child(6) { transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.40s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.40s, box-shadow 0.4s ease; }
.expertise-card:nth-child(6) .expertise-icon-wrap { transition-delay: 0.45s; }
.expertise-card:nth-child(6) .expertise-card-title { transition-delay: 0.49s; }
.expertise-card:nth-child(6) .expertise-card-body  { transition-delay: 0.53s; }

#expertise.expertise-revealed .expertise-card {
  opacity: 1;
  transform: translateY(0);
}

#expertise.expertise-revealed .expertise-icon-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   SECTION 4: THE WORKS (HORIZONTAL SCROLL)
   ═══════════════════════════════════════════════════════════ */
.works-section {
  position: relative;
  /* Natural scroll track height for fluid 1:1 horizontal scroll */
  height: 480vh;
  background: transparent;
}

.works-pin-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.works-section.works-active .works-pin-container {
  opacity: 1;
  transform: translateY(0);
}

.works-track-wrap {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
  padding-right: 120px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  position: relative;
  z-index: 1;
}

/* Positioned in the moving track: aligned on entry, then travels left with the cards. */
.works-vertical-tag {
  position: absolute;
  left: calc((100vw - 1700px) / 2 + 30px);
  top: 0;
  transform: rotate(180deg);
  writing-mode: vertical-rl !important;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 36px;
  font-weight: 200;
  font-variation-settings: 'wdth' 85, 'wght' 200;
  letter-spacing: 0.2em;
  color: #66cc66;
  white-space: nowrap;
  line-height: 1;
  margin: 0;
  padding: 0;
  user-select: none;
  z-index: 4;
  pointer-events: none;
}

@media (max-width: 1760px) {
  .works-vertical-tag {
    left: 60px;
  }
}

/* Cards start left-aligned with THE EXPERTISE's card grid: same formula as
   .expertise-container-1200's padding-left, just expressed against 100vw
   directly (proven algebraically equivalent to the nested 1700→1200 calc
   THE EXPERTISE uses, verified live at 1960px width: both landed on the
   same absolute X). Independent of the tag now, so it doesn't shift if the
   tag's text/width ever changes. */
.works-cards-track {
  display: flex;
  align-items: center;
  gap: 15px !important;
  flex-shrink: 0;
  margin-left: calc((100vw - 1200px) / 2 + clamp(1.25rem, 3vw, 2.5rem));
}

/* Mirrors THE EXPERTISE's fixed 90px inner inset plus its 30px page gutter. */
@media (max-width: 1400px) {
  .works-cards-track {
    margin-left: 120px;
  }
}

@media (max-width: 767px) {
  .works-vertical-tag {
    left: 28px;
    font-size: 32px;
  }

  .works-cards-track {
    margin-left: 12px;
  }
}

/* Large Works Cards (Cinematic Size with 15px gap and 0px radius) */
.works-card {
  width: clamp(560px, 42vw, 760px);
  height: clamp(640px, 84vh, 880px);
  background: rgba(246, 248, 250, 0.62);
  border-radius: 0;
  border: none;
  outline: none;
  padding: 20px 20px 28px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  box-shadow: 0 16px 48px rgba(5, 7, 10, 0.12);
  backdrop-filter: blur(32px) saturate(135%);
  -webkit-backdrop-filter: blur(32px) saturate(135%);
  opacity: 0;
  transform: translate3d(-35px, 0, 0);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.works-card.card-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.works-card:nth-child(1) { transition-delay: 0.1s; }
.works-card:nth-child(2) { transition-delay: 0.35s; }
.works-card:nth-child(3) { transition-delay: 0.2s; }
.works-card:nth-child(4) { transition-delay: 0.2s; }
.works-card:nth-child(5) { transition-delay: 0.2s; }

/* Image Wrap */
.works-card-img-wrap {
  flex: 1;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: none;
  outline: none;
  background: rgba(246, 248, 250, 0.32);
  transform: translateZ(0);
  cursor: none; /* custom plus cursor active here */
}

.works-card-img {
  position: absolute;
  left: -15%;
  top: 0;
  width: 130%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.04);
  backface-visibility: hidden;
}

/* Step 2: Elegant Curtain Wipe (Opens Right to Left per Card) */
.works-curtain {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: rgba(246, 248, 250, 0.72);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  border-radius: 0;
  z-index: 5;
  transform-origin: left center;
  transform: scaleX(1.04);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.works-card.card-revealed .works-curtain {
  transform: scaleX(0);
  transition-delay: 0.2s;
}


/* Step 3: Footer & Typography (Fades in from bottom to top after image reveal) */
.works-card-footer {
  padding-top: 20px;
  padding-left: 8px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.works-card-meta {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #737373;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.works-dash {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-variation-settings: 'wdth' 85, 'wght' 200;
  color: #a0a0a0;
  margin: 0 6px;
}

.works-card-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 28px;
  font-variation-settings: 'wdth' 100, 'wght' 500;
  color: #111111;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.works-card.card-revealed .works-card-meta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.works-card.card-revealed .works-card-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(0.5);
  transition: opacity 0.3s ease, transform 0.15s ease-out;
  will-change: transform, opacity;
}

.custom-cursor.cursor-active {
  opacity: 1;
  transform: translate3d(var(--cursor-x, 0), var(--cursor-y, 0), 0) scale(1);
}

.cursor-svg {
  width: 64px;
  height: 64px;
  display: block;
}

/* Mobile & Touch: Disable Custom Cursor */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .expertise-card,
  .works-card {
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
  }

  .works-curtain {
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
  }
}

.project-year {
  font-size: 0.6875rem;
  font-weight: 400;
  background: var(--gray-200);
  color: var(--gray-700);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-pill);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER + CONTACT
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   FOOTER + CONTACT (LIGHT GREY ARCHITECTURAL MINIMAL)
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: #2f3031 !important;
  color: #f4f4f4;
  padding-top: 6rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 5fr 7fr; gap: 5rem; }
}

/* Footer brand */
.footer-info { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; }
.footer-brand-wrap { display: flex; flex-direction: column; align-items: flex-start; }

.footer-header-slot {
  height: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer-logo-standalone {
  width: 28px;
  height: 28px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

.footer-brand-heading {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-variation-settings: 'wdth' 100, 'wght' 600;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
}

.contact-heading {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-variation-settings: 'wdth' 100, 'wght' 500;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #66cc66 !important;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.footer-tagline,
.contact-sub {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0;
  margin-bottom: 0;
}

.footer-tagline {
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
  max-width: 29rem;
}

.footer-meta { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.footer-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: rgba(255, 255, 255, 0.62);
}
.footer-meta-item svg { stroke: #66cc66; margin-top: 0.125rem; }

.footer-email {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
.footer-email:hover {
  color: #66cc66;
  text-decoration-color: #66cc66;
}

/* Contact box (Rahmenlos & Clean auf Hellgrau) */
.contact-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.contact-box-header { margin-bottom: 2rem; }
.contact-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1;
}

/* Form fields (Ausschließlich feine Unterlinie & dezente Versalien-Placeholders) */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.5rem; }
.form-field:last-child { margin-bottom: 0; }

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 0 !important;
  padding: 0.65rem 0 !important;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem) !important;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: #e6e8ea !important;
  caret-color: #ffffff !important;
  transition: border-color 0.3s ease, background-color 50000s ease-in-out 0s;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  border-spacing: 0;
}

/* Hard override against browser autofill (Chrome, Safari, Edge, Firefox) */
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field input:-webkit-autofill:active,
.form-field textarea:-webkit-autofill,
.form-field textarea:-webkit-autofill:hover,
.form-field textarea:-webkit-autofill:focus,
.form-field textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #2f3031 inset !important;
  box-shadow: 0 0 0 1000px #2f3031 inset !important;
  -webkit-text-fill-color: #e6e8ea !important;
  color: #e6e8ea !important;
  caret-color: #ffffff !important;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif !important;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem) !important;
  transition: background-color 50000s ease-in-out 0s !important;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 12px !important;
  font-variation-settings: 'wdth' 90, 'wght' 500;
  font-weight: 500;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  color: rgba(255, 255, 255, 0.62) !important;
  opacity: 1 !important;
}

.form-field input:focus,
.form-field textarea:focus {
  background-color: transparent !important;
  background: transparent !important;
  border-bottom-color: #66cc66 !important;
}

.form-field textarea {
  resize: none;
  overflow-y: hidden;
  line-height: 1.75 !important;
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
  min-height: 42px;
  box-sizing: border-box;
}

.form-submit-row {
  padding-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.btn-dark-submit {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  border-radius: var(--radius-pill);
  padding: 0.75rem 2rem;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-dark-submit:hover {
  background: #333333 !important;
  border-color: #333333 !important;
}

/* Success state */
.inquiry-success {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 2rem 0 1.5rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.inquiry-success svg {
  stroke: #66cc66 !important;
  width: 40px;
  height: 40px;
}
.success-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-variation-settings: 'wdth' 100, 'wght' 500;
  font-weight: 500;
  color: #66cc66 !important;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 0 0;
}
.success-body {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62) !important;
  max-width: 26rem;
  margin: 0;
}
.reset-link {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62) !important;
  margin-top: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}
.reset-link:hover {
  color: #66cc66 !important;
}

/* Footer bar */
.footer-bar {
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.48);
}
@media (min-width: 640px) {
  .footer-bar { flex-direction: row; justify-content: space-between; }
}

.footer-bar-links { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.footer-bar-links a { color: rgba(255, 255, 255, 0.66); text-decoration: none; transition: color 0.25s ease; }
.footer-bar-links a:hover { color: #66cc66; }

.footer-wallpaper-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #111111 !important;
  font-family: inherit;
  font-size: 0.8rem;
  font-variation-settings: 'wdth' 85, 'wght' 600;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.footer-wallpaper-pill:hover {
  background: #f2f2f2 !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #555555;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: color 0.25s ease;
}
.back-to-top:hover { color: #66cc66; }
.back-to-top:hover .icon { stroke: #66cc66; }

/* ═══════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 250ms ease forwards;
}
.modal:not(.hidden) { display: flex; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.modal-dialog {
  background: #fff;
  color: var(--gray-900);
  border-radius: var(--radius-xl);
  max-width: 48rem;
  width: 100%;
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  position: relative;
  display: flex;
  flex-direction: column;
}
.modal-dialog-sm { max-width: 32rem; overflow: hidden; }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 20;
  width: 2.5rem; height: 2.5rem;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform var(--transition), background var(--transition);
}
.modal-close:hover { transform: scale(1.1); background: #fff; }

.modal-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray-300);
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-thumb-inner { width: 100%; height: 100%; background: var(--gray-300); }

.modal-body { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.5rem; }

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.modal-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}
.modal-title { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: var(--gray-900); margin-top: 0.25rem; }

.modal-badges { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}
.badge-gray   { background: var(--gray-100); color: var(--gray-800); }
.badge-amber  { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.badge-amber .icon { stroke: #b45309; }

.modal-desc { font-size: clamp(0.875rem, 1.5vw, 1rem); color: var(--gray-700); line-height: 1.65; }

.modal-highlights {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.modal-highlights h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.modal-highlights ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.modal-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--gray-600);
  line-height: 1.5;
}
.modal-highlights li .icon { margin-top: 0.1rem; flex-shrink: 0; }

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
@media (min-width: 640px) {
  .modal-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.modal-actions .btn-pill { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   FULLSCREEN SINGLE PROJECT MODAL
   ═══════════════════════════════════════════════════════════ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #ffffff;
  transform: translate3d(0, 100%, 0);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.95s;
  will-change: transform, opacity;
  pointer-events: none;
  cursor: none !important;
}

.project-modal.modal-active,
.project-modal.modal-active * {
  cursor: none !important;
}

.project-modal.modal-active {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-modal-scroll-area {
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #ffffff;
}

.project-modal-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.project-modal-scroll-area::-webkit-scrollbar-track {
  background: #fbfbfb;
}
.project-modal-scroll-area::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 3px;
}

.modal-nav-header {
  position: fixed;
  top: 15px;
  left: 0;
  width: 100%;
  z-index: 10010;
  pointer-events: none;
}

.modal-nav-header .nav-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.modal-nav-header .logo-btn-standalone {
  pointer-events: auto;
}

/* Modal Containers */
.project-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

.project-container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

.project-container-medium {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

/* Section Spacing - Generous Breathing Room */
.project-section {
  padding: clamp(90px, 12vh, 140px) 0;
}

.project-divider-line {
  width: 200px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 auto 36px auto;
}

/* 1. MASTHEAD HERO */
.project-masthead {
  padding-top: clamp(140px, 18vh, 180px);
  padding-bottom: clamp(60px, 9vh, 90px);
}

.project-meta-top {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #737373;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.project-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(48px, 6.5vw, 100px);
  font-variation-settings: 'wdth' 100, 'wght' 600;
  color: #111111;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 32px 0;
  text-align: center;
}

.project-lead-narrative {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-variation-settings: 'wdth' 95, 'wght' 300;
  line-height: 1.48;
  color: #222222;
  max-width: 960px;
  margin: 0 auto;
  letter-spacing: -0.01em;
  text-align: center;
}

/* 2-COLUMN SIDE-BY-SIDE GRID (STAYS 2 COLUMNS ON 14-INCH LAPTOPS) */
.project-split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
  width: 100%;
}

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

.project-split-col {
  width: 100%;
}

.project-hero-media-wrap {
  max-width: 1400px;
  margin: 60px auto 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   MODAL MEDIA FRAMES, CURTAIN REVEAL & PARALLAX
   ═══════════════════════════════════════════════════════════ */
.modal-media-frame {
  position: relative;
  width: 100%;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #efefef;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.modal-hero-frame {
  height: clamp(520px, 78vh, 880px);
}

.modal-square-frame {
  height: clamp(480px, 60vh, 740px);
}

.modal-landscape-frame {
  max-width: 1400px;
  margin: 0 auto;
  height: clamp(520px, 80vh, 900px);
}

.modal-still-frame {
  height: clamp(540px, 75vh, 840px);
}

.modal-next-thumb-frame {
  max-width: 520px;
  height: 480px;
  margin: 0 auto;
  border-radius: 28px !important;
  overflow: hidden !important;
}

/* Curtain Mask Wipe Reveal (Curtain Reveal) */
.modal-curtain {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 5;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.modal-curtain.curtain-revealed {
  transform: scaleY(0);
}

/* Parallax Image inside Frame */
.modal-parallax-img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.1s ease-out;
}

/* Clean Captions Outside Image Frame - Fades in from bottom, NO parallax */
.modal-caption {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  margin-top: 18px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-caption.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(44px, 4.8vw, 72px);
  font-variation-settings: 'wdth' 95, 'wght' 600;
  color: #111111;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.project-stat-unit {
  font-size: 0.6em;
  font-variation-settings: 'wdth' 85, 'wght' 300;
  color: #777777;
}

.project-stat-label {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  padding: 100px 0 120px 0;
}

.project-next-sub {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 16px;
}

.project-next-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(40px, 5.5vw, 84px);
  font-variation-settings: 'wdth' 100, 'wght' 600;
  color: #ffffff;
  margin: 0 0 40px 0;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.project-next-title:hover {
  color: #e0e0e0;
}

.project-next-thumb-wrap {
  max-width: 520px;
  margin: 0 auto 40px auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
/* ═══════════════════════════════════════════════════════════
   SINGLE PROJECT SHOWCASE STYLES
   ═══════════════════════════════════════════════════════════ */
.portfolio-single-project {
  background-color: #ffffff;
  color: #111111;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.header_fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 30px;
  pointer-events: none;
}

.header__container {
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-circle-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(239, 239, 239, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  pointer-events: all;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-circle-link:hover {
  transform: scale(1.05);
}

.logo-circle-img {
  width: 32px;
  height: 32px;
}

.portfolio-close-pill {
  height: 58px;
  padding: 0 28px;
  background: rgba(239, 239, 239, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  pointer-events: all;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.portfolio-close-pill:hover {
  transform: scale(1.03);
  background: #ffffff;
}

.portfolio-close-text {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 600;
  letter-spacing: 0.16em;
  color: #111111;
  text-transform: uppercase;
}

.portfolio-close-icon {
  font-size: 14px;
  color: #111111;
}

/* Spacing System */
.pt-xlarge { padding-top: clamp(120px, 14vw, 180px); }
.pb-large  { padding-bottom: clamp(60px, 8vw, 110px); }
.py-large  { padding-top: clamp(70px, 8vw, 110px); padding-bottom: clamp(70px, 8vw, 110px); }
.py-xlarge { padding-top: clamp(100px, 11vw, 150px); padding-bottom: clamp(100px, 11vw, 150px); }
.mt-xsmall { margin-top: 14px; }
.mt-small  { margin-top: 36px; }
.mt-medium { margin-top: 56px; }
.mb-small  { margin-bottom: 36px; }
.mb-medium { margin-bottom: 56px; }
.mb-large  { margin-bottom: 80px; }

/* Grid & Flex Layout Engine */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.container-fluid {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.container-fluid_paddings {
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
  box-sizing: border-box;
}

.row > * {
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-auto { flex: 0 0 auto; width: auto; }

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .pt-md-5  { padding-top: 80px !important; }
  .pt-md-4  { padding-top: 50px !important; }
  .mb-md-0  { margin-bottom: 0 !important; }
}

@media (min-width: 992px) {
  .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
}

.align-items-start  { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.w-100 { width: 100% !important; }
.d-block { display: block !important; }


/* Background Colors */
.bg-light-3 { background-color: #f7f7f7 !important; }
.bg-dark-4  { background-color: #111111 !important; color: #ffffff !important; }
.bg-white   { background-color: #ffffff !important; }

/* Typography Classes */
.entry-title.xl {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(48px, 6.5vw, 108px);
  font-variation-settings: 'wdth' 100, 'wght' 500;
  color: #111111;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
}

.post-meta_mini {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #737373;
}

.post-meta__divider {
  margin: 0 4px;
  color: #a0a0a0;
}

/* Mask & Parallax Reveal Containers */
.portfolio-parallax-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.portfolio-parallax-frame.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-parallax-inner {
  position: relative;
  width: 100%;
  height: 124%;
  top: -12%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.portfolio-parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-hero-img {
  height: clamp(520px, 78vh, 880px);
}

.row.align-items-stretch .portfolio-parallax-frame {
  height: clamp(480px, 60vh, 720px);
}

.section-image__caption {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777777;
  margin-top: 18px !important;
}

/* ═══════════════════════════════════════════════════════════
   SPLIT-TEXT LINE REVEAL ENGINE
   ═══════════════════════════════════════════════════════════ */
.arts-split-text {
  opacity: 1;
}

.arts-split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.arts-split-line-inner {
  display: block;
  transform: translate3d(0, 115%, 0);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.is-text-revealed .arts-split-line-inner {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Stagger delays for multiple lines */
.is-text-revealed .arts-split-line:nth-child(1) .arts-split-line-inner { transition-delay: 0.04s; }
.is-text-revealed .arts-split-line:nth-child(2) .arts-split-line-inner { transition-delay: 0.12s; }
.is-text-revealed .arts-split-line:nth-child(3) .arts-split-line-inner { transition-delay: 0.20s; }
.is-text-revealed .arts-split-line:nth-child(4) .arts-split-line-inner { transition-delay: 0.28s; }
.is-text-revealed .arts-split-line:nth-child(5) .arts-split-line-inner { transition-delay: 0.36s; }

/* Subtle fade elements */
.portfolio-fade-up {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.portfolio-fade-up.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}


.list-dots li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-dots li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #111111;
  display: inline-block;
}

.list-dots__name {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333333;
}

.section-masthead__text.h3 {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-variation-settings: 'wdth' 95, 'wght' 300;
  line-height: 1.45;
  color: #222222;
  max-width: 960px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* Counters Row */
.portfolio-counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .portfolio-counter-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.counter__number.xl {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(48px, 5.2vw, 76px);
  font-variation-settings: 'wdth' 95, 'wght' 600;
  color: #111111;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.counter__label {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777777;
}

/* Grid Images & Landscape */
.portfolio-img-fluid {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-landscape-img {
  width: 100%;
  height: clamp(520px, 80vh, 900px);
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.section__headline {
  width: 80px;
  height: 1px;
  background: #bbbbbb;
}

/* Testimonial Quote */
.slider-testimonials__wrapper-circle {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-mark {
  position: absolute;
  font-size: 40px;
  line-height: 1;
  font-family: Georgia, serif;
  color: #111111;
}

.slider-testimonials__text.h3 {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-variation-settings: 'wdth' 95, 'wght' 400;
  line-height: 1.45;
  color: #111111;
  letter-spacing: -0.01em;
}

.slider-testimonials__author {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-variation-settings: 'wdth' 85, 'wght' 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
}

/* Tech Specs */
/* ═══════════════════════════════════════════════════════════
   SINGLE PROJECT SUITE
   ═══════════════════════════════════════════════════════════ */
.portfolio-single-body {
  background: #ffffff;
  color: #111111;
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  cursor: none !important;
}

.portfolio-single-body * {
  cursor: none !important;
}

.portfolio-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.portfolio-container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.portfolio-masthead-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(52px, 7vw, 112px);
  font-variation-settings: 'wdth' 100, 'wght' 500;
  color: #111111;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0;
}

.portfolio-meta-sub {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.16em;
  color: #777777;
  text-transform: uppercase;
}

.portfolio-lead-text {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-variation-settings: 'wdth' 95, 'wght' 300;
  line-height: 1.45;
  color: #222222;
  letter-spacing: -0.015em;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* 100% Aligned 2-Column Grid */
.portfolio-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

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

.portfolio-grid-item {
  width: 100%;
}

/* Image Frames with GSAP Scrub Parallax Mask */
.portfolio-img-frame {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.hero-frame {
  height: clamp(520px, 80vh, 880px);
}

.square-frame {
  height: clamp(480px, 60vh, 740px);
}

.landscape-frame {
  height: clamp(520px, 80vh, 900px);
}

.still-frame {
  height: clamp(540px, 75vh, 840px);
}

.portfolio-img-inner {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.portfolio-caption {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777777;
}

.portfolio-statement-heading {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(32px, 4.5vw, 68px);
  font-variation-settings: 'wdth' 95, 'wght' 400;
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-divider {
  width: 80px;
  height: 1px;
  background: #bbbbbb;
}

/* Line Mask Reveal System */
.portfolio-line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.portfolio-line-inner {
  display: block;
  transform: translate3d(0, 115%, 0);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.is-revealed .portfolio-line-inner {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Testimonials */
.portfolio-testimonial-wrap {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.portfolio-quote-circle {
  font-size: 48px;
  line-height: 1;
  font-family: Georgia, serif;
  color: #111111;
  margin-bottom: 24px;
}

.portfolio-quote-text {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-variation-settings: 'wdth' 95, 'wght' 400;
  line-height: 1.45;
  color: #111111;
  letter-spacing: -0.01em;
  margin: 0 auto;
}

.portfolio-quote-author {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-variation-settings: 'wdth' 85, 'wght' 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
  margin-top: 32px;
}

/* Dark Specs Section */
.portfolio-specs-heading {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-variation-settings: 'wdth' 95, 'wght' 500;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.portfolio-specs-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .portfolio-specs-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.portfolio-spec-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-variation-settings: 'wdth' 95, 'wght' 600;
  color: #ffffff;
  margin: 0 0 18px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #2e2e2e;
  letter-spacing: 0.05em;
}

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

.portfolio-spec-list li {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-variation-settings: 'wdth' 85, 'wght' 300;
  color: #888888;
  line-height: 1.4;
}

/* Next Project Footer */
.portfolio-next-link {
  text-decoration: none;
  display: inline-block;
}

.portfolio-next-sub {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-variation-settings: 'wdth' 85, 'wght' 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777777;
}

.portfolio-next-title {
  font-family: 'ZalandoSans', system-ui, -apple-system, sans-serif;
  font-size: clamp(42px, 5.5vw, 84px);
  font-variation-settings: 'wdth' 100, 'wght' 600;
  color: #111111;
  letter-spacing: -0.02em;
}

.portfolio-next-title.underline {
  border-bottom: 2px solid #111111;
  display: inline-block;
  padding-bottom: 6px;
}

.portfolio-next-thumb {
  max-width: 680px;
  border-radius: 28px;
  overflow: hidden;
}

.portfolio-next-thumb img {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-next-thumb:hover img {
  transform: scale(1.05);
}

/* ── Current visual palette ─────────────────────────────── */
:root { --accent-green: #66cc66; }

/* Green accent replaces the former yellow across the active page UI. */
.palette-indicator,
.hero-vertical-tag,
.manifest-vertical-tag,
.expertise-vertical-tag,
.works-vertical-tag,
.typewriter-slot,
#typewriter-word1,
#typewriter-word2,
.hero-scroll-btn:hover,
.footer-email:hover,
.footer-bar-links a:hover { color: var(--accent-green) !important; }
.palette-dash,
.cursor,
.footer-meta-item svg,
.icon,
.expertise-icon-wrap svg { stroke: var(--accent-green) !important; }
.preloader-bar { background: var(--accent-green); }

/* Cards: 15% white glass for expertise, 20% for works, with white copy and green labels. */
.expertise-card {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.20) !important;
  backdrop-filter: blur(32px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(135%) !important;
}
.works-card {
  background: rgba(255, 255, 255, 0.20) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.20) !important;
  backdrop-filter: blur(32px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(135%) !important;
}
.expertise-card {
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  justify-content: flex-start !important;
  align-self: start;
  flex: 0 0 auto;
  overflow: hidden !important;
}
.expertise-grid { align-items: start; }
.desktop-break { display: inline; }
@media (max-width: 767px) { .desktop-break { display: none; } }
.expertise-card-title,
.works-card-meta,
.works-card-meta *,
.expertise-card h3,
.expertise-card .expertise-card-title { color: #66cc66 !important; }
.works-card-title,
.works-card .works-card-title { color: #fff !important; }
.expertise-card-body,
.expertise-card p,
.expertise-card .expertise-card-body { color: #fff !important; font-size: 17px !important; }
.works-dash { color: rgba(255,255,255,.7); }
.expertise-icon { filter: brightness(0) saturate(100%) invert(78%) sepia(32%) saturate(680%) hue-rotate(74deg) brightness(91%) contrast(88%); }
.btn-talk:hover,
#nav-pill.nav-scrolled .btn-talk:hover { background: var(--accent-green) !important; border-color: var(--accent-green) !important; }
.icon-orange, .icon-green, .footer-meta-item svg, svg.icon, svg[class*="icon"] { stroke: var(--accent-green) !important; }
body svg:not(.cursor-svg), body svg:not(.cursor-svg) * { stroke: var(--accent-green) !important; }
img.expertise-icon { filter: brightness(0) saturate(100%) invert(78%) sepia(32%) saturate(680%) hue-rotate(74deg) brightness(91%) contrast(88%); }
