/* ==========================================================================
   ECHEN STUDIOS & THIRDSPACE - SPLIT PERSONALITY THEME (V3)
   Clean, light, editorial website design:
   - Split Hero Left: Echen Studios (Hardcore Construction, Dark Black & White, Straight Lines)
   - Split Hero Right: Thirdspace (Ultra-Creative, Vibrant Colors, Fluid Curves)
   - Rest of Site & Inner Pages: Crisp, Light, Sophisticated Editorial Layout (No dark theme across the whole site)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Space+Grotesk:wght@400;500;600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  /* ==========================================
     GLOBAL LIGHT EDITORIAL THEME
     ========================================== */
  --bg-site: #ffffff;
  --bg-subtle: #f6f7fa;
  --bg-card: #ffffff;
  --text-main: #111827;
  --text-muted: #525866;
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;

  /* ==========================================
     ECHEN STUDIOS (HARDCORE CONSTRUCTION / MONOCHROME)
     PITCH BLACK, CHALK WHITE, STEEL CAD LINES, 0px RADII
     ========================================== */
  --ec-black: #000000;
  --ec-deep-black: #070709;
  --ec-steel-dark: #141416;
  --ec-steel-line: rgba(255, 255, 255, 0.16);
  --ec-laser-line: #ffffff;
  --ec-white: #ffffff;
  --ec-gray-light: #e5e7eb;
  --ec-gray-muted: #9ca3af;
  --ec-font-sans: 'Space Grotesk', 'Inter', sans-serif;
  --ec-font-mono: 'JetBrains Mono', monospace;
  --ec-font-heading: 'Syne', 'Space Grotesk', sans-serif;
  --ec-radius: 0px;

  /* ==========================================
     THIRDSPACE (CREATIVE / COLORFUL / CURVES)
     CORAL, SUNSHINE, LAVENDER, MINT, TERRACOTTA, ORGANIC CURVES
     ========================================== */
  --ts-bg-gradient: linear-gradient(145deg, #fff7f0 0%, #fdece2 35%, #f4eeff 70%, #ebfbf3 100%);
  --ts-coral: #ff5c38;
  --ts-sunshine: #ffb703;
  --ts-lavender: #9d7df7;
  --ts-mint: #2ec486;
  --ts-terracotta: #c25e38;
  --ts-charcoal: #1e2022;
  --ts-cream: #fffaf5;
  --ts-font-serif: 'Playfair Display', 'Cormorant Garamond', serif;
  --ts-font-sans: 'Inter', sans-serif;
  --ts-radius-pill: 9999px;
  --ts-radius-curve: 32px;

  /* Split & Geometry */
  --split-pos: 50%;
  --split-pos-v: 50%;
  --split-width: 3px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ec-font-sans);
  background-color: var(--bg-site);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f3f7;
}
::-webkit-scrollbar-thumb {
  background: #c2c7d0;
}
::-webkit-scrollbar-thumb:hover {
  background: #111111;
}

/* ==========================================================================
   PDF ALIGNED DESIGN SPECIFICATION (ECHEN & THIRDSPACE)
   - Left: Architectural Gray #e3e7e8 + Royal Blue #3a4bd5
   - Right: Sage Olive #c3cba6 + Deep Olive Charcoal #1d291b
   ========================================================================== */

:root {
  --ec-bg-pdf: #e3e7e8;
  --ts-bg-pdf: #c3cba6;
  --ec-blue-pdf: #3a4bd5;
  --ts-dark-pdf: #1d291b;
  --text-dark: #11161a;
  --text-body: #2d3748;
  --text-muted: #5a6578;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --header-height: 72px;
  --site-max-width: 1240px;
  --gutter-outer: max(2.5rem, calc((100% - var(--site-max-width)) / 2 + 2.5rem));
  --gutter-inner: 3rem;
}

/* ==========================================================================
   1. SITE HEADER & NAVIGATION
   - Left: Dot + Echen Studios & Thirdspace
   - Right: Clean text links: Projects, About, Journal, Contact
   - Clean transparent over hero, blur backdrop upon scroll
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter-outer);
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

/* On scroll, add translucent backdrop */
.site-header.scrolled,
.site-header.visible,
.site-header.header-normal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.04);
}

body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #3a4bd5 50%, #1d291b 50%);
  display: inline-block;
  flex-shrink: 0;
}
.nav-brand-text {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #11161a;
  letter-spacing: -0.01em;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-nav .nav-links a {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: #11161a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.desktop-nav .nav-links a:hover {
  color: #3a4bd5;
}

/* ==========================================================================
   2. SPLIT HERO SECTION (CENTERED & BALANCED)
   ========================================================================== */
.hero-split-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
}

body.admin-bar .hero-split-container {
  height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .hero-split-container {
    height: calc(100vh - 46px);
  }
}

/* ==========================================================================
   HERO PANELS: DUAL IDENTITY (PALE ARCHITECTURAL SLATE & WARM SAGE ATELIER)
   ========================================================================== */

/* Left Hero Panel: Echen Studios (#eef2f5) */
.hero-panel.panel-echen {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--split-pos, 50%);
  height: 100%;
  background: #eef2f5;
  color: #11161a;
  overflow: hidden;
  z-index: 10;
  will-change: width;
  border-radius: 0 !important;
}

/* Right Hero Panel: Thirdspace (#c4cfb4) */
.hero-panel.panel-thirdspace {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - var(--split-pos, 50%));
  height: 100%;
  background: #c4cfb4;
  color: #18221b;
  overflow: hidden;
  z-index: 10;
  will-change: width;
  border-radius: 0 !important;
}

/* Background Video Layers */
.hero-bg-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-video.video-echen {
  filter: grayscale(100%) contrast(115%) brightness(108%);
  opacity: 0.16;
  mix-blend-mode: multiply;
}
.hero-bg-video.video-ts {
  filter: sepia(35%) saturate(75%) brightness(104%);
  opacity: 0.14;
  mix-blend-mode: multiply;
}
.video-overlay-ec {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(238, 242, 245, 0.45) 0%, rgba(238, 242, 245, 0.75) 100%);
  mix-blend-mode: normal;
}
.video-overlay-ts {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(196, 207, 180, 0.40) 0%, rgba(196, 207, 180, 0.70) 100%);
  mix-blend-mode: normal;
}

/* CAD Scan Laser & Telemetry Layer (Echen) */
.cad-grid-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.cad-scan-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(58, 75, 213, 0.5), transparent);
  animation: cadLaserScan 6s ease-in-out infinite;
}
@keyframes cadLaserScan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 0.7; }
  85% { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}
.cad-coordinate-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 2.5rem;
  font-family: var(--ec-font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(58, 75, 213, 0.7);
  text-transform: uppercase;
}

/* Organic Ambient Layer (Thirdspace) */
.organic-flow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.organic-light-pulse {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 211, 176, 0.28) 0%, transparent 70%);
  animation: organicPulse 8s ease-in-out infinite alternate;
}
@keyframes organicPulse {
  0% { transform: scale(0.9) translateY(0); opacity: 0.4; }
  100% { transform: scale(1.15) translateY(-20px); opacity: 0.8; }
}
.organic-telemetry-tag {
  position: absolute;
  bottom: 1.5rem;
  right: 2.5rem;
  font-family: var(--ts-font-sans, sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(29, 41, 27, 0.65);
  text-transform: uppercase;
}

/* Symmetrical Centered Inner Panels */
.panel-echen-inner,
.panel-ts-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4.5rem 2.5rem 2.5rem 2.5rem;
  box-sizing: border-box;
}

.hero-content-echen,
.hero-content-ts {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-logo-box-echen,
.hero-logo-box-ts {
  margin-bottom: 1.25rem;
}
.hero-studio-logo-echen {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}
.hero-studio-logo-ts {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Hero Typography Matching PDF */
.hero-brand-title {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem 0;
}
.echen-title-serif {
  font-family: var(--font-sans, sans-serif);
  font-weight: 800;
  color: #11161a;
}
.ts-title-serif {
  font-family: var(--font-serif, serif);
  font-weight: 700;
  color: #18221b;
}

.hero-discipline-tag {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: #11161a;
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.01em;
}

.hero-desc-text {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #2d3748;
  margin: 0 0 1.75rem 0;
  max-width: 420px;
}

.hero-btn-row {
  margin-bottom: 2rem;
}

/* PDF Buttons */
.btn-pdf-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #3a4bd5;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
  box-sizing: border-box;
}
.btn-pdf-blue:hover {
  background: #2b39ba;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-pdf-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #1d291b;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.15s ease;
  box-sizing: border-box;
}
.btn-pdf-dark:hover {
  background: #121c10;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero Artwork Illustrations */
.hero-artwork {
  width: 100%;
  max-width: 440px;
}

/* Split Divider Line */
.split-divider-line {
  position: absolute;
  top: 0;
  left: var(--split-pos, 50%);
  width: 2px;
  height: 100%;
  background: #1d291b;
  z-index: 50;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.split-divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #1d291b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}
.split-divider-handle:hover,
.split-divider-handle.dragging {
  transform: translate(-50%, -50%) scale(1.15);
  cursor: grabbing;
}
.handle-dot-seam {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d291b;
}

/* ==========================================================================
   3. COMPARATIVE PHILOSOPHY & CAPABILITIES (SECTION 2)
   ========================================================================== */
.split-philosophy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.philo-col.col-echen {
  background: #08090d;
  color: #ffffff;
  padding: 6.5rem var(--gutter-inner) 6.5rem var(--gutter-outer);
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
  border-right: 1px solid #1f242e;
  border-radius: 0 !important;
}
.philo-col.col-thirdspace {
  background: #c3cba6;
  padding: 6.5rem var(--gutter-outer) 6.5rem var(--gutter-inner);
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
}

.philo-content {
  max-width: 480px;
  width: 100%;
}

.philo-heading {
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #11161a;
  margin: 0 0 1.5rem 0;
}
.philo-heading.ts-serif {
  font-family: var(--font-serif, serif);
  font-weight: 700;
  color: #18221b;
}

.philo-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2d3748;
  margin: 0 0 2.5rem 0;
}

.philo-service-list {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 2.5rem;
}
.philo-service-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  align-items: baseline;
}
.philo-service-item .service-name {
  font-weight: 700;
  font-size: 1rem;
  color: #11161a;
}
.philo-service-item .service-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3b4554;
}

/* ==========================================================================
   4. MADE BY BOTH STUDIOS (SECTION 3)
   ========================================================================== */
.made-by-both-section {
  background: #ffffff;
  padding: 6.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.container-pdf {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 3rem;
  box-sizing: border-box;
}

.made-by-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.made-by-title {
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #11161a;
  letter-spacing: -0.03em;
  margin: 0;
}
.made-by-subhead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

.made-by-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.project-pdf-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-split-thumbnail {
  height: 220px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-pdf-card:hover .card-split-thumbnail {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.thumb-half.thumb-echen {
  background: #e3e7e8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-half.thumb-ts {
  background: #c3cba6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-caption .card-name {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #11161a;
  margin: 0 0 0.35rem 0;
}
.card-caption .card-type {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   5. DUAL INQUIRY CTA SECTION (SECTION 4)
   ========================================================================== */
.dual-inquiry-section {
  background: #ffffff;
  padding: 5rem 0 6rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.inquiry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}
.inquiry-title {
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: #11161a;
  letter-spacing: -0.02em;
  margin: 0;
}

.split-pill-btn {
  display: inline-flex;
  border-radius: 9999px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.split-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.pill-blue {
  background: #3a4bd5;
  color: #ffffff;
  padding: 14px 22px;
  font-family: var(--font-sans, sans-serif);
  font-weight: 600;
  font-size: 0.95rem;
}
.pill-dark {
  background: #1d291b;
  color: #ffffff;
  padding: 14px 22px;
  font-family: var(--font-sans, sans-serif);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ==========================================================================
   6. SPLIT FOOTER (SECTION 5)
   ========================================================================== */
.site-footer {
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
}

.footer-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.footer-box.box-echen {
  background: #08090d;
  color: #ffffff;
  padding: 5rem var(--gutter-inner) 5rem var(--gutter-outer);
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
  border-right: 1px solid #1f242e;
  border-radius: 0 !important;
}
.footer-box.box-thirdspace {
  background: #c3cba6;
  padding: 5rem var(--gutter-outer) 5rem var(--gutter-inner);
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
}

.footer-box-inner {
  max-width: 480px;
  width: 100%;
}

.footer-studio-name {
  font-size: 1.6rem;
  margin: 0 0 1.5rem 0;
}
.footer-studio-name.echen-name {
  font-family: var(--font-sans, sans-serif);
  font-weight: 800;
  color: #11161a;
}
.footer-studio-name.ts-name {
  font-family: var(--font-serif, serif);
  font-weight: 700;
  color: #18221b;
}

.footer-details p {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2d3748;
}
.footer-details a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom-bar {
  background: #ffffff;
  padding: 2rem var(--gutter-outer);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #6b7280;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.footer-back-to-top a {
  color: #11161a;
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--transition-smooth), 
              height 0.25s var(--transition-smooth), 
              border-radius 0.25s var(--transition-smooth),
              background 0.25s ease;
}
.cursor-dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111111;
  transition: inherit;
}
.custom-cursor.on-echen {
  width: 28px;
  height: 28px;
}
.custom-cursor.on-echen .cursor-dot {
  border-radius: 0;
  background: transparent;
  border: 1.5px solid #ffffff;
  position: relative;
}
.custom-cursor.on-echen .cursor-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #ffffff;
  transform: translate(-50%, -50%);
}
.custom-cursor.on-thirdspace {
  width: 36px;
  height: 36px;
}
.custom-cursor.on-thirdspace .cursor-dot {
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(255, 92, 56, 0.8), rgba(255, 183, 3, 0.8));
  border: none;
  box-shadow: 0 0 16px rgba(255, 92, 56, 0.4);
  animation: blobMorph 4s infinite alternate ease-in-out;
}
@keyframes blobMorph {
  0% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  50% { border-radius: 40% 60% 35% 65% / 60% 35% 65% 40%; }
  100% { border-radius: 50% 50% 45% 55% / 40% 60% 50% 50%; }
}
.custom-cursor.on-divider {
  width: 50px;
  height: 30px;
}
.custom-cursor.on-divider .cursor-dot {
  border-radius: 15px;
  background: #111111;
  color: #ffffff;
}
.custom-cursor.on-divider .cursor-dot::before {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

/* Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.project-modal.open {
  display: flex;
}
.modal-content-box {
  background: #ffffff;
  color: #111827;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border-medium);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #ffffff;
  border: 1px solid #111111;
  color: #111111;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: #000000;
  color: #ffffff;
}

/* Responsive Base adjustments */
@media (max-width: 1024px) {
  .site-header {
    padding: 0 1.5rem;
  }
  .nav-links {
    gap: 1.25rem;
  }
}

/* Filter Buttons & Interactive Pills (Light Design) */
.filter-pill, .filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.filter-pill:hover, .filter-btn:hover {
  border-color: #111827;
  color: #111827;
  background: #f8fafc;
}
.filter-pill.active, .filter-btn.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   MINIMALIST EXECUTIVE PRELOADER: DUAL LOGO CONVERGENCE & REVEAL
   Clean, confident, luxury studio reveal:
   - 0 words / 0 text clutter
   - Logos glide in from -120vw / +120vw to dock at 50%
   - Whisper-thin 1px loading track
   - Fast, snappy 1.8s duration
   - Split curtains part outward seamlessly into underlying split hero
   ========================================================================== */
.cinematic-preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 999999;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
}

.cinematic-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}

.backdrop-left, .backdrop-right {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.95s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform;
}

.backdrop-left {
  background: #000000;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.backdrop-right {
  background: linear-gradient(145deg, #fff7f0 0%, #fdece2 35%, #f4eeff 70%, #ebfbf3 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.cinematic-preloader.curtains-reveal .backdrop-left {
  transform: translateX(-100%);
}
.cinematic-preloader.curtains-reveal .backdrop-right {
  transform: translateX(100%);
}

.cad-grid-layer {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.8;
}

.fluid-aura-layer {
  position: absolute;
  inset: -20%;
  background: 
    radial-gradient(circle at 65% 45%, rgba(255, 92, 56, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 35% 65%, rgba(255, 183, 3, 0.12) 0%, transparent 45%);
  filter: blur(40px);
  animation: fluidAuraPulse 9s ease-in-out infinite alternate;
}

.preloader-seam-guide {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.seam-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 10%, rgba(255, 255, 255, 0.3) 40%, var(--ts-coral) 60%, transparent 90%);
}

.seam-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 92, 56, 0.7) 40%, transparent 75%);
  z-index: 25;
  pointer-events: none;
  opacity: 0;
}

.preloader-collided .seam-shockwave {
  animation: shockwaveBurst 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shockwaveBurst {
  0% { transform: translate(-50%, -50%) scale(0.1); opacity: 1; filter: blur(0px); }
  50% { opacity: 0.8; filter: blur(4px); }
  100% { transform: translate(-50%, -50%) scale(5); opacity: 0; filter: blur(14px); }
}

.preloader-stage {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100vw;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-preloader.curtains-reveal .preloader-stage {
  opacity: 0;
  transform: translateY(-50%) scale(1.06);
  filter: blur(6px);
}

.stage-wing {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  will-change: transform;
}

.wing-echen {
  right: 50%;
  padding-right: 18px;
  transform: translateY(-50%) translateX(-120vw);
  transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.wing-ts {
  left: 50%;
  padding-left: 18px;
  transform: translateY(-50%) translateX(120vw);
  transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-ingress .wing-echen {
  transform: translateY(-50%) translateX(0);
}
.preloader-ingress .wing-ts {
  transform: translateY(-50%) translateX(0);
}

.wing-logo-echen {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.wing-logo-ts {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 6px 20px rgba(255, 92, 56, 0.2));
  display: block;
}

.stage-center-dock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 22;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dock-divider-blade {
  width: 2px;
  height: 120px;
  background: linear-gradient(180deg, transparent, #ffffff 45%, var(--ts-coral) 55%, transparent);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  transition: box-shadow 0.4s ease, height 0.4s ease;
}

.preloader-collided .dock-divider-blade {
  height: 150px;
  box-shadow: 0 0 24px #ffffff, 0 0 40px var(--ts-coral);
}

/* Minimalist Hairline Progress Line */
.preloader-progress-wrap {
  position: absolute;
  bottom: 9vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.4s ease;
}

.cinematic-preloader.curtains-reveal .preloader-progress-wrap {
  opacity: 0;
}

.preloader-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(128, 128, 128, 0.2);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff 40%, var(--ts-coral) 70%, var(--ts-sunshine) 100%);
  box-shadow: 0 0 8px rgba(255, 92, 56, 0.6);
  transition: width 0.04s linear;
}

.preloader-skip-minimal {
  position: absolute;
  top: 4vh;
  right: 4vw;
  z-index: 50;
  background: transparent;
  border: none;
  color: #71717a;
  font-family: var(--ec-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 6px 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.preloader-skip-minimal:hover {
  color: #111827;
  transform: translateX(2px);
}

/* Minimalist Hero Watermark Telemetry */
.echen-minimal-meta,
.ts-minimal-meta {
  position: absolute;
  bottom: 3.5rem;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  z-index: 5;
}

.echen-minimal-meta {
  left: 6vw;
  font-family: var(--ec-font-mono);
  color: #71717a;
}

.ts-minimal-meta {
  right: 6vw;
  font-family: var(--ts-font-sans);
  color: var(--ts-terracotta);
}

.meta-sep {
  opacity: 0.4;
}

/* Replay Button in Hero */
.replay-intro-btn {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 60;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: var(--ec-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}
.replay-intro-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   ANIMATED HAMBURGER & FULL-SCREEN MENU SYSTEM
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  background: #ffffff;
  border-color: #000000;
  transform: scale(1.05);
}

.hamburger-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 20px;
  height: 2px;
  background-color: #111111;
  border-radius: 2px;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
  display: block;
}

.hamburger-inner::before {
  content: '';
  top: -6px;
  display: block;
}

.hamburger-inner::after {
  content: '';
  bottom: -6px;
  display: block;
}

/* Animated Hamburger Morph to "X" */
.mobile-menu-toggle.is-active {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}
.mobile-menu-toggle.is-active .hamburger-inner {
  transform: rotate(45deg);
  background-color: #000000;
}
.mobile-menu-toggle.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  background-color: #000000;
}

/* Body Scroll Lock */
body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Fullscreen Menu Overlay */
.fullscreen-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow: hidden;
}

.fullscreen-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Dark Obsidian Frosted Backdrop with Ambient Split Aura */
.menu-backdrop-split {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #09090b;
  z-index: 1;
}
.menu-backdrop-split::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.8;
}
.menu-backdrop-split::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 56, 0.22) 0%, rgba(255, 183, 3, 0.1) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.menu-backdrop-seam,
.menu-backdrop-echen,
.menu-backdrop-ts {
  display: none;
}

.fullscreen-menu-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem 1.5rem 1.75rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.menu-brand-tag {
  font-family: var(--ec-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #a1a1aa;
}

/* Nav links inside menu */
.fullscreen-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 1.25rem 0;
}
.nav-item-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.menu-link {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  gap: 0.85rem;
  color: #ffffff;
  transition: transform 0.25s ease, color 0.2s ease;
}
.link-num {
  font-family: var(--ec-font-mono);
  font-size: 0.7rem;
  color: #ff5c38;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.link-label {
  font-family: var(--ec-font-heading);
  font-size: clamp(1.4rem, 6vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.link-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  opacity: 0.4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-link:hover,
.menu-link:active {
  transform: translateX(4px);
  color: #ff5c38;
}
.menu-link:hover .link-arrow,
.menu-link:active .link-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.menu-sublinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  padding-left: 1.8rem;
  font-size: 0.76rem;
}
.sublink {
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.sublink-echen {
  color: #e4e4e7;
  font-family: var(--ec-font-mono);
}
.sublink-ts {
  color: #ff5c38;
  font-family: var(--ts-font-sans);
}
.sublink-both {
  color: #a1a1aa;
}
.sublink-dot {
  color: #71717a;
}

/* Switcher in Menu */
.menu-studio-switcher {
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.85rem;
  margin: 0.85rem 0;
}
.switcher-title {
  font-family: var(--ec-font-mono);
  font-size: 0.62rem;
  color: #a1a1aa;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.menu-switcher-pills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.menu-switch-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  padding: 7px 4px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-switch-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.btn-indicator-ec { color: #ffffff; }
.btn-indicator-split { color: #ffffff; }
.btn-indicator-ts { color: #ff5c38; }
.menu-switch-btn.active .btn-indicator-ec,
.menu-switch-btn.active .btn-indicator-split,
.menu-switch-btn.active .btn-indicator-ts {
  color: #000000;
}

/* Bottom Meta inside Menu */
.menu-bottom-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.meta-head {
  font-family: var(--ec-font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}
.meta-col-ts .meta-head {
  color: #ff5c38;
}
.meta-sub {
  font-size: 0.65rem;
  color: #a1a1aa;
  line-height: 1.35;
  margin-bottom: 4px;
}
.meta-col-ts .meta-sub {
  color: #a1a1aa;
}
.meta-contact {
  font-size: 0.72rem;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE HIGH-END RESPONSIVE SYSTEM (<= 860px)
   - Interactive Vertical Split (Top: Echen Studios / Bottom: Third Space)
   - Header with ONLY Dual Brand Logos & Animated Hamburger Icon
   - Touch-draggable Horizontal Divider with ▲ ▼ Handle
   - Distinctive Dual-Studio Split Cards Below the Hero
   ========================================================================== */
@media (max-width: 860px) {
  /* 1. Mobile Header: ONLY Dual Logos on Left & Animated Hamburger on Right */
  .site-header {
    padding: 0 1.25rem !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  .nav-logo-echen {
    height: 20px !important;
  }
  .nav-brand-sep {
    font-size: 1rem !important;
    margin: 0 2px !important;
    opacity: 0.4 !important;
  }
  .nav-logo-thirdspace {
    height: 24px !important;
  }

  /* HIDE split-mode-pill and nav-links on mobile header completely */
  .split-mode-pill {
    display: none !important;
  }
  .desktop-nav,
  .nav-links {
    display: none !important;
  }

  /* SHOW animated hamburger button on mobile */
  .mobile-menu-toggle {
    display: flex !important;
    margin-left: auto !important;
  }

  /* 2. Custom Cursor */
  .custom-cursor {
    display: none !important;
  }

  /* 3. Full-Screen Interactive Vertical Split Hero */
  .hero-split-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 560px;
    overflow: hidden;
    display: block;
  }

  /* Top Panel: Echen Studios (Hardcore Construction) */
  .hero-panel.panel-echen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: var(--split-pos-v, 50%);
    overflow: hidden;
    z-index: 10;
    will-change: height;
  }

  /* Bottom Panel: Third Space (Creative Atelier) */
  .hero-panel.panel-thirdspace {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: calc(100% - var(--split-pos-v, 50%));
    overflow: hidden;
    z-index: 10;
    will-change: height;
  }

  .panel-echen-inner,
  .panel-ts-inner {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 1.25rem 1.25rem !important;
  }

  /* Hero Content Typography & Scaling */
  .hero-content-echen,
  .hero-content-ts {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .hero-logo-row {
    height: auto !important;
    margin-bottom: 0.35rem !important;
  }
  .hero-logo-echen-img {
    height: 26px;
    margin-bottom: 0;
  }
  .hero-logo-ts-img {
    height: 30px;
    margin-bottom: 0;
  }
  .echen-eyebrow,
  .ts-eyebrow {
    height: auto !important;
    font-size: 0.62rem;
    padding: 2px 7px;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
  }
  .echen-title,
  .ts-title {
    height: auto !important;
    font-size: clamp(1.35rem, 5.8vw, 1.75rem);
    line-height: 1.05;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
  }
  .echen-desc,
  .ts-desc {
    height: auto !important;
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
    max-width: 330px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .btn-echen-sharp {
    height: 42px !important;
    padding: 0 16px;
    font-size: 0.74rem;
    gap: 0.4rem;
  }
  .btn-thirdspace-curved {
    height: 42px !important;
    padding: 0 18px;
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  .echen-minimal-meta,
  .ts-minimal-meta {
    display: none !important;
  }
  .hero-scroll-hint {
    display: none !important;
  }
  .replay-intro-btn {
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 0.6rem;
  }

  /* 4. Horizontal Split Divider on Mobile */
  .split-divider-line {
    position: absolute !important;
    left: 0 !important;
    top: var(--split-pos-v, 50%) !important;
    width: 100% !important;
    height: 2px !important;
    background: #ffffff !important;
    z-index: 50 !important;
    cursor: ns-resize !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.8), 0 0 4px #ffffff !important;
    display: block !important;
    transition: top 0.08s linear !important;
  }
  .split-divider-line::before {
    content: '';
    position: absolute;
    top: -16px;
    bottom: -16px;
    left: 0;
    right: 0;
    cursor: ns-resize;
  }
  .split-divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 28px;
    border-radius: 9999px;
    background: #111111;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
    cursor: grab;
    user-select: none;
  }
  .handle-arrows {
    flex-direction: column;
    gap: 1px;
    font-size: 8px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    width: auto;
  }
  .arrow-h {
    display: none !important;
  }
  .arrow-v {
    display: inline-block !important;
  }

  /* 5. Mobile Split Sections Below Hero: High-Contrast Distinctive Studio Cards */
  .split-body-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem 1.25rem;
    background: #f1f2f5;
  }

  /* Echen Studios Mobile Card: Monolithic CAD Slab */
  .split-col.col-echen {
    background: #08080a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    padding: 2rem 1.25rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
  .col-echen .echen-eyebrow {
    background: #ffffff;
    color: #000000;
    border-left: none;
    font-size: 0.65rem;
    padding: 2px 8px;
    margin-bottom: 1rem;
  }
  .col-echen .col-headline {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .col-echen .col-intro {
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .col-echen .service-table {
    margin-bottom: 1.75rem;
  }
  .col-echen .service-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .col-echen .service-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .col-echen .service-cell-name {
    color: #ffffff;
    font-size: 0.82rem;
    padding: 0.85rem 0.4rem 0.85rem 0;
    width: 38%;
  }
  .col-echen .service-cell-desc {
    color: #a1a1aa;
    font-size: 0.8rem;
    padding: 0.85rem 0;
    width: 62%;
  }
  .col-echen .btn-echen-sharp {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  /* Third Space Mobile Card: Luminous Atelier Card */
  .split-col.col-thirdspace {
    background: linear-gradient(145deg, #fffaf5 0%, #ffedd5 60%, #fed7aa 100%);
    color: #18181b;
    border: 1px solid rgba(255, 92, 56, 0.25);
    border-radius: 20px;
    padding: 2rem 1.25rem;
    box-shadow: 0 10px 30px rgba(255, 92, 56, 0.12);
  }
  .col-thirdspace .ts-eyebrow {
    font-size: 0.68rem;
    padding: 3px 10px;
    margin-bottom: 1rem;
  }
  .col-thirdspace .col-headline {
    color: #1e2022;
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .col-thirdspace .col-intro {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .col-thirdspace .service-table {
    margin-bottom: 1.75rem;
  }
  .col-thirdspace .service-row {
    border-top: 1px solid rgba(255, 92, 56, 0.2);
  }
  .col-thirdspace .service-row:last-child {
    border-bottom: 1px solid rgba(255, 92, 56, 0.2);
  }
  .col-thirdspace .service-cell-name {
    color: var(--ts-terracotta);
    font-size: 0.95rem;
    padding: 0.85rem 0.4rem 0.85rem 0;
    width: 38%;
  }
  .col-thirdspace .service-cell-desc {
    color: #4b5563;
    font-size: 0.8rem;
    padding: 0.85rem 0;
    width: 62%;
  }
  .col-thirdspace .btn-thirdspace-curved {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  /* 6. Collab Section & Dual CTAs */
  .collab-section {
    padding: 3rem 1.25rem;
  }
  .collab-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .collab-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .card-dual-visual {
    height: 220px;
  }
  .dual-cta-section {
    flex-direction: column;
    padding: 2.5rem 1.25rem;
    gap: 1.5rem;
  }
  .footer-split-content {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem;
    gap: 2rem;
  }
  .footer-col-echen {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
  }

  /* PDF-Aligned Mobile Overrides */
  .hero-brand-title {
    font-size: 1.85rem !important;
    margin-bottom: 0.35rem !important;
  }
  .hero-discipline-tag {
    font-size: 0.9rem !important;
    margin-bottom: 0.35rem !important;
  }
  .hero-desc-text {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.85rem !important;
  }
  .hero-artwork {
    max-width: 250px !important;
    margin-top: 0.75rem !important;
  }
  .hero-btn-row {
    margin-bottom: 0.5rem !important;
  }
  .btn-pdf-blue,
  .btn-pdf-dark {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
  }
  .split-philosophy-section {
    grid-template-columns: 1fr !important;
  }
  .philo-col.col-echen,
  .philo-col.col-thirdspace {
    padding: 3.5rem 1.5rem !important;
    justify-content: center !important;
  }
  .philo-service-item {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
  }
  .made-by-header {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .made-by-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .container-pdf {
    padding: 0 1.5rem !important;
  }
  .inquiry-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .footer-split-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-box.box-echen,
  .footer-box.box-thirdspace {
    padding: 3rem 1.5rem !important;
  }
  .footer-bottom-bar {
    padding: 1.5rem !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: flex-start !important;
  }
}



/* Hide legacy custom-cursor artifact */
.custom-cursor { display: none !important; }


/* ==========================================================================
   ECHEN STUDIOS B&W STRAIGHT LINES & THIRDSPACE ATELIER ENHANCEMENTS (V2.0)
   ========================================================================== */

/* 1. Header Dual Logos & Nav */
.brand-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  text-decoration: none !important;
}
.nav-logo-echen {
  height: 24px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.nav-brand-sep {
  font-family: var(--font-sans, sans-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 300 !important;
  color: #64748b !important;
  margin: 0 0.15rem !important;
  display: inline-block !important;
}
.nav-logo-thirdspace {
  height: 28px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 2. Hero Left Side: Echen Studios (Black & White Straight Lines) */
.hero-content-echen {
  color: #ffffff !important;
}
.ec-cad-telemetry {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  color: #94a3b8 !important;
  margin-bottom: 1.25rem !important;
}
.cad-crosshair {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}
.cad-badge {
  color: #e2e8f0 !important;
  text-transform: uppercase !important;
}
.cad-coords {
  color: #64748b !important;
  margin-left: auto !important;
}
.hero-logo-box-echen {
  margin-bottom: 1.25rem !important;
}
.hero-studio-logo-echen {
  height: 34px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.echen-bw-title {
  color: #ffffff !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
  margin-bottom: 1.25rem !important;
}
.echen-desc-text {
  color: #94a3b8 !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.75rem !important;
}

/* Straight Line Buttons (0px Radii) */
.btn-echen-bw {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  padding: 0.85rem 1.85rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
}
.btn-echen-bw:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Hero Right Side: Thirdspace (Warm Atelier) */
.hero-content-ts {
  color: #18221b !important;
}
.ts-atelier-telemetry {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 0.95rem !important;
  font-style: italic !important;
  color: #2e3e30 !important;
  margin-bottom: 1.25rem !important;
}
.atelier-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #18221b !important;
  display: inline-block !important;
}
.hero-logo-box-ts {
  margin-bottom: 1.25rem !important;
}
.hero-studio-logo-ts {
  height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.ts-atelier-title {
  color: #18221b !important;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.08 !important;
  margin-bottom: 1.25rem !important;
}
.ts-desc-text {
  color: #2c3a2e !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.75rem !important;
}
.btn-ts-atelier {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  background: #1d291b !important;
  color: #f4f6ee !important;
  border: 1px solid #1d291b !important;
  border-radius: 9999px !important;
  padding: 0.85rem 2rem !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}
.btn-ts-atelier:hover {
  background: #2b3e28 !important;
  color: #ffffff !important;
  border-color: #2b3e28 !important;
}

/* Hero Media Wrappers (Photography & Overlays) */
.hero-media-wrapper-ec {
  max-width: 480px !important;
  width: 100% !important;
  margin-top: 2rem !important;
  border: 1px solid #222630 !important;
  border-radius: 0 !important;
  background: #08090d !important;
}
.media-photo-frame-ec {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  background: #050608 !important;
}
.hero-photo-ec {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: grayscale(100%) contrast(1.15) brightness(0.9) !important;
  display: block !important;
}
.cad-blueprint-overlay {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.cad-caption-bar {
  display: flex !important;
  justify-content: space-between !important;
  padding: 0.5rem 0.75rem !important;
  background: #0d0f15 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.65rem !important;
  color: #94a3b8 !important;
  letter-spacing: 0.05em !important;
  border-top: 1px solid #1f242e !important;
}

.hero-media-wrapper-ts {
  max-width: 480px !important;
  width: 100% !important;
  margin-top: 2rem !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #c3cba6 !important;
  box-shadow: 0 12px 28px rgba(29, 41, 27, 0.12) !important;
}
.media-photo-frame-ts {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
}
.hero-photo-ts {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.organic-shape-overlay {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.ts-caption-bar {
  display: flex !important;
  justify-content: space-between !important;
  padding: 0.6rem 0.85rem !important;
  background: #b3bc94 !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 0.75rem !important;
  color: #1d291b !important;
  font-style: italic !important;
}

/* Section 2 (Philosophy / Comparative Capabilities) */
.col-echen .philo-cad-eyebrow {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  color: #94a3b8 !important;
  margin-bottom: 1rem !important;
}
.col-echen .echen-bw-heading {
  color: #ffffff !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-bottom: 1.5rem !important;
}
.col-echen .echen-intro {
  color: #94a3b8 !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin-bottom: 2.5rem !important;
}
.echen-service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.echen-service-list .philo-service-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1.1rem 0 !important;
  display: grid !important;
  grid-template-columns: 200px 1fr !important;
  gap: 1.5rem !important;
}
.echen-service-list .service-name {
  color: #ffffff !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}
.echen-service-list .service-desc {
  color: #94a3b8 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}
.echen-credential-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1rem !important;
  margin: 2.5rem 0 !important;
  border: 1px solid #222630 !important;
  padding: 1.25rem !important;
  background: #0f1117 !important;
  border-radius: 0 !important;
}
.cred-stat {
  text-align: center !important;
}
.cred-num {
  display: block !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  font-family: 'JetBrains Mono', monospace !important;
  line-height: 1 !important;
}
.cred-label {
  display: block !important;
  font-size: 0.68rem !important;
  color: #94a3b8 !important;
  font-family: 'JetBrains Mono', monospace !important;
  letter-spacing: 0.05em !important;
  margin-top: 0.4rem !important;
}

.col-thirdspace .philo-ts-eyebrow {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 0.95rem !important;
  font-style: italic !important;
  color: #2b392d !important;
  margin-bottom: 1rem !important;
}
.col-thirdspace .ts-atelier-heading {
  color: #141c15 !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  margin-bottom: 1.5rem !important;
}
.col-thirdspace .ts-intro {
  color: #2b392d !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin-bottom: 2.5rem !important;
}
.ts-service-list {
  border-top: 1px solid rgba(24, 34, 27, 0.15) !important;
}
.ts-service-list .philo-service-item {
  border-bottom: 1px solid rgba(24, 34, 27, 0.1) !important;
  padding: 1.1rem 0 !important;
  display: grid !important;
  grid-template-columns: 200px 1fr !important;
  gap: 1.5rem !important;
}
.ts-service-list .service-name {
  color: #141c15 !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
}
.ts-service-list .service-desc {
  color: #2b392d !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}
.ts-atelier-badges-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.6rem !important;
  margin: 2rem 0 2.5rem 0 !important;
}
.atelier-pill-tag {
  display: inline-block !important;
  padding: 0.45rem 1rem !important;
  background: rgba(255, 255, 255, 0.65) !important;
  color: #18221b !important;
  border-radius: 9999px !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 0.92rem !important;
  font-style: italic !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Section 3 ("Made by both studios" Collaborative Commissions) */
.made-by-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2.5rem !important;
  margin-top: 3.5rem !important;
}
.project-showcase-card {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
  transition: all 0.25s ease !important;
  overflow: hidden !important;
}
.project-showcase-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.09) !important;
  border-color: rgba(0, 0, 0, 0.16) !important;
}
.card-split-media {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  height: 260px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #000000 !important;
}
.card-media-half {
  position: relative !important;
  height: 100% !important;
  overflow: hidden !important;
}
.card-media-half.media-ec {
  border-right: 1px solid rgba(255, 255, 255, 0.35) !important;
}
.card-media-half img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
  display: block !important;
}
.project-showcase-card:hover .card-media-half img {
  transform: scale(1.05) !important;
}
.card-media-half.media-ec img {
  filter: grayscale(100%) contrast(1.1) !important;
}
.media-half-badge {
  position: absolute !important;
  bottom: 12px !important;
  left: 12px !important;
  background: rgba(0, 0, 0, 0.8) !important;
  color: #ffffff !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.06em !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 0 !important;
}
.card-media-half.media-ts .media-half-badge {
  background: rgba(29, 41, 27, 0.85) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-size: 0.78rem !important;
  border-radius: 9999px !important;
  padding: 0.2rem 0.75rem !important;
}
.card-meta-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1.25rem 1.5rem 0.4rem 1.5rem !important;
}
.card-year {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.75rem !important;
  color: #64748b !important;
  letter-spacing: 0.05em !important;
}
.card-badge-joint {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 0 !important;
}
.project-showcase-card .card-title {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0.4rem 1.5rem 0.35rem 1.5rem !important;
  letter-spacing: -0.02em !important;
}
.project-showcase-card .card-category {
  font-size: 0.92rem !important;
  color: #64748b !important;
  margin: 0 1.5rem 1.5rem 1.5rem !important;
  line-height: 1.45 !important;
}
.btn-view-all-projects {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 1.1rem 2.5rem !important;
  text-decoration: none !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
}
.btn-view-all-projects:hover {
  background: #000000 !important;
  transform: translateY(-2px) !important;
}

/* Footer B&W Echen & Atelier Thirdspace Styling */
.footer-box.box-echen {
  background: #08090d !important;
  color: #ffffff !important;
  border-right: 1px solid #1f242e !important;
  border-radius: 0 !important;
}
.footer-studio-name.echen-name {
  color: #ffffff !important;
}
.footer-box.box-echen .footer-details p {
  color: #94a3b8 !important;
}
.footer-box.box-echen .footer-details a {
  color: #ffffff !important;
}
.footer-box.box-thirdspace {
  background: #c3cba6 !important;
  color: #18221b !important;
}
.footer-studio-name.ts-name {
  color: #141c15 !important;
}
.footer-box.box-thirdspace .footer-details p {
  color: #2b392d !important;
}
.footer-box.box-thirdspace .footer-details a {
  color: #141c15 !important;
}

@media (max-width: 860px) {
  .made-by-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .card-split-media {
    height: 200px !important;
  }
  .hero-media-wrapper-ec,
  .hero-media-wrapper-ts {
    display: none !important;
  }
  .echen-service-list .philo-service-item,
  .ts-service-list .philo-service-item {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
  }
  .echen-credential-row {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}


/* ==========================================================================
   CONSISTENT FROSTED HEADER & BALANCED HERO OFFSET
   ========================================================================== */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 72px !important;
  z-index: 9990 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 var(--gutter-outer) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04) !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
}

body.admin-bar .site-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

/* HOMEPAGE: Menu is completely HIDDEN on hero view */
body.is-home .site-header {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}

/* HOMEPAGE: Menu slides down when scrolled past hero */
body.is-home .site-header.scrolled,
body.is-home .site-header.is-scrolled,
body.is-home .site-header.visible.scrolled {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* SUBPAGES: Always visible */
body:not(.is-home) .site-header {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.hero-split-container {
  margin-top: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 560px !important;
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}

body.admin-bar .hero-split-container {
  height: calc(100vh - 32px) !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .hero-split-container {
    height: calc(100vh - 46px) !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 64px !important;
    padding: 0 1.25rem !important;
  }
  .hero-split-container {
    margin-top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 540px !important;
  }
}

/* ==========================================================================
   PRODUCTION ENHANCEMENTS: ANIMATED HAMBURGER, HERO LOGO CLEARANCE & PROJECTS CATALOG
   Author: sykologicist (https://clicks.com.pk)
   Version: 2.1.0
   ========================================================================== */

/* 1. UNIVERSAL ANIMATED HAMBURGER ON BOTH DESKTOP AND MOBILE, PLUS DESKTOP NAV LINKS */
.site-header .desktop-nav {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: 1.5rem !important;
}

@media (max-width: 860px) {
  .site-header .desktop-nav {
    display: none !important;
  }
}

.mobile-menu-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: 50% !important;
  padding: 0 !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 100002 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.mobile-menu-toggle:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  transform: scale(1.06) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.mobile-menu-toggle:hover .hamburger-inner,
.mobile-menu-toggle:hover .hamburger-inner::before,
.mobile-menu-toggle:hover .hamburger-inner::after {
  background-color: #ffffff !important;
}

.mobile-menu-toggle .hamburger-box {
  width: 20px !important;
  height: 14px !important;
  position: relative !important;
  display: block !important;
}

.mobile-menu-toggle .hamburger-inner,
.mobile-menu-toggle .hamburger-inner::before,
.mobile-menu-toggle .hamburger-inner::after {
  width: 20px !important;
  height: 2px !important;
  background-color: #111827 !important;
  border-radius: 2px !important;
  position: absolute !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease !important;
}

.mobile-menu-toggle .hamburger-inner {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.mobile-menu-toggle .hamburger-inner::before {
  content: '' !important;
  top: -6px !important;
}

.mobile-menu-toggle .hamburger-inner::after {
  content: '' !important;
  bottom: -6px !important;
}

/* Active State: Morphs into animated "X" */
.mobile-menu-toggle.is-active {
  background: #000000 !important;
  border-color: #000000 !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25) !important;
}

.mobile-menu-toggle.is-active .hamburger-inner {
  transform: rotate(45deg) !important;
  background-color: #ffffff !important;
}

.mobile-menu-toggle.is-active .hamburger-inner::before {
  top: 0 !important;
  opacity: 0 !important;
  transform: scaleX(0) !important;
}

.mobile-menu-toggle.is-active .hamburger-inner::after {
  bottom: 0 !important;
  transform: rotate(-90deg) !important;
  background-color: #ffffff !important;
}

/* Fullscreen Menu Overlay */
.fullscreen-menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 100000 !important;
  display: flex !important;
  flex-direction: column !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
  background: #08090d !important;
  overflow-y: auto !important;
}

.fullscreen-menu-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.fullscreen-menu-inner {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 2.5rem 3rem 4rem 3rem !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
}

.menu-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  margin-bottom: 3rem !important;
}

.menu-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
}

.menu-logo-ec {
  height: 32px !important;
  width: auto !important;
}

.menu-logo-ts {
  height: 32px !important;
  width: auto !important;
}

.menu-logo-sep {
  color: #64748b !important;
  font-size: 1.1rem !important;
}

.menu-close-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  font-size: 1.15rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.menu-close-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.fullscreen-nav-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.75rem !important;
  margin-bottom: 4rem !important;
}

.nav-item-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 1.25rem !important;
}

.fullscreen-nav-links .menu-link {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
  color: #f8fafc !important;
  text-decoration: none !important;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  transition: all 0.25s ease !important;
}

.fullscreen-nav-links .menu-link .link-num {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.95rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.fullscreen-nav-links .menu-link .link-arrow {
  margin-left: auto !important;
  opacity: 0 !important;
  transform: translateX(-15px) !important;
  transition: all 0.25s ease !important;
  color: #ffffff !important;
}

.fullscreen-nav-links .menu-link:hover {
  color: #ffffff !important;
  transform: translateX(8px) !important;
}

.fullscreen-nav-links .menu-link:hover .link-arrow {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.menu-sublinks {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 0.85rem !important;
  padding-left: 2.75rem !important;
}

.menu-sublinks .sublink {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  transition: color 0.2s ease !important;
}

.menu-sublinks .sublink:hover {
  color: #ffffff !important;
}

.menu-sublinks .sublink-dot {
  color: #475569 !important;
}

.menu-bottom-meta {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.menu-bottom-meta .meta-head {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.4rem !important;
}

.menu-bottom-meta .meta-sub {
  font-size: 0.84rem !important;
  color: #94a3b8 !important;
  margin-bottom: 0.6rem !important;
}

.menu-bottom-meta .meta-contact {
  display: block !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 0.84rem !important;
  margin-bottom: 0.25rem !important;
}

.menu-bottom-meta .meta-contact:hover {
  color: #ffffff !important;
}

/* 2. HERO SECTION CENTERING & LOGO CLEARANCE */
.hero-split-container {
  margin-top: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 560px !important;
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  display: block !important;
}

.hero-panel {
  position: absolute !important;
  top: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

.panel-echen-inner,
.panel-ts-inner {
  position: absolute !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.panel-echen-inner {
  left: 0 !important;
  align-items: flex-end !important;
  padding: 2.5rem var(--gutter-inner) 2.5rem var(--gutter-outer) !important;
}

.panel-ts-inner {
  right: 0 !important;
  align-items: flex-start !important;
  padding: 2.5rem var(--gutter-outer) 2.5rem var(--gutter-inner) !important;
}

.hero-content-echen,
.hero-content-ts {
  max-width: 490px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Logo placement at top with absolute clarity */
.hero-logo-box-echen,
.hero-logo-box-ts {
  margin-bottom: 1.15rem !important;
  display: block !important;
}

.hero-studio-logo-echen {
  height: 36px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
}

.hero-studio-logo-ts {
  height: 40px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Viewport height safety: hero panels fit seamlessly without internal scrollbars */

/* 3. PROJECTS PORTFOLIO PAGE COMPREHENSIVE STYLING */
.projects-page-wrapper {
  background: #ffffff !important;
  min-height: 100vh !important;
  width: 100% !important;
}

.projects-hero-header {
  padding: calc(72px + 4rem) var(--gutter-outer) 3.5rem var(--gutter-outer) !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.projects-header-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
}

.projects-eyebrow {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
}

.projects-page-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
  line-height: 1.12 !important;
  margin-bottom: 1.25rem !important;
}

.projects-page-lead {
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  max-width: 780px !important;
  margin-bottom: 2.5rem !important;
}

/* Filter Bar */
.projects-filter-bar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
}

.filter-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.65rem 1.25rem !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.filter-pill .pill-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #94a3b8 !important;
  transition: background 0.2s ease !important;
}

.filter-pill .dot-joint {
  background: #000000 !important;
}

.filter-pill .dot-echen {
  background: #2563eb !important;
}

.filter-pill .dot-ts {
  background: #849368 !important;
}

.filter-pill .pill-count {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 2px 7px !important;
  background: #f1f5f9 !important;
  border-radius: 999px !important;
  color: #64748b !important;
  transition: all 0.2s ease !important;
}

.filter-pill:hover {
  border-color: #000000 !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
}

.filter-pill.active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

.filter-pill.active .pill-dot {
  background: #ffffff !important;
}

.filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* Projects Catalog Grid */
.projects-catalog-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 4rem var(--gutter-outer) 6rem var(--gutter-outer) !important;
}

.projects-catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2.75rem !important;
}

/* Project Card */
.catalog-project-card {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.catalog-project-card:hover {
  transform: translateY(-5px) !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.08) !important;
}

.card-link-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Media Box */
.catalog-card-media {
  position: relative !important;
  width: 100% !important;
  height: 310px !important;
  overflow: hidden !important;
  background: #0f172a !important;
}

.split-media-container {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.split-media-half {
  width: 50% !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

.split-media-half img,
.single-media-echen img,
.single-media-ts img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.catalog-project-card:hover .split-media-half img,
.catalog-project-card:hover .single-media-echen img,
.catalog-project-card:hover .single-media-ts img {
  transform: scale(1.05) !important;
}

.split-media-divider {
  width: 2px !important;
  height: 100% !important;
  background: #ffffff !important;
  position: relative !important;
  z-index: 3 !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4) !important;
}

.media-stamp {
  position: absolute !important;
  bottom: 10px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 3px 7px !important;
  letter-spacing: 0.06em !important;
  z-index: 4 !important;
}

.stamp-ec {
  left: 10px !important;
  background: rgba(0, 0, 0, 0.85) !important;
  color: #ffffff !important;
  border-left: 2px solid #ffffff !important;
}

.stamp-ts {
  right: 10px !important;
  background: rgba(195, 203, 166, 0.95) !important;
  color: #18221b !important;
}

.card-corner-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  padding: 5px 11px !important;
  z-index: 5 !important;
  text-transform: uppercase !important;
}

.badge-joint {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.badge-echen {
  background: #000000 !important;
  color: #ffffff !important;
  font-family: 'JetBrains Mono', monospace !important;
  border-radius: 0 !important;
  border-left: 2px solid #3b82f6 !important;
}

.badge-ts {
  background: #c3cba6 !important;
  color: #18221b !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}

.single-media-echen,
.single-media-ts {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

/* Card Body Content */
.catalog-card-body {
  padding: 1.75rem 2rem 2rem 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.card-meta-line {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
  margin-bottom: 0.65rem !important;
}

.card-heading {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.75rem !important;
  transition: color 0.2s ease !important;
}

.catalog-project-card:hover .card-heading {
  color: #2563eb !important;
}

.card-brief {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin-bottom: 1.5rem !important;
  flex-grow: 1 !important;
}

.card-footer-cta {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  transition: gap 0.2s ease, color 0.2s ease !important;
}

.catalog-project-card:hover .card-footer-cta {
  gap: 0.85rem !important;
  color: #2563eb !important;
}

/* Bottom CTA Banner */
.projects-cta-section {
  background: #08090d !important;
  color: #ffffff !important;
  padding: 5.5rem var(--gutter-outer) !important;
  border-top: 1px solid #1e293b !important;
}

.projects-cta-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4rem !important;
}

.cta-eyebrow {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  letter-spacing: 0.1em !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
}

.cta-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1rem !important;
  line-height: 1.18 !important;
}

.cta-desc {
  font-size: 1.05rem !important;
  color: #cbd5e1 !important;
  line-height: 1.6 !important;
  max-width: 650px !important;
}

.cta-col-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  flex-shrink: 0 !important;
}

.btn-cta-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  background: #ffffff !important;
  color: #000000 !important;
  padding: 1rem 2rem !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  border: 1px solid #ffffff !important;
  border-radius: 2px !important;
  transition: all 0.2s ease !important;
}

.btn-cta-primary:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

.btn-cta-secondary {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  color: #ffffff !important;
  padding: 1rem 1.75rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 2px !important;
  transition: all 0.2s ease !important;
}

.btn-cta-secondary:hover {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* 4. RESPONSIVE MEDIA QUERIES (MOBILE & TABLET EXCELLENCE) */
@media (max-width: 860px) {
  .site-header {
    height: 64px !important;
    padding: 0 1.25rem !important;
  }
  
  .hero-split-container {
    margin-top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
  }

  .projects-hero-header {
    padding: calc(64px + 2rem) 1.25rem 2.5rem 1.25rem !important;
  }

  .projects-catalog-container {
    padding: 2.5rem 1.25rem 4rem 1.25rem !important;
  }

  .projects-catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .catalog-card-media {
    height: 250px !important;
  }

  .projects-cta-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2rem !important;
  }

  .cta-col-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100% !important;
    justify-content: center !important;
  }

  .menu-bottom-meta {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ==========================================================================
   PRODUCTION REFINEMENTS: CLEAN HERO ARCHITECTURE & LIQUID SPLIT ENGINE
   Author: sykologicist (https://clicks.com.pk)
   Version: 2.3.0
   ========================================================================== */

/* 1. HERO FIT & RESIZING PANELS (Sections increase/decrease with central line) */
@media (min-width: 861px) {
  .hero-panel.panel-echen {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    background: #eef2f5 !important;
    color: #11161a !important;
    overflow: hidden !important;
    z-index: 10 !important;
    will-change: width;
  }

  .hero-panel.panel-thirdspace {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    height: 100% !important;
    background: #c4cfb4 !important;
    color: #18221b !important;
    overflow: hidden !important;
    z-index: 10 !important;
    will-change: left, width;
  }

  .panel-echen-inner {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 50vw !important;
    min-width: 480px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: clamp(2rem, 5vh, 4rem) clamp(2.5rem, 5vw, 5rem) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    z-index: 15 !important;
  }

  .panel-ts-inner {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 50vw !important;
    min-width: 480px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: clamp(2rem, 5vh, 4rem) clamp(2.5rem, 5vw, 5rem) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    z-index: 15 !important;
  }

  .split-divider-line {
    position: absolute !important;
    top: 0 !important;
    left: 50%;
    width: 2px !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.16) !important;
    transform: translateX(-50%) !important;
    z-index: 50 !important;
    cursor: ew-resize !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.12) !important;
    will-change: left;
  }
}

@media (max-width: 860px) {
  .hero-panel.panel-echen {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 50% !important;
    background: #eef2f5 !important;
    color: #11161a !important;
    overflow: hidden !important;
    z-index: 10 !important;
  }

  .hero-panel.panel-thirdspace {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: 50% !important;
    background: #c4cfb4 !important;
    color: #18221b !important;
    overflow: hidden !important;
    z-index: 10 !important;
  }

  .panel-echen-inner,
  .panel-ts-inner {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    padding: 1.5rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .split-divider-line {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
  }
}

/* 2. NO SCROLLBARS ANYWHERE IN HERO SECTION */
.hero-split-container,
.hero-panel,
.panel-echen-inner,
.panel-ts-inner,
.hero-content-echen,
.hero-content-ts {
  overflow: hidden !important;
  scrollbar-width: none !important;
}
.hero-split-container::-webkit-scrollbar,
.hero-panel::-webkit-scrollbar,
.panel-echen-inner::-webkit-scrollbar,
.panel-ts-inner::-webkit-scrollbar {
  display: none !important;
}

/* 3. REMOVE AMATEUR 'SCROLL' PROMPT IN MIDDLE OF HERO */
.hero-scroll-cue,
#heroScrollCue {
  display: none !important;
}

/* 4. TACTILE SEAM HANDLE (‹ • ›) */
.split-divider-handle {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  color: #11161a !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  cursor: ew-resize !important;
  pointer-events: auto !important;
  white-space: nowrap !important;
  user-select: none !important;
  z-index: 60 !important;
}

.handle-dot-seam {
  width: 6px !important;
  height: 6px !important;
  background: #3a4bd5 !important;
  border-radius: 50% !important;
}

/* 5. BACKGROUND PANORAMIC VIDEOS (Calm, non-distorting) */
.hero-bg-video-wrap {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.hero-bg-video {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 100% !important;
  min-width: 100vw !important;
  object-fit: cover !important;
  opacity: 0.18 !important;
}

.video-echen {
  left: 0 !important;
}

.video-ts {
  right: 0 !important;
}

/* 6. ARTWORK AT BOTTOM */
.hero-artwork {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  margin-top: auto !important;
  pointer-events: none !important;
}

/* 7. SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  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;
}

.reveal-on-scroll.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* ==========================================================================
   PRODUCTION FIX: SINGLE SCROLLBAR FOR FULLSCREEN MENU (ELIMINATE DOUBLE SCROLLBAR)
   ========================================================================== */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  touch-action: none !important;
  -webkit-overflow-scrolling: auto !important;
}

.fullscreen-menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  z-index: 100000 !important;
  display: flex !important;
  flex-direction: column !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
  background: #08090d !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-gutter: stable;
}

.fullscreen-menu-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.fullscreen-menu-inner {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 2.5rem 2.5rem 4rem 2.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
  overflow: visible !important; /* CRITICAL: Never scroll inner container */
}

/* Single clean scrollbar for overlay */
.fullscreen-menu-overlay::-webkit-scrollbar {
  width: 6px !important;
}
.fullscreen-menu-overlay::-webkit-scrollbar-track {
  background: transparent !important;
}
.fullscreen-menu-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22) !important;
  border-radius: 9999px !important;
}
.fullscreen-menu-overlay::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45) !important;
}
.fullscreen-menu-inner::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

/* ==========================================================================
   PRODUCTION REFINEMENT: BEAUTIFUL & RESPONSIVE MOBILE HERO SECTION
   ========================================================================== */
@media (max-width: 860px) {
  /* Fullscreen menu inside mobile */
  .fullscreen-menu-inner {
    padding: 1.5rem 1.25rem 3rem 1.25rem !important;
  }
  .menu-top-bar {
    margin-bottom: 1.5rem !important;
  }
  .nav-item-wrap .menu-link {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem) !important;
    padding: 0.85rem 0 !important;
  }
  .menu-bottom-meta {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
  }

  /* Hero Container */
  .hero-split-container {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 560px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 0 !important;
  }

  body.admin-bar .hero-split-container {
    height: calc(100vh - 46px) !important;
    height: calc(100dvh - 46px) !important;
  }

  /* Left/Top Panel: Echen Studios */
  .hero-panel.panel-echen {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: var(--split-pos-v, 50%) !important;
    background: #eef2f5 !important;
    color: #11161a !important;
    overflow: hidden !important;
    z-index: 10 !important;
    border-radius: 0 !important;
  }

  /* Right/Bottom Panel: Thirdspace */
  .hero-panel.panel-thirdspace {
    position: absolute !important;
    top: var(--split-pos-v, 50%) !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - var(--split-pos-v, 50%)) !important;
    background: #c4cfb4 !important;
    color: #18221b !important;
    overflow: hidden !important;
    z-index: 10 !important;
    border-radius: 0 !important;
  }

  /* Inner Panel Content Padding and Layout */
  .panel-echen-inner,
  .panel-ts-inner {
    width: 100% !important;
    height: 100% !important;
    padding: 1rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .hero-content-echen,
  .hero-content-ts {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 5 !important;
  }

  /* Studio Logos */
  .hero-logo-box-echen,
  .hero-logo-box-ts {
    margin-bottom: 0.35rem !important;
  }
  .hero-studio-logo-echen {
    height: 22px !important;
    width: auto !important;
  }
  .hero-studio-logo-ts {
    height: 24px !important;
    width: auto !important;
  }

  /* Symmetrical Typography */
  .hero-brand-title {
    font-size: clamp(1.65rem, 6.2vw, 2.15rem) !important;
    line-height: 1.05 !important;
    margin: 0 0 0.3rem 0 !important;
    letter-spacing: -0.025em !important;
  }
  .ts-title-serif {
    font-size: clamp(1.85rem, 6.8vw, 2.35rem) !important;
  }

  .hero-discipline-tag {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin: 0 0 0.35rem 0 !important;
  }

  .hero-desc-text {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    margin: 0 0 0.75rem 0 !important;
    max-width: 320px !important;
    color: var(--text-body) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hero-btn-row {
    margin-bottom: 0 !important;
  }
  .btn-pdf-blue,
  .btn-pdf-dark {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
  }

  /* Architectural Artwork: Anchored gracefully at bottom-right with subtle elegance */
  .hero-artwork {
    position: absolute !important;
    right: 0.75rem !important;
    bottom: 0.4rem !important;
    width: 38% !important;
    max-width: 135px !important;
    opacity: 0.4 !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }
  .hero-artwork-echen svg,
  .hero-artwork-ts svg {
    width: 100% !important;
    height: auto !important;
    max-height: 75px !important;
  }

  /* Telemetry Tags: Anchored at bottom-left */
  .cad-coordinate-tag,
  .organic-telemetry-tag {
    position: absolute !important;
    left: 1.25rem !important;
    bottom: 0.45rem !important;
    right: auto !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.08em !important;
    opacity: 0.65 !important;
    z-index: 3 !important;
    white-space: nowrap !important;
    font-family: var(--ec-font-mono, monospace) !important;
  }

  /* Touch-Enabled Split Divider Seam on Mobile */
  .split-divider-line {
    position: absolute !important;
    top: var(--split-pos-v, 50%) !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: rgba(0, 0, 0, 0.22) !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
    cursor: ns-resize !important;
    touch-action: none !important;
  }

  .split-divider-handle {
    padding: 5px 14px !important;
    font-size: 0.7rem !important;
    gap: 6px !important;
    border-radius: 9999px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16) !important;
    cursor: ns-resize !important;
    touch-action: none !important;
  }

  /* Transform arrows to vertical indicator on mobile */
  .split-divider-handle .handle-arrow {
    display: inline-block !important;
    transform: rotate(90deg) !important;
    font-size: 0.65rem !important;
  }
}


/* ==========================================================================
   PRODUCTION REFINEMENT: VERTICAL MOBILE FLOW & PERFECT MOBILE HEADER
   ========================================================================== */

/* 1. Desktop Hero: Strictly Fit-To-Screen (Zero Body Peeking on Load) */
@media (min-width: 861px) {
  .hero-split-container {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    position: relative !important;
    margin-top: 0 !important;
  }

  body.admin-bar .hero-split-container {
    height: calc(100vh - 32px) !important;
    min-height: calc(100vh - 32px) !important;
    max-height: calc(100vh - 32px) !important;
  }
}

/* 2. Mobile: Clean Vertical Flow & Perfectly Aligned Header */
@media (max-width: 860px) {
  /* Mobile Header: Fixed, Always Visible, ONLY Logos on Left & Animated Hamburger on Right */
  .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 64px !important;
    padding: 0 1.25rem !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9990 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.admin-bar .site-header {
    top: 46px !important;
  }

  /* Mobile Brand: ONLY the two logos cleanly aligned */
  .brand-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    text-decoration: none !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-logo-echen {
    height: 22px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  .nav-brand-sep {
    font-size: 0.88rem !important;
    line-height: 1 !important;
    color: rgba(0, 0, 0, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .nav-logo-thirdspace {
    height: 25px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Mobile Hamburger Button: Perfectly aligned on right edge */
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    border-radius: 50% !important;
    padding: 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    z-index: 100002 !important;
  }

  /* Strictly hide desktop nav links and mode pill on mobile */
  .desktop-nav,
  .nav-links,
  .split-mode-pill {
    display: none !important;
  }

  }


/* ==========================================================================
   PRODUCTION FIX: GUARANTEED VISIBILITY FOR ALL HOMEPAGE BODY SECTIONS
   Sections 2, 3, 4 are fully visible and readable with smooth GPU acceleration
   ========================================================================== */
.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-philosophy-section,
.made-by-both-section,
.dual-inquiry-section {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.split-philosophy-section {
  display: grid !important;
}

/* ==========================================================================
   PRODUCTION ENHANCEMENT: HERO BACKGROUND VIDEOS & DUAL ARCHITECTURAL FOOTER
   - Construction background video on Echen Studios
   - Warm interior living space background video on Third Space
   - High-contrast, fully scrollable, guaranteed-visible split footer with dark baseline
   ========================================================================== */

/* Hero Background Videos */
.hero-bg-video-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.hero-bg-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  pointer-events: none !important;
  will-change: transform;
}

.hero-bg-video.video-echen {
  filter: grayscale(100%) contrast(125%) brightness(105%) !important;
  opacity: 0.28 !important;
  mix-blend-mode: multiply !important;
}

.hero-bg-video.video-ts {
  filter: contrast(110%) brightness(102%) saturate(95%) !important;
  opacity: 0.28 !important;
  mix-blend-mode: multiply !important;
}

.video-overlay-ec {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(238, 242, 245, 0.40) 0%, rgba(238, 242, 245, 0.70) 100%) !important;
  mix-blend-mode: normal !important;
  pointer-events: none !important;
}

.video-overlay-ts {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(196, 207, 180, 0.35) 0%, rgba(196, 207, 180, 0.65) 100%) !important;
  mix-blend-mode: normal !important;
  pointer-events: none !important;
}

/* Site Footer: Dual Luxury Identity & Executive Dark Baseline */
.site-footer {
  width: 100% !important;
  background: #08090d !important;
  display: block !important;
  position: relative !important;
  z-index: 30 !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.footer-split-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.footer-box.box-echen {
  background: #08090d !important;
  color: #ffffff !important;
  padding: 5rem var(--gutter-inner) 5rem var(--gutter-outer) !important;
  display: flex !important;
  justify-content: flex-end !important;
  border-right: 1px solid #1f242e !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.footer-box.box-thirdspace {
  background: #c3cba6 !important;
  color: #18221b !important;
  padding: 5rem var(--gutter-outer) 5rem var(--gutter-inner) !important;
  display: flex !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}

/* High-Contrast Architectural Bottom Bar */
.footer-bottom-bar {
  background: #08090d !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 2.5rem var(--gutter-outer) calc(4rem + env(safe-area-inset-bottom, 24px)) var(--gutter-outer) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  position: relative !important;
  z-index: 40 !important;
  box-sizing: border-box !important;
  min-height: 110px !important;
}

.footer-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  color: #94a3b8 !important;
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.6 !important;
}

.footer-copy .copy-brand {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.footer-copy .copy-rights {
  color: #cbd5e1 !important;
}

.footer-copy .copy-reg {
  color: #64748b !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.footer-back-to-top a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-back-to-top a:hover {
  background: #ffffff !important;
  color: #08090d !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.18) !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 860px) {
  .footer-split-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .footer-box.box-echen {
    border-right: none !important;
    border-bottom: 1px solid #1f242e !important;
    padding: 3.5rem 1.5rem !important;
    justify-content: flex-start !important;
  }
  .footer-box.box-thirdspace {
    padding: 3.5rem 1.5rem !important;
  }
  .footer-bottom-bar {
    padding: 2.25rem 1.5rem calc(5.5rem + env(safe-area-inset-bottom, 28px)) 1.5rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }
  .footer-back-to-top {
    width: 100% !important;
  }
  .footer-back-to-top a {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.5rem !important;
  }
}

/* ==========================================================================
   PRODUCTION FIX: GUARANTEED MOBILE BODY VISIBILITY & SLIGHTLY LARGER LOGOS
   - Forces all middle sections (Section 2, Section 3, Section 4) to be 100% visible on mobile
   - Symmetrically enlarges dual studio logos in header, hero, and preloader
   - Reduces preloader Echen wing padding from central line on mobile
   ========================================================================== */

/* 1. Global & Mobile Body Section Visibility */
.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.split-philosophy-section,
.made-by-both-section,
.dual-inquiry-section {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.split-philosophy-section {
  display: grid !important;
}

@media (max-width: 860px) {
  .split-philosophy-section {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .made-by-both-section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .dual-inquiry-section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .phil-box,
  .phil-col,
  .collab-card,
  .project-showcase-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* 2. Slightly Larger Logos: Header, Hero, and Preloader */
/* Header Dual Logos (Desktop) */
.nav-logo-echen {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.nav-logo-thirdspace,
.nav-logo-ts {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Hero Dual Logos (Desktop) */
.hero-studio-logo-echen {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.hero-studio-logo-ts {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Mobile Sizing: Slightly Larger & Perfectly Proportioned */
@media (max-width: 860px) {
  .site-header .nav-logo-echen {
    height: 28px !important;
    max-height: 28px !important;
  }

  .site-header .nav-logo-thirdspace,
  .site-header .nav-logo-ts {
    height: 32px !important;
    max-height: 32px !important;
  }

  .hero-studio-logo-echen {
    height: 36px !important;
    max-height: 36px !important;
  }

  .hero-studio-logo-ts {
    height: 40px !important;
    max-height: 40px !important;
  }

  /* Preloader: Decreased padding from central line & responsive logo sizing */
  .cinematic-preloader .stage-wing.wing-echen {
    right: 50% !important;
    padding-right: 8px !important;
  }

  .cinematic-preloader .stage-wing.wing-ts {
    left: 50% !important;
    padding-left: 8px !important;
  }

  .cinematic-preloader .wing-logo-echen {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 130px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
  }

  .cinematic-preloader .wing-logo-ts {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 130px !important;
    object-fit: contain !important;
  }

  .cinematic-preloader .stage-center-dock {
    width: 2px !important;
  }

  .cinematic-preloader .dock-divider-blade {
    width: 2px !important;
  }
}


/* ==========================================================================
   HERO OPPOSITE-MOUSE EXPANSION & INTEGRATED PROJECT CAROUSELS
   - Hover on Echen (left) -> Echen widens to 72%, Thirdspace compresses to 28%
   - Hover on Thirdspace (right) -> Thirdspace widens to 72%, Echen compresses to 28%
   - Unveils full project carousel with arrows on both sides, drag & swipe support
   ========================================================================== */

/* Hero Panels Desktop Transition & Sizing */
@media (min-width: 861px) {
  .hero-panel.panel-echen,
  .hero-panel.panel-thirdspace {
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* When dragging with mouse, disable transition for 1:1 real-time physical feel */
  .hero-split-container.is-dragging .hero-panel.panel-echen,
  .hero-split-container.is-dragging .hero-panel.panel-thirdspace {
    transition: none !important;
  }

  /* Neutral State (50/50) */
  .hero-split-container[data-expanded="neutral"] .hero-artwork {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .hero-split-container[data-expanded="neutral"] .hero-carousel-block {
    opacity: 0.95;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  /* Echen Expanded (Mouse on Echen Side) */
  .hero-split-container[data-expanded="echen"] .panel-echen .hero-carousel-block {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .hero-split-container[data-expanded="echen"] .panel-echen .hero-artwork-echen {
    opacity: 0.25;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .hero-split-container[data-expanded="echen"] .panel-thirdspace .hero-content-ts {
    opacity: 0.65;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Thirdspace Expanded (Mouse on Thirdspace Side) */
  .hero-split-container[data-expanded="thirdspace"] .panel-thirdspace .hero-carousel-block {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .hero-split-container[data-expanded="thirdspace"] .panel-thirdspace .hero-artwork-ts {
    opacity: 0.25;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .hero-split-container[data-expanded="thirdspace"] .panel-echen .hero-content-echen {
    opacity: 0.65;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
}

/* Hero Carousel Block */
.hero-carousel-block {
  margin-top: 1.75rem;
  width: 100%;
  position: relative;
  z-index: 25;
}

.hero-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
}

.hero-carousel-echen .carousel-telemetry {
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1a365d;
  text-transform: uppercase;
}

.hero-carousel-ts .carousel-telemetry {
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1e291b;
}

.carousel-drag-hint {
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

/* Wrapper containing Left Arrow, Track, and Right Arrow */
.hero-carousel-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  gap: 0.65rem;
  width: 100%;
}

/* Arrow Navigation Buttons */
.hero-carousel-arrow {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 30;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  user-select: none;
  font-size: 1.5rem;
  line-height: 1;
}

.hero-carousel-arrow span {
  display: block;
  transform: translateY(-1px);
}

.hero-carousel-echen .hero-carousel-arrow {
  border-radius: 0 !important;
  color: #0f172a;
  border: 1.5px solid #0f172a;
  background: #ffffff;
}

.hero-carousel-echen .hero-carousel-arrow:hover {
  background: #3a4bd5;
  color: #ffffff;
  border-color: #3a4bd5;
  transform: scale(1.06);
}

.hero-carousel-ts .hero-carousel-arrow {
  border-radius: 50% !important;
  color: #19241b;
  border: 1.5px solid #19241b;
  background: rgba(255, 255, 255, 0.95);
}

.hero-carousel-ts .hero-carousel-arrow:hover {
  background: #19241b;
  color: #ffffff;
  border-color: #19241b;
  transform: scale(1.06);
}

/* Carousel Track */
.hero-carousel-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.25rem 0.85rem;
  width: calc(100% - 96px);
  cursor: grab;
}

.hero-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.hero-carousel-track:active,
.hero-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Carousel Project Card */
.hero-carousel-card {
  flex: 0 0 250px;
  width: 250px;
  scroll-snap-align: start;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  user-select: none;
}

.hero-carousel-echen .hero-carousel-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #cbd5e1;
  border-radius: 0 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.hero-carousel-echen .hero-carousel-card:hover {
  border-color: #3a4bd5;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58, 75, 213, 0.16);
}

.hero-carousel-ts .hero-carousel-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(25, 36, 27, 0.2);
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(25, 36, 27, 0.08);
  backdrop-filter: blur(8px);
}

.hero-carousel-ts .hero-carousel-card:hover {
  border-color: #19241b;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(25, 36, 27, 0.15);
}

/* Card Image Wrap */
.carousel-card-img-wrap {
  position: relative;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #000000;
}

.carousel-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-carousel-card:hover .carousel-card-img-wrap img {
  transform: scale(1.07);
}

.carousel-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
}

.hero-carousel-echen .carousel-card-badge {
  border-radius: 0;
  border-left: 2px solid #3a4bd5;
}

.hero-carousel-ts .carousel-card-badge {
  border-radius: 4px;
  background: rgba(25, 36, 27, 0.85);
  border-left: 2px solid #c3cba6;
}

/* Card Info */
.carousel-card-info {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.carousel-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

.hero-carousel-echen .carousel-card-title {
  color: #0f172a;
  font-family: var(--ec-font-sans, 'Space Grotesk', sans-serif);
}

.hero-carousel-ts .carousel-card-title {
  color: #19241b;
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem;
}

.carousel-card-subtitle {
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0 0 0.6rem;
}

.hero-carousel-echen .carousel-card-subtitle {
  color: #64748b;
  font-family: var(--ec-font-sans, sans-serif);
}

.hero-carousel-ts .carousel-card-subtitle {
  color: #435b49;
  font-family: var(--ts-font-sans, sans-serif);
}

.carousel-card-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: auto;
}

.hero-carousel-echen .carousel-card-link {
  color: #3a4bd5;
  font-family: var(--ec-font-mono, monospace);
}

.hero-carousel-ts .carousel-card-link {
  color: #19241b;
  font-family: var(--ts-font-sans, sans-serif);
}

/* Mobile Carousel Responsiveness */
@media (max-width: 860px) {
  .hero-carousel-block {
    margin-top: 1.5rem;
  }
  .hero-carousel-track {
    width: calc(100% - 84px);
    gap: 0.85rem;
  }
  .hero-carousel-card {
    flex: 0 0 220px;
    width: 220px;
  }
  .carousel-card-img-wrap {
    height: 130px;
  }
  .hero-carousel-arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   ABOUT PAGE: DEDICATED STUDIO SECTIONS & RIGHT-SIDE PROJECT GRIDS
   - /about?studio=echen: Left is Echen narrative & credentials, Right is Echen project grid
   - /about?studio=thirdspace: Left is Thirdspace atelier narrative, Right is Thirdspace project grid
   ========================================================================== */

/* Studio Switcher Tab Bar on About Page */
body.page-template-page-about {
  padding-top: var(--header-height, 72px) !important;
}

body.page-template-page-about.admin-bar {
  padding-top: calc(var(--header-height, 72px) + 32px) !important;
}

.about-studio-tabs-bar {
  display: flex;
  background: #000000;
  border-bottom: 1px solid #222630;
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 100;
  width: 100%;
}

body.admin-bar .about-studio-tabs-bar {
  top: calc(var(--header-height, 72px) + 32px);
}

.about-tab-btn {
  flex: 1;
  padding: 1.1rem 1.5rem;
  text-align: center;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.about-tab-echen {
  background: #08090d;
  color: #94a3b8;
  font-family: var(--ec-font-mono, monospace);
  border-right: 1px solid #222630;
}

.about-tab-echen.is-active,
.about-tab-echen:hover {
  background: #11141d;
  color: #ffffff;
  border-bottom: 3px solid #3a4bd5;
}

.about-tab-ts {
  background: #1b241c;
  color: #a4b39b;
  font-family: var(--ts-font-sans, sans-serif);
}

.about-tab-ts.is-active,
.about-tab-ts:hover {
  background: #253327;
  color: #ffffff;
  border-bottom: 3px solid #c3cba6;
}

/* About Layout 2-Column Grid */
.about-single-studio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 120px);
  width: 100%;
}

@media (max-width: 960px) {
  .about-single-studio-layout {
    grid-template-columns: 1fr;
  }
}

/* Right-Side Projects Grid Panel */
.about-projects-grid-col {
  padding: 5rem 4vw;
  box-sizing: border-box;
}

.about-projects-grid-col.col-echen {
  background: #0f1117;
  color: #ffffff;
  border-left: 1px solid #222630;
}

.about-projects-grid-col.col-ts {
  background: #b8c199;
  color: #141c15;
  border-left: 1px solid rgba(25, 36, 27, 0.15);
}

.about-grid-header {
  margin-bottom: 2.5rem;
}

.about-grid-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.col-echen .about-grid-eyebrow {
  color: #60a5fa;
  font-family: var(--ec-font-mono, monospace);
}

.col-ts .about-grid-eyebrow {
  color: #2b3d2f;
  font-family: var(--ts-font-serif, serif);
  font-style: italic;
  font-weight: 600;
}

.about-grid-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.col-echen .about-grid-title {
  color: #ffffff;
  font-family: var(--ec-font-sans, sans-serif);
}

.col-ts .about-grid-title {
  color: #141c15;
  font-family: var(--ts-font-serif, serif);
}

.about-grid-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.col-echen .about-grid-subtitle {
  color: #94a3b8;
}

.col-ts .about-grid-subtitle {
  color: #384d3d;
}

/* The 2-Column Project Grid */
.about-projects-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .about-projects-catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Individual Project Grid Card */
.about-project-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.col-echen .about-project-card {
  background: #141824;
  border: 1px solid #283144;
  border-radius: 0 !important;
}

.col-echen .about-project-card:hover {
  border-color: #60a5fa;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.col-ts .about-project-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(25, 36, 27, 0.18);
  border-radius: 12px !important;
  backdrop-filter: blur(8px);
}

.col-ts .about-project-card:hover {
  border-color: #19241b;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(25, 36, 27, 0.15);
}

.about-card-media {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #000;
}

.about-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.about-project-card:hover .about-card-media img {
  transform: scale(1.06);
}

.about-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--ec-font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  color: #ffffff;
}

.col-echen .about-card-badge {
  background: rgba(8, 9, 13, 0.9);
  border-left: 2px solid #3a4bd5;
}

.col-ts .about-card-badge {
  background: rgba(25, 36, 27, 0.9);
  border-left: 2px solid #c3cba6;
  border-radius: 3px;
}

.about-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.about-card-geo {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.col-echen .about-card-geo {
  color: #64748b;
  font-family: var(--ec-font-mono, monospace);
}

.col-ts .about-card-geo {
  color: #4b6250;
  font-family: var(--ts-font-sans, sans-serif);
}

.about-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.col-echen .about-card-title {
  color: #ffffff;
  font-family: var(--ec-font-sans, sans-serif);
}

.col-ts .about-card-title {
  color: #19241b;
  font-family: var(--ts-font-serif, serif);
  font-size: 1.2rem;
}

.about-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.col-echen .about-card-desc {
  color: #94a3b8;
}

.col-ts .about-card-desc {
  color: #384d3d;
}

.about-card-action {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.col-echen .about-card-action {
  color: #60a5fa;
  font-family: var(--ec-font-mono, monospace);
}

.col-ts .about-card-action {
  color: #19241b;
  font-family: var(--ts-font-sans, sans-serif);
}

.about-project-card:hover .about-card-action {
  gap: 0.6rem;
}

/* ==========================================================================
   FULL-PANEL MULTI-SLIDE SHOWCASE (HERO ACTS AS A FULL SLIDE)
   - Whichever section is hovered widens (opposite mouse) and acts as a slide showcase
   - Only advances / moves slides when that section is widened
   - Features full-bleed project backgrounds, titles, typography, and case study CTAs
   ========================================================================== */

/* Full Viewport Container */
.hero-slides-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
}

/* Individual Full Slide */
.hero-full-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
  z-index: 1;
  overflow: hidden;
}

.hero-full-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: scale(1) !important;
  z-index: 5 !important;
}

/* Full Bleed Background Image for Project Slides */
.hero-full-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.hero-full-slide.is-active .hero-full-slide-bg {
  transform: scale(1.04);
}

/* Scrim Overlays for Legibility & Contrast */
.slide-scrim-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.slide-scrim-overlay.scrim-echen {
  background: linear-gradient(135deg, rgba(8, 9, 13, 0.94) 0%, rgba(8, 9, 13, 0.78) 50%, rgba(8, 9, 13, 0.45) 100%);
}

.slide-scrim-overlay.scrim-ts {
  background: linear-gradient(135deg, rgba(25, 36, 27, 0.94) 0%, rgba(25, 36, 27, 0.78) 50%, rgba(25, 36, 27, 0.45) 100%);
}

/* Inner Slide Layout */
.slide-project-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 4vw 0 5vw;
  max-width: 680px;
  box-sizing: border-box;
}

.slide-badge-meta {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.panel-echen .slide-badge-meta {
  color: #60a5fa;
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace);
}

.panel-thirdspace .slide-badge-meta {
  color: #c3cba6;
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: 0.92rem;
}

.slide-big-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.panel-echen .slide-big-title {
  font-family: var(--ec-font-sans, 'Space Grotesk', sans-serif);
}

.panel-thirdspace .slide-big-title.font-serif {
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.slide-typology-tag {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.panel-echen .slide-typology-tag {
  color: #94a3b8;
  font-family: var(--ec-font-mono, monospace);
}

.panel-thirdspace .slide-typology-tag.ts-tag {
  color: #cbd5c3;
  font-family: var(--ts-font-sans, sans-serif);
}

.slide-lead-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #e2e8f0;
  max-width: 580px;
  margin: 0 0 2.2rem;
}

.panel-thirdspace .slide-lead-desc.ts-desc {
  color: #dbe4d3;
}

.slide-cta-row {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Slide Action Buttons */
.btn-slide-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 1.1rem 2.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-slide-ec {
  background: #3a4bd5;
  color: #ffffff;
  border: 1.5px solid #3a4bd5;
  font-family: var(--ec-font-mono, monospace);
  border-radius: 0;
}

.btn-slide-ec:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(58, 75, 213, 0.3);
}

.btn-slide-ts {
  background: #c3cba6;
  color: #19241b;
  border: 1.5px solid #c3cba6;
  font-family: var(--ts-font-sans, sans-serif);
  border-radius: 30px;
}

.btn-slide-ts:hover {
  background: #ffffff;
  color: #19241b;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(195, 203, 166, 0.3);
}

.btn-slide-outline {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.1rem 2rem;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-slide-ec-outline {
  border-radius: 0;
  font-family: var(--ec-font-mono, monospace);
}

.btn-slide-ec-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.btn-slide-ts-outline {
  border-radius: 30px;
  font-family: var(--ts-font-sans, sans-serif);
}

.btn-slide-ts-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* Floating Navigation Controls (Arrows & Counter) */
.hero-slide-nav-bar {
  position: absolute;
  bottom: 2.5rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(8, 9, 13, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.65rem;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.nav-bar-echen {
  left: 5vw;
  border-radius: 0;
}

.nav-bar-ts {
  left: 5vw;
  border-radius: 30px;
  background: rgba(25, 36, 27, 0.85);
  border-color: rgba(195, 203, 166, 0.25);
}

/* Visibility Rule: ONLY visible and interactive when the panel is widened */
@media (min-width: 861px) {
  .hero-panel.panel-echen.is-expanded .nav-bar-echen,
  .hero-panel.panel-thirdspace.is-expanded .nav-bar-ts {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* Slide Nav Buttons */
.hero-slide-nav-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  transition: all 0.2s ease;
  user-select: none;
}

.hero-slide-nav-btn span {
  display: block;
  transform: translateY(-1px);
}

.nav-bar-echen .hero-slide-nav-btn {
  border-radius: 0;
}

.nav-bar-echen .hero-slide-nav-btn:hover {
  background: #3a4bd5;
  border-color: #3a4bd5;
  color: #ffffff;
  transform: scale(1.08);
}

.nav-bar-ts .hero-slide-nav-btn {
  border-radius: 50%;
}

.nav-bar-ts .hero-slide-nav-btn:hover {
  background: #c3cba6;
  border-color: #c3cba6;
  color: #19241b;
  transform: scale(1.08);
}

/* Counter Box */
.hero-slide-counter-box {
  padding: 0 0.85rem;
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.hero-slide-counter-box .slide-slash {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.35rem;
}

.hero-slide-counter-box .slide-total {
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsiveness for Full-Panel Slides */
@media (max-width: 860px) {
  .hero-slide-nav-bar {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    bottom: 1.5rem;
    left: 1.25rem;
  }
  .slide-project-inner {
    padding: 2.5rem 1.5rem 6.5rem;
  }
  .slide-big-title {
    font-size: 2.2rem;
  }
  .slide-lead-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .btn-slide-primary,
  .btn-slide-outline {
    padding: 0.9rem 1.5rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   EXPERT UI REFINEMENTS: FULL SCREEN HERO, FULL HEIGHT SLIDES & COMPACT TYPOGRAPHY
   ========================================================================== */

/* Full Screen Height for Hero Section & Slides */
#heroSplit.hero-split-container,
.hero-split-container {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.admin-bar #heroSplit.hero-split-container,
body.admin-bar .hero-split-container {
  height: calc(100vh - 32px) !important;
  height: calc(100dvh - 32px) !important;
  min-height: calc(100vh - 32px) !important;
  max-height: calc(100vh - 32px) !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar #heroSplit.hero-split-container,
  body.admin-bar .hero-split-container {
    height: calc(100vh - 46px) !important;
    height: calc(100dvh - 46px) !important;
    min-height: calc(100vh - 46px) !important;
    max-height: calc(100vh - 46px) !important;
  }
}

/* Full Height Viewport & Individual Slides */
.hero-slides-viewport {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  z-index: 10 !important;
}

.hero-full-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

.hero-full-slide-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
}

.slide-scrim-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
}

/* Precision Inner Slide Alignment: Perfectly Centered Vertical Cluster */
.hero-full-slide .slide-project-inner,
.slide-project-inner {
  position: relative !important;
  z-index: 15 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  max-width: 760px !important;
  padding: 0 clamp(2.5rem, 6vw, 6rem) 3.5rem clamp(2.5rem, 6vw, 6rem) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  gap: 0 !important;
}

/* Slide Eyebrow Badge */
.slide-badge-meta {
  font-size: 0.76rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  margin: 0 0 0.75rem 0 !important;
  display: inline-block !important;
  font-weight: 600 !important;
}

.panel-echen .slide-badge-meta,
.slide-project-echen .slide-badge-meta {
  color: #60a5fa !important;
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace) !important;
}

.panel-thirdspace .slide-badge-meta,
.slide-project-ts .slide-badge-meta {
  color: #c3cba6 !important;
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif) !important;
  font-style: italic !important;
  font-size: 0.92rem !important;
}

/* Slide Big Title: Compact, Sophisticated Editorial Headline */
.slide-big-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 0.5rem 0 !important;
  max-width: 680px !important;
}

.panel-echen .slide-big-title,
.slide-project-echen .slide-big-title {
  font-family: var(--ec-font-sans, 'Space Grotesk', sans-serif) !important;
}

.panel-thirdspace .slide-big-title,
.slide-project-ts .slide-big-title {
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

/* Typology Tag: Immediate Subtitle */
.slide-typology-tag {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  margin: 0 0 0.95rem 0 !important;
}

.panel-echen .slide-typology-tag,
.slide-project-echen .slide-typology-tag {
  color: #94a3b8 !important;
  font-family: var(--ec-font-mono, monospace) !important;
}

.panel-thirdspace .slide-typology-tag,
.slide-project-ts .slide-typology-tag {
  color: #cbd5c3 !important;
  font-family: var(--ts-font-sans, sans-serif) !important;
}

/* Lead Description: Compact 1.55 Line Height, Close to CTA */
.slide-lead-desc {
  font-size: clamp(0.96rem, 1.2vw, 1.08rem) !important;
  line-height: 1.55 !important;
  color: rgba(226, 232, 240, 0.92) !important;
  max-width: 580px !important;
  margin: 0 0 1.5rem 0 !important;
  font-family: var(--ec-font-sans, -apple-system, sans-serif) !important;
  font-weight: 400 !important;
}

.panel-thirdspace .slide-lead-desc,
.slide-project-ts .slide-lead-desc {
  color: rgba(219, 228, 211, 0.92) !important;
  font-family: var(--ts-font-sans, -apple-system, sans-serif) !important;
}

/* CTA Row: Tightened, Inline Layout */
.slide-cta-row {
  display: flex !important;
  gap: 0.85rem !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.btn-slide-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 0.95rem 1.85rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1 !important;
}

.btn-slide-outline {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 0.95rem 1.65rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  line-height: 1 !important;
}

/* Floating Navigation Controls */
.hero-slide-nav-bar {
  position: absolute !important;
  bottom: 2.5rem !important;
  left: 5vw !important;
  z-index: 40 !important;
}


/* ==========================================================================
   PRODUCTION READY HERO & SLIDES PERFECTION (V2.8.0)
   - Zero-Lag Hardware Accelerated Transitions
   - Full-Screen Height Fit (100vh / 100dvh, Zero Extra Overflow on Any Device)
   - 100% Symmetrical Intro & Project Slides
   - Zero Description Text
   ========================================================================== */

/* 1. Global Viewport & Container Height Enforcement */
#heroSplit.hero-split-container,
.hero-split-container {
  position: relative !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.admin-bar #heroSplit.hero-split-container,
body.admin-bar .hero-split-container {
  height: calc(100vh - 32px) !important;
  height: calc(100dvh - 32px) !important;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  min-height: 0 !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar #heroSplit.hero-split-container,
  body.admin-bar .hero-split-container {
    height: calc(100vh - 46px) !important;
    height: calc(100dvh - 46px) !important;
    max-height: calc(100vh - 46px) !important;
    max-height: calc(100dvh - 46px) !important;
    min-height: 0 !important;
  }
}

/* 2. Desktop Panels & Divider: High-Speed GPU Smooth Gliding */
@media (min-width: 861px) {
  .hero-panel.panel-echen,
  .hero-panel.panel-thirdspace {
    position: absolute !important;
    top: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
    transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: width;
    border-radius: 0 !important;
  }

  .hero-panel.panel-echen {
    left: 0 !important;
    right: auto !important;
    width: var(--split-pos, 50%) !important;
  }

  .hero-panel.panel-thirdspace {
    right: 0 !important;
    left: auto !important;
    width: calc(100% - var(--split-pos, 50%)) !important;
  }

  .split-divider-line {
    position: absolute !important;
    top: 0 !important;
    left: var(--split-pos, 50%) !important;
    width: 2px !important;
    height: 100% !important;
    z-index: 50 !important;
    transition: left 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: left;
    transform: translateX(-50%) !important;
    display: block !important;
  }

  .hero-split-container.is-dragging .hero-panel.panel-echen,
  .hero-split-container.is-dragging .hero-panel.panel-thirdspace,
  .hero-split-container.is-dragging .split-divider-line {
    transition: none !important;
  }
}

/* 3. Slide Viewports & Absolute Stack */
.hero-slides-viewport {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-full-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s !important;
  z-index: 1 !important;
}

.hero-full-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 5 !important;
}

.hero-full-slide-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
}

.slide-scrim-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
}

/* 4. Symmetrical Slide 0 (Intro Default Hero Screen) */
.panel-echen-inner,
.panel-ts-inner {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding: 0 clamp(2.5rem, 5vw, 5rem) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.hero-content-echen,
.hero-content-ts {
  max-width: 460px !important;
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.hero-logo-box-echen,
.hero-logo-box-ts {
  height: 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 0 1.35rem 0 !important;
  padding: 0 !important;
}

.hero-studio-logo-echen {
  height: 54px !important;
  max-height: 54px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.hero-studio-logo-ts {
  height: 66px !important;
  max-height: 66px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.hero-brand-title {
  font-size: clamp(2.2rem, 3.2vw, 3.2rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em !important;
  margin: 0 0 0.45rem 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.panel-echen .hero-brand-title {
  color: #11161a !important;
  font-family: var(--ec-font-sans, 'Space Grotesk', sans-serif) !important;
  font-weight: 800 !important;
}

.panel-thirdspace .hero-brand-title {
  color: #18221b !important;
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif) !important;
  font-weight: 500 !important;
}

.hero-discipline-tag {
  font-size: 0.85rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin: 0 0 1.5rem 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.panel-echen .hero-discipline-tag {
  color: #3a4bd5 !important;
  font-family: var(--ec-font-mono, monospace) !important;
  font-weight: 600 !important;
}

.panel-thirdspace .hero-discipline-tag {
  color: #1d291b !important;
  font-family: var(--ts-font-sans, sans-serif) !important;
  font-weight: 600 !important;
}

.hero-btn-row {
  display: flex !important;
  align-items: center !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.btn-pdf-blue,
.btn-pdf-dark {
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 2rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.hero-artwork {
  display: none !important;
}

/* 5. Symmetrical Project Slides (Slides 1 to 8) */
.hero-full-slide .slide-project-inner,
.slide-project-inner {
  position: relative !important;
  z-index: 15 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  max-width: 760px !important;
  padding: 0 clamp(2.5rem, 6vw, 6rem) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
}

.slide-badge-meta {
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  margin: 0 0 0.75rem 0 !important;
  display: inline-block !important;
  font-weight: 600 !important;
}

.panel-echen .slide-badge-meta,
.slide-project-echen .slide-badge-meta {
  color: #60a5fa !important;
  font-family: var(--ec-font-mono, monospace) !important;
}

.panel-thirdspace .slide-badge-meta,
.slide-project-ts .slide-badge-meta {
  color: #c3cba6 !important;
  font-family: var(--ts-font-serif, Georgia, serif) !important;
  font-style: italic !important;
  font-size: 0.92rem !important;
}

.slide-big-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 0.5rem 0 !important;
  max-width: 680px !important;
}

.panel-echen .slide-big-title,
.slide-project-echen .slide-big-title {
  font-family: var(--ec-font-sans, 'Space Grotesk', sans-serif) !important;
}

.panel-thirdspace .slide-big-title,
.slide-project-ts .slide-big-title {
  font-family: var(--ts-font-serif, 'Cormorant Garamond', Georgia, serif) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

.slide-typology-tag {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  margin: 0 0 1.5rem 0 !important;
}

.panel-echen .slide-typology-tag,
.slide-project-echen .slide-typology-tag {
  color: #94a3b8 !important;
  font-family: var(--ec-font-mono, monospace) !important;
}

.panel-thirdspace .slide-typology-tag,
.slide-project-ts .slide-typology-tag {
  color: #cbd5c3 !important;
  font-family: var(--ts-font-sans, sans-serif) !important;
}

/* Strictly Hide any residual description tags */
.slide-lead-desc,
.hero-desc-text {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Symmetrical CTA Row on Project Slides */
.slide-cta-row {
  display: flex !important;
  gap: 0.85rem !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 48px !important;
}

.btn-slide-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 0 1.85rem !important;
  height: 48px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.btn-slide-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 0 1.65rem !important;
  height: 48px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

/* 6. Floating Navigation Controls */
.hero-slide-nav-bar {
  position: absolute !important;
  bottom: 2.5rem !important;
  left: 5vw !important;
  z-index: 40 !important;
}

/* 7. Mobile Viewport Support: Dual Equal Square Blocks (Fit to Screen, Slide 0 Only) */
@media (max-width: 860px) {
  #heroSplit.hero-split-container,
  .hero-split-container {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.admin-bar #heroSplit.hero-split-container,
  body.admin-bar .hero-split-container {
    height: calc(100vh - 46px) !important;
    height: calc(100dvh - 46px) !important;
    max-height: calc(100vh - 46px) !important;
    max-height: calc(100dvh - 46px) !important;
    min-height: 0 !important;
  }

  /* Top Square Block: Echen Studios (50% Screen Height) */
  .hero-panel.panel-echen {
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: 50% !important;
    min-height: 50% !important;
    max-height: 50% !important;
    background: #eef2f5 !important;
    color: #11161a !important;
    overflow: hidden !important;
    z-index: 10 !important;
    border-radius: 0 !important;
    transition: none !important;
    display: block !important;
  }

  /* Bottom Square Block: Thirdspace (50% Screen Height) */
  .hero-panel.panel-thirdspace {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: 50% !important;
    min-height: 50% !important;
    max-height: 50% !important;
    background: #c4cfb4 !important;
    color: #18221b !important;
    overflow: hidden !important;
    z-index: 10 !important;
    border-radius: 0 !important;
    transition: none !important;
    display: block !important;
  }

  /* Horizontal Center Seam / Divider Line */
  .split-divider-line {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
    display: block !important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.35) !important;
    cursor: default !important;
  }

  .split-divider-line .split-divider-handle {
    display: none !important;
  }

  /* Ambient Background Videos: FULL 100% COVERAGE of each 50% block */
  .hero-bg-video-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
    display: block !important;
    pointer-events: none !important;
  }

  .hero-bg-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important; /* CRITICAL: Resets translate(-50%, -50%) */
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    pointer-events: none !important;
  }

  .hero-bg-video.video-echen {
    filter: grayscale(100%) contrast(120%) brightness(105%) !important;
    opacity: 0.38 !important;
    mix-blend-mode: multiply !important;
  }

  .hero-bg-video.video-ts {
    filter: contrast(110%) brightness(102%) saturate(95%) !important;
    opacity: 0.38 !important;
    mix-blend-mode: multiply !important;
  }

  .video-overlay-ec {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(238, 242, 245, 0.65) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  .video-overlay-ts {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(196, 207, 180, 0.65) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  /* Slide Viewports & Swipeable Slides on Mobile */
  .hero-slides-viewport {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
  }

  .hero-full-slide {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.42s ease !important;
  }

  .hero-full-slide.is-active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }

  .hero-slide-nav-bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Inner Content Padding & Alignment in Each Square */
  .panel-echen-inner {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: calc(64px + 0.35rem) 1.25rem 0.5rem 1.25rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .panel-ts-inner {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 0.75rem 1.25rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .hero-content-echen,
  .hero-content-ts {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }

  /* Studio Logos */
  .hero-logo-box-echen,
  .hero-logo-box-ts {
    height: auto !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-studio-logo-echen {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  .hero-studio-logo-ts {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Symmetrical Typography */
  .hero-brand-title {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
    margin: 0 0 0.2rem 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .hero-discipline-tag {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 0 0.55rem 0 !important;
    padding: 0 !important;
    font-weight: 700 !important;
    display: inline-block !important;
  }

  /* Action Buttons */
  .hero-btn-row {
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .btn-pdf-blue,
  .btn-pdf-dark {
    height: 38px !important;
    padding: 0 1.25rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .hero-artwork {
    display: none !important;
  }

  /* Telemetry Tags anchored bottom left */
  .cad-coordinate-tag,
  .organic-telemetry-tag {
    position: absolute !important;
    left: 1.25rem !important;
    bottom: 0.4rem !important;
    right: auto !important;
    top: auto !important;
    font-size: 0.55rem !important;
    letter-spacing: 0.08em !important;
    opacity: 0.65 !important;
    font-family: var(--ec-font-mono, monospace) !important;
    white-space: nowrap !important;
    z-index: 3 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* ==========================================================================
   SECTION: INNER PAGES COMPREHENSIVE RESPONSIVE OPTIMIZATION (VERSION 2.8.4)
   Pages covered:
   1. Contact & Commission Inquiry (/contact)
   2. About The Studios (/about & /about?studio=)
   3. Single Project Case Studies (/projects/{slug})
   4. Studio Journal & Field Notes (/journal)
   5. Global Mobile Container & Header Clearance
   Author: sykologicist (https://clicks.com.pk)
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. GLOBAL MOBILE ROOT DEFAULTS & VIEWPORT REPAIR
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  :root {
    --header-height: 64px !important;
  }
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .page-container {
    padding-top: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   B. CONTACT & COMMISSION INQUIRY PAGE (/contact)
   -------------------------------------------------------------------------- */
.contact-page-wrapper {
  min-height: 80vh;
}

.contact-page-header {
  padding: calc(var(--header-height, 72px) + 3rem) 6vw 3rem 6vw;
  border-bottom: 1px solid var(--border-light);
  background: #fafaf9;
}

.contact-header-eyebrow {
  font-family: var(--ec-font-mono, monospace);
  font-size: 0.8rem;
  color: #dc2626;
  margin-bottom: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-page-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.contact-page-lead {
  font-size: 1.15rem;
  color: #4b5563;
  max-width: 680px;
  line-height: 1.6;
}

.contact-body-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  padding: 3.5rem 6vw 6rem 6vw;
  box-sizing: border-box;
}

.form-studio-select-wrap {
  margin-bottom: 2rem;
}

.studio-selector-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.radio-pill-card {
  flex: 1;
  min-width: 200px;
  border: 1.5px solid var(--border-light);
  padding: 1.5rem;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.25s ease;
  position: relative;
  box-sizing: border-box;
}

.radio-pill-card input[type="radio"] {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.radio-pill-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.title-echen {
  color: #000000;
  font-family: var(--ec-font-mono, monospace);
  text-transform: uppercase;
}

.title-ts {
  color: var(--ts-coral);
  font-family: var(--ts-font-sans, sans-serif);
}

.title-both {
  color: #d97706;
}

.radio-pill-desc {
  font-size: 0.84rem;
  line-height: 1.4;
  color: #64748b;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-input-group {
  margin-bottom: 1.5rem;
}

.form-input-group .form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  border-radius: 4px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.contact-submit-btn {
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  display: block;
  padding: 0;
  overflow: hidden;
}

.contact-coord-box {
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.contact-box-echen {
  background: #ffffff;
  border: 1.5px solid #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.contact-box-ts {
  background: #fffcf9;
  border: 1.5px solid #fed7aa;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(255, 96, 62, 0.08);
}

.contact-logo {
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.contact-logo-echen {
  height: 38px;
}

.contact-logo-ts {
  height: 46px;
}

.coord-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.eyebrow-echen {
  font-family: var(--ec-font-mono, monospace);
  color: #000000;
}

.eyebrow-ts {
  font-family: var(--ts-font-sans, sans-serif);
  color: var(--ts-coral);
  font-size: 0.85rem;
}

.coord-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.coord-title.title-ts {
  font-family: var(--ts-font-serif, serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #18181b;
}

.coord-text {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.coord-text a {
  text-decoration: none;
}

.coord-footer {
  font-size: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.footer-echen {
  font-family: var(--ec-font-mono, monospace);
  color: #64748b;
}

.footer-ts {
  font-family: var(--ts-font-sans, sans-serif);
  color: #78716c;
  border-top: 1px solid #fed7aa;
}

/* Contact Page Mobile Rules */
@media (max-width: 860px) {
  .contact-page-header {
    padding: calc(64px + 1.5rem) 1.25rem 2rem 1.25rem !important;
  }
  .contact-page-title {
    font-size: clamp(2rem, 7vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }
  .contact-page-lead {
    font-size: 0.98rem !important;
  }
  .contact-body-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    padding: 2rem 1.25rem 4rem 1.25rem !important;
    grid-template-columns: 1fr !important;
  }
  .contact-form-row {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .studio-selector-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-bottom: 1.75rem !important;
  }
  .radio-pill-card {
    min-width: 0 !important;
    width: 100% !important;
    padding: 1.15rem 1rem !important;
  }
  .contact-submit-btn .split-btn-left,
  .contact-submit-btn .split-btn-right {
    padding: 14px 10px !important;
    font-size: 0.86rem !important;
  }
  .contact-coord-box {
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* --------------------------------------------------------------------------
   C. ABOUT THE STUDIOS PAGE (/about)
   -------------------------------------------------------------------------- */
.tab-label-mobile {
  display: none;
}

.about-stats-grid,
.about-stats-cad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  body.page-template-page-about {
    padding-top: 64px !important;
  }
  body.page-template-page-about.admin-bar {
    padding-top: calc(64px + 46px) !important;
  }
  .tab-label-desktop {
    display: none !important;
  }
  .tab-label-mobile {
    display: inline !important;
  }
  .about-studio-tabs-bar {
    top: 64px !important;
    display: flex !important;
    width: 100% !important;
    z-index: 100 !important;
  }
  body.admin-bar .about-studio-tabs-bar {
    top: calc(64px + 46px) !important;
  }
  .about-tab-btn {
    padding: 0.85rem 0.5rem !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    gap: 0.45rem !important;
    min-height: 48px !important;
  }
  .about-single-studio-layout {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .about-narrative-col {
    padding: 2.25rem 1.25rem !important;
    border-right: none !important;
  }
  .about-narrative-col .page-title {
    font-size: clamp(2rem, 6.5vw, 2.6rem) !important;
    line-height: 1.15 !important;
  }
  .about-stats-grid,
  .about-stats-cad-grid {
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .about-stats-grid > div,
  .about-stats-cad-grid > div {
    padding: 1rem !important;
  }
  .about-accreditations-box {
    padding: 1.25rem 1rem !important;
    font-size: 0.82rem !important;
    margin-top: 1.5rem !important;
    line-height: 1.6 !important;
  }
  .about-narrative-col a[href*="contact"] {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 1rem 1.25rem !important;
    display: flex !important;
  }
  .about-projects-grid-col {
    padding: 2.5rem 1.25rem !important;
    border-left: none !important;
  }
  .about-grid-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
  }
  .about-projects-catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .about-card-media {
    height: 190px !important;
  }
  .about-bottom-callout {
    padding: 2.75rem 1.25rem !important;
  }
  .about-bottom-callout a {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

/* --------------------------------------------------------------------------
   D. SINGLE PROJECT CASE STUDY (/projects/{slug})
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .case-hero {
    height: 48vh !important;
    min-height: 320px !important;
    margin-top: 64px !important;
  }
  .case-hero-badge {
    bottom: 0.85rem !important;
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
    max-width: calc(100% - 1.5rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .case-hero-badge.badge-left {
    left: 0.75rem !important;
  }
  .case-hero-badge.badge-right {
    right: 0.75rem !important;
  }
  .case-main-content {
    padding: 2.25rem 1.25rem !important;
  }
  .case-data-ribbon {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    padding: 1.25rem 1rem !important;
    margin-bottom: 2.25rem !important;
  }
  .perspective-switcher {
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-bottom: 2.25rem !important;
  }
  .perspective-btn {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 0.85rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .perspective-pane-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    margin-bottom: 2.25rem !important;
  }
  .case-nav-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
    text-align: center !important;
    margin-top: 2.5rem !important;
    padding: 1.75rem 0 !important;
  }
  .case-nav-bar a {
    text-align: center !important;
  }
  .case-inquiry-box {
    padding: 2.5rem 1.25rem !important;
    margin-top: 1.5rem !important;
  }
  .case-inquiry-box .btn-split-studios {
    display: block !important;
    width: 100% !important;
  }
  .case-inquiry-box .split-btn-left,
  .case-inquiry-box .split-btn-right {
    padding: 12px 8px !important;
    font-size: 0.85rem !important;
  }
}

/* --------------------------------------------------------------------------
   E. STUDIO JOURNAL & FIELD NOTES (/journal)
   -------------------------------------------------------------------------- */
.journal-page-header {
  padding: calc(var(--header-height, 72px) + 3rem) 6vw 3rem 6vw;
  border-bottom: 1px solid var(--border-light);
  background: #fafaf9;
}

.journal-filter-bar {
  display: flex;
  gap: 0.75rem;
  padding: 2.5rem 6vw 0 6vw;
  flex-wrap: wrap;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  padding: 3rem 6vw 6rem 6vw;
}

.journal-article-card {
  padding: 2.5rem;
}

@media (max-width: 860px) {
  .journal-page-header {
    padding: calc(64px + 1.5rem) 1.25rem 2rem 1.25rem !important;
  }
  .journal-page-header .page-title {
    font-size: clamp(2rem, 7vw, 2.5rem) !important;
  }
  .journal-page-header .page-lead {
    font-size: 0.98rem !important;
  }
  .journal-filter-bar {
    padding: 1.5rem 1.25rem 0 1.25rem !important;
    gap: 0.5rem !important;
  }
  .journal-filter-bar .filter-btn {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
  .journal-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.5rem 1.25rem 4rem 1.25rem !important;
  }
  .journal-article-card {
    padding: 1.5rem 1.25rem !important;
  }
  .journal-article-card .article-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
}

/* ==========================================================================
   HERO SECTION MODERN SLIDER: CINEMATIC ZERO-OVERLAY WIDENED VIEW (V2.8.6)
   - Replaces background video with first slide imagery (ONE Tower & Auditorium OGTI)
   - Completely removes ALL color & scrim overlays when a side widens for pure cinematic imagery
   - Displays compact, sleek bottom-left architectural caption (small title + details + CTA)
   - Places modern luxury slider arrows on the sides and counter pill at bottom-right
   Author: sykologicist (https://clicks.com.pk)
   Version: 2.8.6
   ========================================================================== */

/* 1. First Slide Background Media & Ambient Brand Color Overlay */
.hero-bg-media-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-slide0-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transform: scale(1.01);
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.panel-echen .hero-bg-slide0-img {
  filter: grayscale(12%) contrast(1.04);
}

.panel-thirdspace .hero-bg-slide0-img {
  filter: saturate(1.06) brightness(0.98);
}

.hero-panel.is-expanded .hero-bg-slide0-img,
.hero-panel.is-expanded .hero-full-slide.is-active .hero-full-slide-bg {
  filter: none !important;
  transform: scale(1.04);
}

/* Ambient Color Overlay (Neutral 50/50 state only; drops to 0 when expanded) */
.hero-color-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
}

/* Neutral state: Distinctive studio brand wash over the background imagery */
.overlay-echen {
  background: linear-gradient(135deg, rgba(238, 242, 245, 0.88) 0%, rgba(227, 231, 232, 0.82) 50%, rgba(215, 222, 226, 0.76) 100%);
  opacity: 1;
}

.overlay-ts {
  background: linear-gradient(135deg, rgba(196, 207, 180, 0.88) 0%, rgba(195, 203, 166, 0.82) 50%, rgba(184, 193, 153, 0.76) 100%);
  opacity: 1;
}

/* Expanded Desktop State: ZERO overlays over the photograph — pure cinematic framing */
@media (min-width: 861px) {
  .hero-panel.is-expanded .hero-color-overlay,
  .hero-panel.panel-echen.is-expanded .overlay-echen,
  .hero-panel.panel-thirdspace.is-expanded .overlay-ts {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .hero-panel.is-expanded .slide-scrim-overlay,
  .hero-panel.panel-echen.is-expanded .slide-scrim-overlay,
  .hero-panel.panel-thirdspace.is-expanded .slide-scrim-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    background: none !important;
  }

  .hero-panel.is-expanded .cad-grid-layer,
  .hero-panel.is-expanded .organic-flow-layer {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  /* Collapsed opposite side keeps dense subtle brand wash */
  .panel-echen.is-collapsed .overlay-echen {
    opacity: 0.94 !important;
  }
  .panel-thirdspace.is-collapsed .overlay-ts {
    opacity: 0.94 !important;
  }

  /* Hide Slide 0 center logo & SVG wireframe on expand for unobstructed photo */
  .hero-panel.is-expanded .hero-logo-box-echen,
  .hero-panel.is-expanded .hero-logo-box-ts,
  .hero-panel.is-expanded .hero-artwork {
    display: none !important;
  }

  /* Transform Slide 0 & Project Slides (1-8) into pure zero-overlay bottom-left editorial typography */
  .hero-panel.is-expanded .panel-echen-inner,
  .hero-panel.is-expanded .panel-ts-inner,
  .hero-panel.is-expanded .hero-full-slide .slide-project-inner,
  .hero-panel.is-expanded .slide-project-inner {
    position: absolute !important;
    top: auto !important;
    bottom: 2.25rem !important;
    left: 2.25rem !important;
    right: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 560px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    z-index: 25 !important;
    overflow: visible !important;
  }

  .hero-panel.is-expanded .hero-content-echen,
  .hero-panel.is-expanded .hero-content-ts {
    max-width: 100% !important;
    width: auto !important;
    align-items: flex-start !important;
  }

  /* Compact Cinematic Small Titles & Details With Crisp Shadow (No Box Overlay) */
  .hero-panel.is-expanded .slide-badge-meta {
    font-size: 0.66rem !important;
    letter-spacing: 0.14em !important;
    margin: 0 0 0.3rem 0 !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
  }

  .hero-panel.is-expanded .hero-brand-title,
  .hero-panel.is-expanded .slide-big-title {
    font-size: clamp(1.35rem, 1.85vw, 1.85rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    margin: 0 0 0.25rem 0 !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
  }

  .hero-panel.panel-thirdspace.is-expanded .hero-brand-title,
  .hero-panel.panel-thirdspace.is-expanded .slide-big-title {
    font-size: clamp(1.5rem, 2.05vw, 2.05rem) !important;
    font-weight: 500 !important;
  }

  .hero-panel.is-expanded .hero-discipline-tag,
  .hero-panel.is-expanded .slide-typology-tag {
    font-size: 0.74rem !important;
    letter-spacing: 0.08em !important;
    margin: 0 0 0.85rem 0 !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
  }

  .hero-panel.panel-echen.is-expanded .hero-discipline-tag,
  .hero-panel.panel-echen.is-expanded .slide-typology-tag {
    color: #e2e8f0 !important;
  }

  .hero-panel.panel-thirdspace.is-expanded .hero-discipline-tag,
  .hero-panel.panel-thirdspace.is-expanded .slide-typology-tag {
    color: #f1f5ec !important;
  }

  .hero-panel.is-expanded .hero-btn-row,
  .hero-panel.is-expanded .slide-cta-row {
    height: auto !important;
    margin: 0 !important;
    gap: 0.6rem !important;
    flex-wrap: nowrap !important;
  }

  .hero-panel.is-expanded .btn-pdf-blue,
  .hero-panel.is-expanded .btn-pdf-dark,
  .hero-panel.is-expanded .btn-slide-primary,
  .hero-panel.is-expanded .btn-slide-outline {
    height: 32px !important;
    padding: 0 0.95rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.07em !important;
    white-space: nowrap !important;
  }

  .hero-panel.is-expanded .btn-slide-outline {
    background: rgba(8, 10, 14, 0.48) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
  }

  .hero-panel.panel-thirdspace.is-expanded .btn-pdf-dark {
    background: #c3cba6 !important;
    color: #19241b !important;
    border-radius: 30px !important;
    border: 1px solid #c3cba6 !important;
  }

  .hero-panel.panel-thirdspace.is-expanded .btn-pdf-dark:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
  }
}

/* 2. Modern Side Navigation Arrows (Docked at Sides of Expanded Section) */
.hero-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  outline: none;
}

.hero-side-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.1;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

/* Echen Architectural Side Arrows */
.arrow-echen-prev,
.arrow-echen-next {
  background: rgba(8, 10, 14, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 2px;
}

.arrow-echen-prev {
  left: 1.75rem;
}

.arrow-echen-next {
  right: 2rem;
}

.arrow-echen-prev:hover,
.arrow-echen-next:hover {
  background: #3a4bd5;
  border-color: #3a4bd5;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(58, 75, 213, 0.45);
}

.arrow-echen-prev:hover svg {
  transform: translateX(-2px);
}

.arrow-echen-next:hover svg {
  transform: translateX(2px);
}

/* Thirdspace Atelier Side Arrows */
.arrow-ts-prev,
.arrow-ts-next {
  background: rgba(20, 29, 22, 0.58);
  border: 1px solid rgba(195, 203, 166, 0.32);
  color: #c3cba6;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 50%;
}

.arrow-ts-prev {
  left: 2rem;
}

.arrow-ts-next {
  right: 1.75rem;
}

.arrow-ts-prev:hover,
.arrow-ts-next:hover {
  background: #c3cba6;
  border-color: #c3cba6;
  color: #19241b;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(195, 203, 166, 0.45);
}

.arrow-ts-prev:hover svg {
  transform: translateX(-2px);
}

.arrow-ts-next:hover svg {
  transform: translateX(2px);
}

/* Active State: Reveal side arrows only when section is widened on Desktop */
@media (min-width: 861px) {
  .hero-panel.panel-echen.is-expanded .arrow-echen-prev,
  .hero-panel.panel-echen.is-expanded .arrow-echen-next {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hero-panel.panel-thirdspace.is-expanded .arrow-ts-prev,
  .hero-panel.panel-thirdspace.is-expanded .arrow-ts-next {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* 3. Sleek Floating Slide Counter Pill (Docked Bottom-Right Opposite Caption Placard) */
.hero-slide-counter-pill {
  position: absolute;
  bottom: 2.25rem;
  right: 2.25rem;
  left: auto;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(8, 10, 14, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 0.9rem;
  font-family: var(--ec-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.counter-pill-echen {
  border-radius: 2px;
}

.counter-pill-ts {
  border-radius: 30px;
  background: rgba(20, 29, 22, 0.6);
  border-color: rgba(195, 203, 166, 0.24);
  color: #c3cba6;
}

@media (min-width: 861px) {
  .hero-panel.panel-echen.is-expanded .counter-pill-echen,
  .hero-panel.panel-thirdspace.is-expanded .counter-pill-ts {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* 4. Mobile Responsiveness: Swipeable Slides With Exact Design Parity */
@media (max-width: 860px) {
  .hero-panel.panel-echen,
  .hero-panel.panel-thirdspace {
    touch-action: pan-y !important;
  }

  .hero-bg-media-wrap,
  .hero-bg-slide0-img,
  .hero-full-slide-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    display: block !important;
  }

  .hero-color-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .overlay-echen {
    opacity: 0.78 !important;
  }

  .overlay-ts {
    opacity: 0.78 !important;
  }

  /* Project Slides on Mobile: Zero Overlay, Crisp Photography & Compact Cinematic Details */
  .hero-panel.is-mobile-project-slide .hero-color-overlay,
  .hero-panel.is-mobile-project-slide .slide-scrim-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    background: none !important;
    display: none !important;
  }

  .hero-panel.is-mobile-project-slide .hero-full-slide .slide-project-inner,
  .hero-panel.is-mobile-project-slide .slide-project-inner {
    position: absolute !important;
    top: auto !important;
    bottom: 0.9rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    background: transparent !important;
    z-index: 25 !important;
  }

  .hero-panel.is-mobile-project-slide .slide-badge-meta {
    font-size: 0.56rem !important;
    letter-spacing: 0.11em !important;
    margin: 0 0 0.2rem 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92), 0 1px 4px rgba(0, 0, 0, 1) !important;
  }

  .hero-panel.is-mobile-project-slide .slide-big-title {
    font-size: clamp(1.15rem, 4.6vw, 1.38rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    margin: 0 0 0.18rem 0 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 1px 5px rgba(0, 0, 0, 1) !important;
  }

  .hero-panel.is-mobile-project-slide .slide-typology-tag {
    font-size: 0.64rem !important;
    letter-spacing: 0.05em !important;
    margin: 0 0 0.55rem 0 !important;
    color: #f8fafc !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 1) !important;
  }

  .hero-panel.is-mobile-project-slide .slide-cta-row {
    height: auto !important;
    margin: 0 !important;
    padding: 0 4.8rem 0 0 !important;
    gap: 0.45rem !important;
  }

  .hero-panel.is-mobile-project-slide .btn-slide-primary {
    height: 28px !important;
    padding: 0 0.8rem !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.06em !important;
  }

  .hero-panel.is-mobile-project-slide .btn-slide-outline {
    display: none !important;
  }

  /* Mobile Side Arrows: Clean Right Cue on Slide 0, Both Side Arrows on Project Slides */
  .hero-side-arrow {
    width: 34px !important;
    height: 34px !important;
    z-index: 60 !important;
    transition: opacity 0.28s ease, transform 0.25s ease !important;
  }

  .hero-side-arrow svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Position top panel arrows below 64px header; position bottom panel arrows in clear middle zone */
  .arrow-echen-prev,
  .arrow-echen-next {
    top: calc(50% + 22px) !important;
  }

  .arrow-ts-prev,
  .arrow-ts-next {
    top: 44% !important;
  }

  .arrow-echen-prev,
  .arrow-ts-prev {
    left: 0.65rem !important;
  }

  .arrow-echen-next,
  .arrow-ts-next {
    right: 0.65rem !important;
  }

  /* On Slide 0: keep left edge clean over intro text, show subtle next arrow on right edge */
  .hero-panel:not(.is-mobile-project-slide) .arrow-next {
    opacity: 0.72 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hero-panel:not(.is-mobile-project-slide) .arrow-prev {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* On Project Slides (1..8): show both side arrows clearly */
  .hero-panel.is-mobile-project-slide .hero-side-arrow {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Counter Pill: Hidden on Slide 0 to avoid touching bottom telemetry tag; shown cleanly on Project Slides */
  .hero-panel:not(.is-mobile-project-slide) .hero-slide-counter-pill {
    display: none !important;
  }

  .hero-panel.is-mobile-project-slide .hero-slide-counter-pill {
    display: inline-flex !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transform: none !important;
    bottom: 0.9rem !important;
    right: 0.85rem !important;
    left: auto !important;
    padding: 0.3rem 0.65rem !important;
    font-size: 0.66rem !important;
  }
}
