/* ==========================================================================
   GOJOB - Modern Creative Agency Stylesheet
   Typography: Poppins (Headings) & Space Mono (Nav/Body/Details/Forms)
   Colors: #000000, #FFFFFF, #B7B7B7, #CCFF00 (Accent)
   ========================================================================== */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #b7b7b7;
  --color-gray-light: #f5f5f5;
  --color-accent: #ccff00;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --side-padding: 36px;
  --border-color: #b7b7b7;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-white);
  color: var(--color-black);
}

body {
  font-family: var(--font-mono);
  background-color: var(--color-white);
  color: var(--color-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Full Width Fluid Container */
.container-full {
  width: 100%;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

/* ==========================================================================
   Preloader (Hybrid Animated Eyes + Progress Bar + Split Screen Curtain)
   ========================================================================== */
.preloader-hybrid-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  pointer-events: all;
}

.preloader-hybrid-wrap.is-loaded {
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s 0.65s;
}

.split-pane {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50vh;
  background: #000000;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.split-top {
  top: 0;
  transform-origin: top center;
}

.split-bottom {
  bottom: 0;
  transform-origin: bottom center;
}

.preloader-hybrid-wrap.is-loaded .split-top {
  transform: translateY(-100%);
}

.preloader-hybrid-wrap.is-loaded .split-bottom {
  transform: translateY(100%);
}

.preloader-hybrid-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  max-width: 90vw;
  z-index: 10;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.preloader-hybrid-wrap.is-loaded .preloader-hybrid-content {
  opacity: 0;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.preloader-eyes-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

@keyframes pupilWiggleHybrid {

  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-4px, 2px);
  }

  40% {
    transform: translate(4px, -2px);
  }

  60% {
    transform: translate(-2px, 3px);
  }

  80% {
    transform: translate(3px, 1px);
  }
}

.preloader-pupil-anim {
  animation: pupilWiggleHybrid 2.2s ease-in-out infinite;
}

.hybrid-logo-text {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1;
}

.hybrid-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 12px;
}

.hybrid-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #CCFF00;
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
  transition: width 0.08s ease-out;
}

.hybrid-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
}

.hybrid-status-tag {
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.hybrid-percent {
  color: #CCFF00;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Header Navigation (Distributed Spacing)
   ========================================================================== */
.site-header {
  width: 100%;
  background: var(--color-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
  width: 100%;
}

.header-left {
  flex: 0 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 33px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(5deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 170px;
  flex: 1;
  max-width: none;
  margin: 0 40px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-black);
  position: relative;
  padding: 6px 4px;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #A40A46;
}

.nav-link.active {
  font-weight: 700;
  color: #A40A46;
}

.nav-link::after {
  display: none;
}

.header-right {
  flex: 0 0 auto;
}

/* Eyes Container */
.eyes-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 44px;
  user-select: none;
}

.eyes-svg {
  width: 78px;
  height: 44px;
  display: block;
  overflow: visible;
}

#leftPupilGroup,
#rightPupilGroup {
  transition: transform 0.06s ease-out;
}

/* ==========================================================================
   Hero Section (Fullscreen Adaptive Slider / Banner)
   ========================================================================== */
.hero-section {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}

.hero-slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3840 / 1810;
  height: auto;
  min-height: auto;
  max-height: none;
  overflow: hidden;
  background-color: #ff7a00;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px var(--side-padding);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  overflow: hidden;
}

.hero-slide.is-video-slide {
  background: #000000;
}

.hero-slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Subpages Static Hero Top Bar (About, Projects, Team, Contact) */
.hero-card {
  position: relative;
  width: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px var(--side-padding);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.hero-card .hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.hero-card .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 12px;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-card .hero-desc {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  max-width: 840px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-card-about,
.hero-card-team {
  /* Inherits from .hero-card */
}

/* Projects & Contact Page Hero Cards (White Background, Black Text, Narrowed Height & Bottom Border) */
.hero-card-projects,
.hero-card-contact {
  background-color: var(--color-white) !important;
  background-image: none !important;
  min-height: auto !important;
  height: auto !important;
  padding: 44px var(--side-padding) !important;
  border-bottom: 1px solid var(--border-color) !important;
  justify-content: flex-start;
}

.hero-card-projects::before,
.hero-card-contact::before {
  display: none !important;
}

.hero-card-projects .hero-content,
.hero-card-contact .hero-content {
  color: var(--color-black) !important;
}

.hero-card-projects .hero-title,
.hero-card-contact .hero-title {
  color: var(--color-black) !important;
  text-shadow: none !important;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.hero-card-projects .hero-desc,
.hero-card-contact .hero-desc {
  color: var(--color-black) !important;
  text-shadow: none !important;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 840px;
  opacity: 0.85;
}

/* Pillars Section (About Us 4 Grid) */
.pillars-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--border-color);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-black);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black);
}

.pillar-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

/* Stats Section (About Us Numbers Grid) */
.stats-section {
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.stats-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.stat-cell {
  padding: 32px var(--side-padding);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #666;
  text-transform: lowercase;
}

.form-row-checkboxes {
  align-items: flex-start;
}

.contact-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
  width: 100%;
  padding: 4px 0;
}

/* Slider Controls (Direct SVG integration, no external frame) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-arrow:hover {
  background: transparent;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev {
  left: var(--side-padding);
}

.hero-arrow-next {
  right: var(--side-padding);
}

.hero-arrow img {
  width: 48px;
  height: 48px;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 5;
  color: var(--color-white);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: inherit;
}

.hero-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.95;
}

/* ==========================================================================
   Statement Section (1px Top & Bottom Border)
   ========================================================================== */
.statement-section {
  width: 100%;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  background-color: var(--color-white);
}

.statement-section-spaced {
  margin-top: 48px;
}

.statement-box {
  width: 100%;
}

.statement-text {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-black);
  letter-spacing: -0.01em;
}

.statement-text strong {
  font-weight: 700;
}

/* ==========================================================================
   Services Section (Zero-Edge Starting Carousel & Infinite Loop Marquee)
   ========================================================================== */
.services-section {
  padding: 0 0 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.accordion-list {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-top: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  width: 100%;
}

.accordion-item:first-child {
  border-top: none;
}

.accordion-header {
  display: grid;
  grid-template-columns: 80px 420px 1fr;
  align-items: center;
  min-height: 80px;
  padding: 0;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

.acc-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.04em;
  line-height: 1;
}

.acc-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-black);
  line-height: 1;
}

.acc-side-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-black);
  max-width: 680px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.accordion-item:hover .acc-side-desc,
.accordion-item.active .acc-side-desc {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.acc-side-desc strong {
  font-weight: 700;
}

/* Accordion Body & Infinite Loop Carousel Starting at Zero Page Offset */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
  margin-left: calc(-1 * var(--side-padding));
  margin-right: calc(-1 * var(--side-padding));
  width: calc(100% + (2 * var(--side-padding)));
}

.accordion-item.active .accordion-body {
  max-height: 480px;
  opacity: 1;
  padding-bottom: 28px;
}

/* Seamless Continuous Loop Carousel (Zero Left Offset, No Shadows) */
.carousel-container {
  width: 100%;
  overflow: hidden;
  user-select: none;
  padding: 8px 0;
  margin: 0;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  align-items: center;
  margin-left: 0;
  padding-left: 0;
  animation: serviceMarqueeLoop 32s linear infinite;
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes serviceMarqueeLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.carousel-slide {
  flex: 0 0 auto;
  width: 280px;
  height: 160px;
  background-color: #f0f0f0;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.carousel-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.carousel-slide:hover {
  opacity: 0.92;
  transform: none !important;
  box-shadow: none !important;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide:hover img {
  transform: none !important;
}

/* ==========================================================================
   Team Grid Section (4 Columns x 4 Rows, Hover Full Black Card)
   ========================================================================== */
.team-grid-section {
  padding: 60px 0 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background-color: var(--color-black);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-black);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.team-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 2;
}

.team-card:hover .team-info-overlay {
  opacity: 1;
  visibility: visible;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #b7b7b7;
  font-weight: 400;
}

/* ==========================================================================
   Project Index & Filter Section (Centered Layout, Left-Aligned With Checkboxes)
   ========================================================================== */
.projects-section {
  padding: 48px 0 60px 0;
}

.project-index-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 56px;
}

.project-index-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.project-index-title {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  color: var(--color-black);
  text-align: left;
  width: 100%;
}

.project-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 24px;
  column-gap: 200px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.filter-checkbox {
  display: none;
}

.custom-check {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-black);
  background-color: var(--color-white);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.filter-checkbox:checked+.custom-check {
  background-color: var(--color-black);
}

.filter-checkbox:checked+.custom-check::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 11px;
  font-weight: bold;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-black);
  transition: opacity 0.2s ease;
}

.filter-item:hover .filter-label {
  opacity: 0.7;
}

/* ==========================================================================
   Project Cards Grid (No Image Zoom on Hover)
   ========================================================================== */
.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 48px;
  transition: min-height 0.3s ease;
}

.project-card {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s ease;
  will-change: opacity, transform, filter;
}

.project-card.is-hidden {
  opacity: 0 !important;
  transform: translateY(14px) scale(0.97) !important;
  filter: blur(4px) !important;
  pointer-events: none !important;
}

.project-card.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  filter: blur(0px) !important;
  pointer-events: auto !important;
}

.project-card:hover {
  transform: none;
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f0f0f0;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.card-media-dark {
  background-color: var(--color-black);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.view-project-text {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-white);
  line-height: 1.1;
  transition: transform 0.3s ease;
}

.project-card:hover .view-project-text {
  transform: translate(4px, -4px);
}

/* Lime Green Accent Triangle */
.accent-triangle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 36px 36px;
  border-color: transparent transparent var(--color-accent) transparent;
  transition: transform 0.3s ease;
}

.project-card:hover .accent-triangle {
  transform: scale(1.15);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}

.project-card:hover .card-img {
  transform: none !important;
}

.card-info {
  padding-top: 16px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-black);
  margin-bottom: 10px;
}

.card-description {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-black);
}

.card-description strong {
  font-weight: 700;
}

/* ==========================================================================
   Collage Cards Components (With Evading Mouse Feature)
   ========================================================================== */
.collage-card {
  border: 1px solid var(--border-color);
  background: var(--color-white);
  display: inline-block;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  position: relative;
  will-change: transform;
  transform-origin: center center;
}

.evading-card {
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.evading-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  z-index: 30 !important;
}

.collage-media {
  width: 100%;
  overflow: hidden;
  background-color: #f0f0f0;
}

.collage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collage-caption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-black);
  background-color: var(--color-white);
  border-top: 1px solid var(--border-color);
  white-space: nowrap;
}

/* Tilt Utilities */
.tilt-left-sm {
  transform: rotate(-3.5deg);
}

.tilt-right-sm {
  transform: rotate(3.5deg);
}

.tilt-left-md {
  transform: rotate(-6deg);
}

.tilt-right-md {
  transform: rotate(5.5deg);
}

/* ==========================================================================
   Floating Image Collage & Big Quote Section
   ========================================================================== */
.quote-collage-section {
  padding: 90px 0 100px 0;
  position: relative;
}

.quote-collage-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  align-items: center;
  gap: 32px;
  position: relative;
}

.collage-left .collage-card {
  width: 220px;
}

.collage-left .collage-media {
  height: 160px;
}

.collage-center-content {
  text-align: center;
  padding: 0 20px;
}

.quote-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

.quote-underline {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.collage-right-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.collage-top-right .collage-card {
  width: 200px;
  margin-left: 20px;
}

.collage-top-right .collage-media {
  height: 140px;
}

.collage-bottom-right .collage-card {
  width: 200px;
  margin-left: 50px;
}

.collage-bottom-right .collage-media {
  height: 140px;
}

/* ==========================================================================
   Contact Us Form Section (Full-Bleed Lines Touching Screen Edges)
   ========================================================================== */
.contact-section {
  padding: 60px 0 80px 0;
  width: 100%;
}

.contact-section-page {
  padding-top: 0;
}

.contact-header-wrap {
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-black);
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Full-bleed lines: 0 gap to left and right */
.form-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding: 18px var(--side-padding);
  width: 100%;
}

.contact-section-page .form-row:first-child,
#contactPageForm .form-row:first-child {
  border-top: none;
}

.form-row-textarea {
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-black);
  font-weight: 700;
}

.form-input {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-black);
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  text-align: right;
  padding: 8px 0;
}

.form-input::placeholder {
  color: #a0a0a0;
  font-family: var(--font-mono);
  font-size: 13px;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  text-align: right;
}

.form-action-row {
  display: flex;
  justify-content: flex-end;
  padding: 24px var(--side-padding) 0 var(--side-padding);
}

.btn-send {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 64px;
  border: 1px solid var(--color-black);
  transition: var(--transition-smooth);
}

.btn-send:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

/* ==========================================================================
   Compact Overlapping Scattered Diagonal Collage Section
   ========================================================================== */
.secondary-collage-section {
  padding: 70px 0 90px 0;
  position: relative;
  overflow: hidden;
}

.scattered-collage-canvas {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 550px;
}

.scatter-item {
  position: absolute;
  transition: transform 0.3s ease;
}

.scatter-item .collage-card {
  width: clamp(150px, 16vw, 210px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.scatter-item .collage-media {
  height: clamp(100px, 11vw, 140px);
}

/* Organic Overlapping Layout Across Full Screen Width */
.item-pos-1 {
  top: 10px;
  left: -1%;
  z-index: 2;
}

.item-pos-2 {
  top: -15px;
  left: 24%;
  z-index: 5;
}

.item-pos-3 {
  top: 20px;
  left: 50%;
  z-index: 4;
}

.item-pos-4 {
  top: -5px;
  right: -1%;
  z-index: 3;
}

.item-pos-5 {
  top: 160px;
  left: 6%;
  z-index: 7;
}

.item-pos-6 {
  top: 135px;
  left: 32%;
  z-index: 8;
}

.item-pos-7 {
  top: 170px;
  left: 58%;
  z-index: 7;
}

.item-pos-8 {
  top: 145px;
  right: 4%;
  z-index: 6;
}

.item-pos-9 {
  top: 310px;
  left: 0%;
  z-index: 5;
}

.item-pos-10 {
  top: 320px;
  left: 22%;
  z-index: 9;
}

.item-pos-11 {
  top: 290px;
  left: 46%;
  z-index: 8;
}

.item-pos-12 {
  top: 330px;
  right: 18%;
  z-index: 9;
}

.item-pos-13 {
  top: 300px;
  right: -2%;
  z-index: 6;
}

.item-pos-14 {
  top: 195px;
  left: 78%;
  z-index: 7;
}

/* ==========================================================================
   Giant Brand Typography Section
   ========================================================================== */
.giant-brand-section {
  padding: 60px 0 40px 0;
  width: 100%;
}

.giant-brand-text {
  font-family: var(--font-heading);
  font-size: 140px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--color-black);
}

/* ==========================================================================
   Footer Info Rows Table (Full-Bleed Lines Touching Screen Edges)
   ========================================================================== */
.site-footer-expanded {
  border-top: 1px solid var(--border-color);
  padding: 0 0 40px 0;
  background-color: var(--color-white);
  width: 100%;
}

.footer-info-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--side-padding);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 13px;
  width: 100%;
}

.info-label {
  font-weight: 700;
  color: var(--color-black);
  flex-shrink: 0;
  width: 120px;
}

.info-value {
  color: var(--color-black);
  text-align: right;
}

.info-value a:hover {
  text-decoration: underline;
}

/* Sub-Footer Copyright */
.sub-footer-bar {
  padding: 40px var(--side-padding) 0 var(--side-padding);
  text-align: center;
}

.copyright-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-black);
}

.copyright-text a {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --side-padding: 20px;
  }

  .nav-menu {
    margin: 0 20px;
    gap: 20px;
  }

  .accordion-header {
    grid-template-columns: 60px 280px 1fr;
  }

  .project-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-collage-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .collage-left,
  .collage-right-group {
    display: none;
  }

  .scattered-collage-canvas {
    min-height: auto;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: static;
  }

  .scatter-item {
    position: static;
  }

  .scatter-item .collage-card {
    width: 100%;
  }

  .scatter-item .collage-media {
    height: 180px;
  }
}

/* Mobile Menu Base Styles (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
}

.mobile-dropdown-menu {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --side-padding: 16px;
  }

  /* Header & Navigation (Dropdown Overlays Slider) */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-inner {
    height: 56px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .desktop-nav {
    display: none !important;
  }

  .header-left {
    display: flex;
    align-items: center;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    height: 24px;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 0;
    z-index: 10;
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--color-black);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Dropdown Menu Overlay (Screenshot 2: White background, 1px borders, centered Space Mono) */
  .mobile-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 10000;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }

  .mobile-dropdown-menu.menu-open {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-link {
    display: block;
    padding: 16px 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-black);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
  }

  .mobile-nav-link:last-child {
    border-bottom: none;
  }

  .mobile-nav-link.active,
  .mobile-nav-link:active {
    font-weight: 700;
    color: #A40A46;
    background-color: #fdf5f8;
  }

  .eyes-container {
    width: 52px;
    height: 30px;
  }

  .eyes-svg {
    width: 52px;
    height: 30px;
    overflow: visible;
  }

  /* Hero Banners (Fullscreen on Mobile for Home slider, Bar style for Subpages) */
  .hero-slider-wrap {
    aspect-ratio: auto;
    min-height: 520px;
    height: calc(100vh - 56px);
    max-height: none;
    padding: 40px var(--side-padding);
  }

  .hero-card {
    min-height: 200px;
    height: auto;
    padding: 38px var(--side-padding);
  }

  .hero-card .hero-title {
    font-size: 2.1rem;
    margin-bottom: 8px;
  }

  .hero-card .hero-desc {
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-section-projects {
    padding: 36px 0 28px 0;
  }

  .projects-hero-title {
    font-size: 2.4rem;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .projects-hero-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 11.5px;
    line-height: 1.45;
  }

  /* Statement Sections */
  .statement-section {
    padding: 18px 0;
  }

  .statement-section-spaced {
    margin-top: 24px;
  }

  .statement-text {
    font-size: 11px;
    line-height: 1.5;
  }

  /* Services Accordion (Screenshot 1: Clean left-aligned numbers & titles) */
  .services-section {
    padding: 0 0 16px 0;
  }

  .accordion-header {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 60px;
    padding: 0;
    border-top: none;
    box-sizing: border-box;
  }

  .acc-num {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-black);
    width: 32px;
    flex-shrink: 0;
  }

  .acc-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-black);
  }

  .acc-side-desc {
    display: none;
  }

  .accordion-body {
    padding-bottom: 16px;
  }

  .carousel-slide {
    width: 200px;
    height: 120px;
  }

  /* Team Grid (2 Columns, Tap to reveal info) */
  .team-grid-section {
    padding: 36px 0 48px 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .team-card.mobile-active .team-info-overlay {
    opacity: 1;
    visibility: visible;
  }

  .team-info-overlay {
    padding: 16px 12px;
  }

  .team-name {
    font-size: 17px;
  }

  .team-role {
    font-size: 10.5px;
  }

  /* Project Index & Filters */
  .projects-section {
    padding: 32px 0 40px 0;
  }

  .project-index-wrapper {
    margin-bottom: 24px;
  }

  .project-index-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .project-filter-grid {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  /* Projects Grid (2 COLUMNS on Mobile) */
  .project-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    row-gap: 24px;
  }

  .project-card .card-title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .project-card .card-description {
    font-size: 11px;
    line-height: 1.4;
  }

  .view-project-text {
    font-size: 18px;
  }

  /* Random Scattered Overlapping Collage on Mobile (Balanced Left & Right Spread) */
  .secondary-collage-section {
    padding: 40px 0 50px 0;
    overflow: hidden;
  }

  .scattered-collage-canvas {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: 560px;
    display: block;
  }

  .scatter-item {
    position: absolute;
    transition: transform 0.3s ease;
  }

  .scatter-item .collage-card {
    width: 142px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  }

  .scatter-item .collage-media {
    height: 96px;
  }

  .scatter-item .collage-caption {
    font-size: 9px;
    padding: 5px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Organic mobile scattered coordinates alternating across Left & Right */
  .item-pos-1 {
    top: 10px;
    left: -10px;
    z-index: 2;
    transform: rotate(-5deg);
  }

  .item-pos-2 {
    top: 5px;
    right: -10px;
    z-index: 3;
    transform: rotate(6deg);
  }

  .item-pos-3 {
    top: 75px;
    left: 24%;
    z-index: 4;
    transform: rotate(-3deg);
  }

  .item-pos-4 {
    top: 140px;
    right: -8px;
    z-index: 5;
    transform: rotate(5.5deg);
  }

  .item-pos-5 {
    top: 175px;
    left: -10px;
    z-index: 6;
    transform: rotate(-6deg);
  }

  .item-pos-6 {
    top: 230px;
    right: -5px;
    z-index: 7;
    transform: rotate(4.5deg);
  }

  .item-pos-7 {
    top: 275px;
    left: 2px;
    z-index: 8;
    transform: rotate(-4deg);
  }

  .item-pos-8 {
    top: 320px;
    right: -8px;
    z-index: 9;
    transform: rotate(6deg);
  }

  .item-pos-9 {
    top: 390px;
    right: 8%;
    z-index: 10;
    transform: rotate(5deg);
  }

  .item-pos-10 {
    top: 410px;
    left: -5px;
    z-index: 11;
    transform: rotate(-5deg);
  }

  .item-pos-11 {
    top: 475px;
    right: -10px;
    z-index: 12;
    transform: rotate(4.5deg);
  }

  .item-pos-12 {
    top: 490px;
    left: 18%;
    z-index: 12;
    transform: rotate(-3deg);
  }

  .item-pos-13,
  .item-pos-14 {
    display: none;
  }

  /* Quote Collage Section with Unobstructed Quote Text on Top (Görsel 2) */
  .quote-collage-section {
    padding: 60px 0;
    position: relative;
  }

  .quote-collage-wrapper {
    position: relative;
    padding: 70px 0;
    text-align: center;
    display: block;
  }

  .quote-center-content {
    position: relative;
    z-index: 10;
    padding: 0 12px;
  }

  .quote-heading {
    font-size: 1.6rem;
    line-height: 1.28;
    color: var(--color-black);
    position: relative;
    z-index: 10;
    padding: 0 8px;
  }

  .collage-left {
    display: block;
    position: absolute;
    top: -30px;
    left: 0%;
    z-index: 1;
    pointer-events: auto;
  }

  .collage-left .collage-card {
    width: 105px;
    transform: rotate(-6deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .collage-left .collage-media {
    height: 70px;
  }

  .collage-left .collage-caption {
    font-size: 8.5px;
    padding: 4px 6px;
  }

  .collage-right-group {
    display: block;
    position: absolute;
    bottom: -35px;
    right: 0%;
    z-index: 1;
    pointer-events: auto;
  }

  .collage-top-right {
    display: none;
  }

  .collage-bottom-right {
    display: block;
  }

  .collage-bottom-right .collage-card {
    width: 115px;
    transform: rotate(5.5deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .collage-bottom-right .collage-media {
    height: 75px;
  }

  .collage-bottom-right .collage-caption {
    font-size: 8.5px;
    padding: 4px 6px;
  }

  /* Contact Form */
  .contact-section {
    padding: 36px 0 48px 0;
  }

  .contact-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    row-gap: 6px;
    padding: 12px var(--side-padding);
  }

  .form-label {
    font-size: 12px;
  }

  .form-input,
  .form-textarea {
    text-align: left;
    font-size: 12px;
  }

  .contact-services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn-send {
    padding: 10px 48px;
    font-size: 12px;
  }

  /* About Pillars & Stats */
  .pillars-section {
    padding: 36px 0;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pillar-num {
    font-size: 20px;
  }

  .pillar-title {
    font-size: 15px;
  }

  .pillar-desc {
    font-size: 11px;
  }

  .stats-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell {
    padding: 16px var(--side-padding);
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 10.5px;
  }

  /* Giant Brand & Footer */
  .giant-brand-section {
    padding: 24px 0 16px 0;
  }

  .giant-brand-text {
    font-size: 2.8rem;
  }

  .site-footer-expanded {
    padding: 0 0 24px 0;
  }

  .footer-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px var(--side-padding);
    font-size: 11px;
  }

  .info-value {
    text-align: left;
  }

  .sub-footer-bar {
    padding: 20px var(--side-padding) 0 var(--side-padding);
  }

  /* Project Detail Mobile */
  .project-meta-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .meta-row-item {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 14px var(--side-padding);
  }

  .meta-row-item:nth-child(2n) {
    border-right: none;
  }

  .meta-row-item:nth-child(3),
  .meta-row-item:nth-child(4) {
    border-bottom: none;
  }

  .narrative-grid {
    gap: 24px;
  }

  .narrative-col-right {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .narrative-big-title {
    font-size: 1.7rem;
  }

  .gallery-dual-grid,
  .gallery-triple-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase-cover-card {
    min-height: 360px;
  }

  .showcase-cover-overlay {
    padding: 24px var(--side-padding);
  }

  .showcase-headline {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Project Detail Page (Case Study) Styles
   ========================================================================== */
.project-detail-hero {
  padding: 48px 0 0 0;
  width: 100%;
}

.back-to-projects {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-black);
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: underline;
  transition: transform 0.2s ease;
}

.back-to-projects:hover {
  transform: translateX(-4px);
}

.project-hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--color-black);
  margin-bottom: 24px;
}

.project-hero-headline {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 450;
  color: #555555;
  margin-top: -6px;
  margin-bottom: 36px;
  line-height: 1.45;
  max-width: 960px;
  letter-spacing: -0.01em;
}

/* Full-bleed Project Metadata Table */
.project-meta-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.meta-row-item {
  padding: 22px var(--side-padding);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-row-item:last-child {
  border-right: none;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #777;
  text-transform: lowercase;
}

.meta-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-black);
}

.meta-val a {
  text-decoration: underline;
}

/* Featured Project Big Card Showcase */
.project-main-media-section {
  padding: 60px 0 0 0;
}

/* ==========================================================================
   Project Detail Rich Content (Editor Area)
   ========================================================================== */
.project-content-section {
  padding: 60px 0 70px 0;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.project-rich-content {
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-black);
}

.project-rich-content p {
  margin-bottom: 1.6em;
  font-size: 17px;
  line-height: 1.75;
  color: #222;
}

.project-rich-content h1,
.project-rich-content h2,
.project-rich-content h3,
.project-rich-content h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-black);
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.project-rich-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.project-rich-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.project-rich-content h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.project-rich-content h4 {
  font-size: 1.3rem;
}

.project-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  margin: 2em 0;
  display: block;
}

.project-rich-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 12px 24px;
  margin: 2em 0;
  background: #f8fafc;
  font-style: italic;
  font-size: 18px;
  color: #334155;
}

.project-rich-content ul,
.project-rich-content ol {
  margin: 1.2em 0 1.8em 24px;
  padding: 0;
}

.project-rich-content li {
  margin-bottom: 0.6em;
  line-height: 1.7;
}

.project-rich-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.project-rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  border: 1px solid var(--border-color);
}

.project-rich-content th,
.project-rich-content td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  font-size: 14px;
}

.project-rich-content th {
  background: #f8fafc;
  font-weight: 700;
  text-align: left;
}

/* ==========================================================================
   Project Rich Content Videos & Embeds (Landscape 16:9 & Vertical 9:16)
   ========================================================================== */
.project-rich-content iframe {
  max-width: 100%;
  border: none;
  display: block;
}

/* Default Landscape Videos (16:9) */
.project-rich-content iframe:not([src*="shorts"]):not(.vertical-video):not(.portrait-video):not([data-aspect="9:16"]) {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Vertical / Portrait Videos (9:16) Base */
.project-rich-content .video-vertical,
.project-rich-content .video-9-16,
.project-rich-content .vertical-video,
.project-rich-content .portrait-video,
.project-rich-content div[data-aspect="9:16"],
.project-rich-content .vertical-video-wrapper,
.project-rich-content iframe[src*="shorts"],
.project-rich-content iframe[src*="tiktok.com"],
.project-rich-content iframe[src*="instagram.com/reel"],
.project-rich-content iframe[src*="instagram.com/p/"] {
  display: block;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 82vh;
  margin: 2rem auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #000000;
}

/* Float Left: Video on left, text wraps on right */
.project-rich-content .vertical-video-wrapper.alignleft,
.project-rich-content .vertical-video-wrapper[style*="float: left"],
.project-rich-content .vertical-video-wrapper[style*="float:left"],
.project-rich-content div[style*="float: left"]>.vertical-video-wrapper,
.project-rich-content div[style*="float:left"]>.vertical-video-wrapper,
.project-rich-content iframe.alignleft,
.project-rich-content video.alignleft {
  float: left !important;
  margin: 0.5rem 2.5rem 1.5rem 0 !important;
  max-width: 360px !important;
}

/* Float Right: Video on right, text wraps on left */
.project-rich-content .vertical-video-wrapper.alignright,
.project-rich-content .vertical-video-wrapper[style*="float: right"],
.project-rich-content .vertical-video-wrapper[style*="float:right"],
.project-rich-content div[style*="float: right"]>.vertical-video-wrapper,
.project-rich-content div[style*="float:right"]>.vertical-video-wrapper,
.project-rich-content iframe.alignright,
.project-rich-content video.alignright {
  float: right !important;
  margin: 0.5rem 0 1.5rem 2.5rem !important;
  max-width: 360px !important;
}

/* Side-by-Side Flex Layout (Video + Text Block) */
.project-rich-content .video-text-row,
.project-rich-content .media-text-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 40px !important;
  align-items: center !important;
  margin: 3rem 0 !important;
  width: 100% !important;
}

.project-rich-content .video-text-row>.vertical-video-wrapper,
.project-rich-content .media-text-row>.vertical-video-wrapper {
  flex: 0 0 360px !important;
  max-width: 360px !important;
  margin: 0 !important;
}

.project-rich-content .video-text-row>.video-text-content,
.project-rich-content .media-text-row>.video-text-content {
  flex: 1 1 320px !important;
}

.project-rich-content .vertical-video-wrapper iframe,
.project-rich-content .vertical-video-wrapper video {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  border: none !important;
}

.project-rich-content video {
  max-width: 100%;
  border-radius: 8px;
  margin: 2rem auto;
  display: block;
}

.project-rich-content video.vertical-video,
.project-rich-content video.portrait-video,
.project-rich-content video[data-aspect="9:16"] {
  max-width: 380px;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 82vh;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.project-rich-content::after {
  content: "";
  display: table;
  clear: both;
}

.showcase-cover-card {
  position: relative;
  width: 100%;
  min-height: 520px;
  max-height: 640px;
  overflow: hidden;
  background-color: var(--color-black);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.showcase-cover-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.showcase-cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 56px var(--side-padding);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: var(--color-white);
  z-index: 2;
}

.showcase-dark-backdrop {
  background-color: var(--color-black);
  color: var(--color-white);
  min-height: 480px;
  padding: 64px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border-color);
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  display: block;
}

.showcase-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 900px;
  color: #fff;
}

.accent-triangle-lg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 60px 60px;
  border-color: transparent transparent var(--color-accent) transparent;
}

/* Narrative / Strategy Section (Title on TOP, Challenge/Solution below) */
.project-narrative-section {
  padding: 80px 0 70px 0;
  border-bottom: 1px solid var(--border-color);
}

.narrative-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.narrative-big-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
  color: var(--color-black);
  max-width: 1000px;
}

.narrative-col-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.narrative-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: lowercase;
  margin-bottom: 12px;
  color: var(--color-black);
}

.narrative-p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #333;
}

/* Gallery Showcase */
.project-gallery-section {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.gallery-full-card {
  width: 100%;
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 32px;
}

.gallery-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.gallery-triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  border: 1px solid var(--border-color);
  background: #f9f9f9;
  overflow: hidden;
}

.gallery-caption {
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-top: 1px solid var(--border-color);
  background: var(--color-white);
  color: var(--color-black);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img,
.gallery-full-card:hover .gallery-img {
  transform: scale(1.03);
}

/* Project Navigation Prev/Next */
.project-nav-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  background-color: var(--color-white);
}

.project-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proj-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease;
}

.proj-nav-btn:hover {
  transform: translateY(-2px);
}

.p-nav-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #777;
  text-transform: lowercase;
}

.p-nav-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.next-btn {
  text-align: right;
}

/* ==========================================================================
   Project Detail Marquee Infinite Image Strip
   ========================================================================== */
.project-marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  user-select: none;
  display: flex;
  padding: 16px 0;
  background: transparent;
}

.project-marquee-track {
  display: flex;
  width: max-content;
  animation: projectMarqueeScroll 35s linear infinite;
  will-change: transform;
}

.project-marquee-track:hover {
  animation-play-state: paused;
}

.project-marquee-track .marquee-img {
  height: clamp(140px, 26vw, 420px);
  width: auto;
  max-width: none;
  display: inline-block;
  flex-shrink: 0;
  object-fit: cover;
  pointer-events: none;
}

@keyframes projectMarqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================
   Project Detail Video Dynamic Sizing & Portrait Adaptations
   ========================================================== */
.project-video-section {
  width: 100%;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.project-main-video {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  background: #000000;
}

.project-gallery-stream-item.is-full .gallery-video-wrap {
  width: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 88vh;
}

.project-gallery-stream-item.is-full .gallery-video-wrap video {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  background: #000000;
}

.project-gallery-stream-item.is-half-pair .gallery-video-box {
  width: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
  max-height: 80vh;
}

.project-gallery-stream-item.is-half-pair .gallery-video-box video {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  background: #000000;
}

/* Portrait / Vertical Video Auto Helper */
.is-portrait-video {
  max-width: 420px !important;
  max-height: 85vh !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  object-fit: contain !important;
}

.has-portrait-video {
  aspect-ratio: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}