/* -------------------------------------------------------------
 * SYEDA ART PORTFOLIO — STYLE SHEET (AWWWARDS EDITION)
 * ------------------------------------------------------------- */

@font-face {
  font-family: 'Migha';
  src: url('assets/Migha_Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Mathematical Constant (Phi) */
  --phi: 1.61803398875;

  /* Color Palette - Premium Editorial Light Gallery Aesthetics */
  --bg-dark: #ffffff;          /* Plain white background */
  --bg-light-dark: #ffffff;    /* Plain white elements */
  --text-white: #0f1012;       /* Dense charcoal ink text */
  --text-muted: #646a73;       /* Muted technical metadata */
  --text-dark: #e5e5e5;        /* Neutral frame borders and divider lines */
  
  --accent-pink: hsl(340, 85%, 52%);
  --accent-yellow: hsl(38, 95%, 48%);   /* Rich saffron yellow */
  --accent-teal: hsl(175, 90%, 35%);
  --accent-red: hsl(355, 80%, 46%);
  --accent-purple: hsl(270, 75%, 45%);
  
  /* Fibonacci Spacing Scale */
  --space-xs: 8px;
  --space-s: 13px;
  --space-m: 21px;
  --space-l: 34px;
  --space-xl: 55px;
  --space-xxl: 89px;
  --space-xxxl: 144px;

  /* Golden Typographic Scale (Base 16px) */
  --font-base: 16px;
  --font-s: 11px;
  --font-m: calc(var(--font-base) * var(--phi));      /* ~26px */
  --font-l: calc(var(--font-m) * var(--phi));         /* ~42px */
  --font-xl: calc(var(--font-l) * var(--phi));        /* ~68px */
  --font-xxl: calc(var(--font-xl) * var(--phi));      /* ~110px */
  
  /* Layout Divisions */
  --col-wide: 61.8%;
  --col-narrow: 38.2%;
  
  /* Borders & Glassmorphism */
  --border-glass: 1px solid rgba(0, 0, 0, 0.07);
  --border-neon: 1px solid rgba(0, 0, 0, 0.15);
  --bg-glass: rgba(248, 247, 242, 0.85);
  --glow-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 1. Global Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Disable background overlays and motion for a clean, plain white background */
.liquid-bg-container,
.grain-overlay,
#spiral-canvas,
body::before {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Urbanist', sans-serif;
  font-size: var(--font-base);
  line-height: 1.618;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
}

@media (min-width: 1025px) {
  body {
    zoom: 0.8;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #c3bdae;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* 2. Tangible Textures & Custom Cursor */

/* Tangible Paper Fiber Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  /* Draw subtle vertical alignment lines at Golden Ratio coordinates (38.2% and 61.8% viewport width) */
  background-image: 
    linear-gradient(to right, transparent calc(38.2vw - 1px), rgba(15, 16, 18, 0.02) 38.2vw, transparent calc(38.2vw + 1px)),
    linear-gradient(to right, transparent calc(61.8vw - 1px), rgba(15, 16, 18, 0.02) 61.8vw, transparent calc(61.8vw + 1px));
  pointer-events: none;
  z-index: 9998;
}

/* Animating Cinematic Grain Overlay */
.grain-overlay {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  background: transparent url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.08"/%3E%3C/svg%3E') repeat;
  z-index: 9999;
  pointer-events: none;
  animation: grain-animation 8s steps(10) infinite;
}

@keyframes grain-animation {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -1%); }
  20% { transform: translate(-2%, 1%); }
  30% { transform: translate(1%, -2%); }
  40% { transform: translate(-1%, 3%); }
  50% { transform: translate(-2%, 1%); }
  60% { transform: translate(3%, -1%); }
  70% { transform: translate(2%, 1%); }
  85% { transform: translate(-1%, 2%); }
  90% { transform: translate(1%, -3%); }
}

/* Custom Morphing Fluid Cursor */
.custom-cursor {
  width: 44px;
  height: 44px;
  border: 1px solid var(--text-white);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-pink);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s;
}

.custom-cursor.hovered {
  width: 68px;
  height: 68px;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: transparent;
}

/* Fibonacci Spiral Background Canvas */
#spiral-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
}

/* Background Fluid Paint Blobs Container (Subtractive mixing for Light mode) */
.liquid-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  filter: url('#fluid-goo-filter');
  opacity: 0.16;
  pointer-events: none;
}

.fluid-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  will-change: transform, left, top;
}

.blob-1 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(248,247,242,0) 70%);
  left: -5%;
  top: 5%;
  animation: drift-1 25s infinite alternate ease-in-out;
}

.blob-2 {
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, var(--accent-teal) 0%, rgba(248,247,242,0) 70%);
  right: -5%;
  bottom: 5%;
  animation: drift-2 35s infinite alternate ease-in-out;
}

.blob-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent-yellow) 0%, rgba(248,247,242,0) 70%);
  left: 25%;
  top: 35%;
  animation: drift-3 30s infinite alternate ease-in-out;
}

@keyframes drift-1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(10%, -5%) scale(1.1) rotate(180deg); }
  100% { transform: translate(-5%, 10%) scale(0.9) rotate(360deg); }
}

@keyframes drift-2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-15%, 10%) scale(0.95) rotate(-180deg); }
  100% { transform: translate(5%, -10%) scale(1.05) rotate(-360deg); }
}

@keyframes drift-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 15%) scale(1.1); }
  100% { transform: translate(-12%, -8%) scale(0.9); }
}

/* Hidden elements helper */
.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* 3. Common Components & Typography */
.font-serif {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 400;
  font-style: normal;
}

.section-tag {
  font-size: var(--font-s);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-m);
  display: inline-block;
  position: relative;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 1px;
  background-color: var(--accent-pink);
}

/* Devanagari Identity Stamp */
.devanagari-stamp {
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-pink);
  margin-top: 4px;
  opacity: 0.9;
}

.vertical-devanagari {
  position: absolute;
  right: var(--space-l);
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800;
  color: rgba(18, 19, 21, 0.018);
  letter-spacing: 0.15em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

/* Sticky Header (Hidden initially, visible on scroll) */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  
  /* Hidden by default */
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.main-header.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.header-inner {
  max-width: 100%;
  padding: var(--space-s) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: var(--text-white);
  font-family: 'Migha', sans-serif;
  font-size: var(--font-m);
  font-weight: 800;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-meta {
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  text-decoration: none;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  padding: 4px 0;
  position: relative;
}

.nav-link span {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #333333;
  margin-right: 4px;
  font-style: normal;
  font-weight: 700;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #000000;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-pink);
}

.nav-link:hover::after {
  width: 100%;
  background-color: var(--accent-pink);
}

.phi-indicator {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.6);
  padding: 4px var(--space-s);
  border-radius: 20px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-m);
  padding: var(--space-m) var(--space-l);
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: var(--text-white);
}

.btn-primary {
  background-color: var(--text-white);
  color: var(--bg-dark);
  border-color: var(--text-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
}

.btn-arrow svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .btn-arrow svg {
  transform: translate(2px, -2px);
}

/* Wrapper */
.smooth-scroll-wrapper {
  position: relative;
  width: 100%;
  z-index: 10;
}

/* 3b. Cinematic Video Opener Section (Carrara Studio Style) */
.video-opener-section {
  position: relative;
  width: 100%;
  height: 125vh; /* Counteract the 0.8 body zoom on desktop */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  background-color: #0c0d10;
}

@media (max-width: 1024px) {
  .video-opener-section {
    height: 100vh; /* No zoom applied on mobile/tablet */
  }
}

.video-background-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.9);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(12, 13, 16, 0.25) 0%, rgba(12, 13, 16, 0.6) 100%);
  z-index: 2;
}

.opener-branding-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl);
  color: #ffffff;
}

.opener-left-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.7;
}

.opener-title-block {
  text-align: center;
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
}

.opener-main-title {
  font-family: 'Migha', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: var(--space-s);
  animation: fadeTitleIn 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.opener-logo-img {
  height: clamp(80px, 12vw, 150px);
  width: auto;
  object-fit: contain;
  filter: invert(1);
  animation: fadeTitleIn 2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: var(--space-l);
}

.opener-subtitle {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 500;
  letter-spacing: 0.35em;
  opacity: 0.65;
  text-transform: uppercase;
}

.opener-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-s);
  margin-top: auto;
}

.scroll-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  opacity: 0.6;
}

.scroll-arrow {
  animation: bounceArrow 2s infinite ease-in-out;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes fadeTitleIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 0.08em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.18em;
  }
}

/* 4. Hero Section (Redesigned Editorial & Morphing Fluid Frame) */
.hero-section {
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-xxxl) var(--space-xl) var(--space-xxl) var(--space-xl);
  overflow: hidden;
}

/* Background watermark wrap */
.hero-bg-text-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.hero-giant-devanagari {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(8rem, 20vw, 24rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 16, 18, 0.04);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 14.6% 47.2% 38.2%; /* Golden ratio splits: 14.6% (Phi^-4), 47.2%, 38.2% (Phi^-2) */
  width: 100%;
  gap: var(--space-xl);
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Left Side: Catalog Metadata Ledger */
.hero-meta-ledger {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--text-dark);
  padding-left: var(--space-m);
  gap: var(--space-l);
  align-self: center;
}

.ledger-tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ledger-tag .lbl {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.ledger-tag .val {
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.05em;
}

/* Center Focus: Morphing Liquid Artwork Frame */
.hero-artwork-center {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px; /* Enable 3D tilt tracking */
}

/* Container inside center that gets the mouse tilt */
#hero-tilt-frame {
  position: relative;
  width: 105%; /* Expanded to match the user's size reference */
  max-width: 72vh; /* Clamped to 72% of viewport height to fill vertical space beautifully */
  aspect-ratio: 1; /* Fibonacci 1:1 ratio square frame */
  transform-style: preserve-3d;
  will-change: transform;
}

.morphing-liquid-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  box-shadow: var(--glow-shadow);
  /* Organic morphing path */
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBlob 16s ease-in-out infinite alternate;
  will-change: border-radius;
  transform: translateZ(20px); /* Lift element up in 3D space */
}

.hero-liquid-img {
  width: 110%;
  height: 110%;
  position: absolute;
  top: -5%;
  left: -5%;
  object-fit: cover;
  transition: transform 0.1s ease-out; /* Smooth responsive track */
}

.frame-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 3;
}

/* Tech Crosshairs around the frame */
.corner-cross {
  position: absolute;
  font-size: 14px;
  font-weight: 300;
  color: rgba(15, 16, 18, 0.2);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 4;
}

.cross-tl { top: -15px; left: -15px; }
.cross-tr { top: -15px; right: -15px; }
.cross-bl { bottom: -15px; left: -15px; }
.cross-br { bottom: -15px; right: -15px; }

/* Right Side: Overlapping Editorial Content */
.hero-editorial-content {
  display: flex;
  flex-direction: column;
  padding-left: var(--space-l);
  z-index: 3;
}

.hero-title-layered {
  display: flex;
  flex-direction: column;
  line-height: 0.98;
  margin-bottom: var(--space-l);
  color: var(--text-white);
  text-transform: uppercase;
}

.hero-title-layered .line-1 {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-title-layered .line-2 {
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  letter-spacing: -0.01em;
  margin-left: var(--space-m);
  color: var(--accent-pink);
}

.hero-title-layered .line-3 {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  opacity: 0.9;
}

.hero-description-editorial {
  font-size: 15px;
  line-height: 1.618;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: var(--space-xl);
}

.hero-cta-editorial {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.hero-scroll-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-m);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-white);
  border-radius: 50%;
  animation: pulse-scroll 2s infinite ease-in-out;
}

.scroll-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 500;
}

/* Animations for Morphing & Bouncing */
@keyframes morphBlob {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 53% 47% 43% 57% / 51% 39% 61% 49%;
  }
  50% {
    border-radius: 45% 55% 50% 50% / 40% 60% 40% 60%;
  }
  75% {
    border-radius: 57% 43% 38% 62% / 55% 45% 55% 45%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

@keyframes pulse-scroll {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(4px) scale(1.1);
    opacity: 1;
  }
}

/* 5. Collage Gallery Section (6x6 Fibonacci Mosaic Grid) */
.gallery-section {
  padding: var(--space-xxxl) var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: var(--space-l);
}

.gallery-title {
  font-size: var(--font-xl);
  line-height: 1.1;
  margin-top: var(--space-xs);
}

.gallery-filters {
  display: flex;
  gap: var(--space-m);
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  padding: var(--space-s) var(--space-m);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  color: var(--text-white);
  border-color: var(--text-white);
  background-color: rgba(0, 0, 0, 0.02);
}

.fibonacci-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-area-a { grid-column: span 1; }
.grid-area-b { grid-column: span 2; }
.grid-area-c { grid-column: span 1; }
.grid-area-d { grid-column: span 1; }
.grid-area-e { grid-column: span 1; }
.grid-area-f { grid-column: span 1; }
.grid-area-g { grid-column: span 2; }
.grid-area-h { grid-column: span 1; }
.grid-area-i { grid-column: span 1; }
.gallery-card {
  position: relative;
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.gallery-card.hidden {
  opacity: 0.05;
  pointer-events: none;
  filter: blur(10px) grayscale(100%);
  transform: scale(0.95);
}

.card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
}

.grid-area-a .card-image-wrapper { aspect-ratio: 0.75; } /* Raw Earth: portrait (24x36) */
.grid-area-b .card-image-wrapper { aspect-ratio: 1.6; }  /* Scarlet Flux: wide triptych */
.grid-area-c .card-image-wrapper { aspect-ratio: 1.25; } /* Madness: landscape (20x16) */
.grid-area-d .card-image-wrapper { aspect-ratio: 1.25; } /* Panda: landscape (24x16) */
.grid-area-e .card-image-wrapper { aspect-ratio: 1.0; }  /* Waves: square (24x24) */
.grid-area-f .card-image-wrapper { aspect-ratio: 1.25; } /* Dark Currents: landscape (24x18) */
.grid-area-g .card-image-wrapper { aspect-ratio: 2.0; }  /* Roots: wide landscape (24x12) */
.grid-area-h .card-image-wrapper { aspect-ratio: 0.8; }  /* Milii: portrait (24x30) */
.grid-area-i .card-image-wrapper { aspect-ratio: 0.75; } /* Crimson Reverie: portrait (24x36) */

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(100%);
  transition: var(--transition-smooth);
}

/* Room Mockup Image Styling and Crossfade Hover Effect */
.mockup-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: cover;
  z-index: 2;
}

.gallery-card:hover .mockup-img {
  opacity: 1;
  transform: scale(1.02);
}

.primary-img {
  position: relative;
  z-index: 1;
  transition: opacity 0.6s ease-in-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .primary-img {
  opacity: 0.15;
  transform: scale(0.98);
}

.card-info {
  padding: var(--space-m);
  background-color: var(--bg-light-dark);
  border-top: var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: var(--transition-fast);
}

.card-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-meta-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.card-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-info-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.card-specs {
  font-size: 10px;
  color: var(--text-muted);
}

.card-action {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-white);
  border-bottom: 1px solid var(--text-white);
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition-fast);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.02);
}

.gallery-card:hover .card-info {
  background-color: #e4e1d7;
}

.gallery-card:hover .card-action {
  opacity: 1;
  transform: translateY(0);
}

/* 6. GIMMICK: Liquid Lab Section Styling */
.lab-section {
  padding: var(--space-xxxl) var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.lab-header {
  margin-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: var(--space-l);
  max-width: 700px;
}

.lab-title {
  font-size: var(--font-xl);
  margin-bottom: var(--space-s);
}

.lab-subtitle {
  color: var(--text-muted);
  font-size: 15px;
}

.lab-workspace {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-xxl);
  align-items: stretch;
}

.lab-controls {
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  padding: var(--space-l) var(--space-m);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  box-shadow: var(--glow-shadow);
}

.control-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.control-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.palette-swatches {
  display: flex;
  gap: var(--space-s);
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.swatch.active {
  border-color: var(--text-white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.slider-group {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}

.lab-slider {
  flex-grow: 1;
  height: 2px;
  background-color: var(--text-dark);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lab-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--text-white);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lab-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-val {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  width: 45px;
  text-align: right;
}

.viscosity-stat {
  border-left: 2px solid var(--accent-pink);
  padding-left: var(--space-m);
  display: flex;
  flex-direction: column;
}

.visc-val {
  font-family: 'Courier New', Courier, monospace;
  font-size: var(--font-m);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.visc-lbl {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-reset-lab {
  width: 100%;
  margin-top: auto;
  border-color: rgba(255, 0, 0, 0.2);
  color: var(--accent-red);
}

.btn-reset-lab:hover {
  background-color: rgba(255, 0, 0, 0.05);
  border-color: var(--accent-red);
}

.lab-canvas-container {
  width: 100%;
  height: 520px;
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-shadow);
}

#lab-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  cursor: crosshair;
  /* Goo Filter makes paint particles merge dynamically */
  filter: url('#fluid-goo-filter-heavy');
}

.canvas-technical-guides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.guide-cross {
  position: absolute;
  font-size: 12px;
  color: rgba(0,0,0,0.15);
  font-weight: 400;
}

.guide-cross.+1 { top: var(--space-s); left: var(--space-s); }
.guide-cross.+2 { top: var(--space-s); right: var(--space-s); }
.guide-cross.+3 { bottom: var(--space-s); left: var(--space-s); }
.guide-cross.+4 { bottom: var(--space-s); right: var(--space-s); }

.guide-meta {
  position: absolute;
  bottom: var(--space-s);
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(0,0,0,0.3);
  font-weight: 600;
}

/* 7. SECTION: Chrono-Flow Timeline Styling */
.timeline-section {
  padding: var(--space-xxxl) var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1.618fr; /* Reverse Golden ratio */
  gap: var(--space-xxl);
  align-items: center;
}

.timeline-left {
  max-width: 480px;
}

.timeline-main-title {
  font-size: var(--font-xl);
  margin-bottom: var(--space-l);
}

.timeline-main-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: var(--space-xxl);
}

.chrono-metric-dial {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  padding: var(--space-l);
  width: 250px;
}

.dial-svg {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}

.dial-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.05);
  stroke-width: 8;
}

.dial-fill {
  fill: none;
  stroke: var(--accent-pink);
  stroke-width: 8;
  stroke-dasharray: 283; /* 2 * pi * r (approx) */
  stroke-dashoffset: 283; /* 0% */
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease-out;
}

.dial-text {
  display: flex;
  flex-direction: column;
}

.dial-val {
  font-family: 'Courier New', Courier, monospace;
  font-size: var(--font-m);
  font-weight: 800;
  line-height: 1;
}

.dial-lbl {
  font-size: 7px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 4px;
}

.timeline-right {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline-flow-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: var(--text-dark);
  z-index: 1;
}

.timeline-node {
  position: relative;
  padding-bottom: var(--space-xxl);
  padding-left: var(--space-xl);
  z-index: 2;
  cursor: pointer;
}

.timeline-node:last-child {
  padding-bottom: 0;
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  border: 1px solid var(--text-white);
  transition: var(--transition-fast);
  z-index: 3;
}

.timeline-node.active::before {
  background-color: var(--accent-pink);
  border-color: var(--accent-pink);
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.4);
}

.node-meta {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin-bottom: var(--space-s);
}

.node-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-pink);
}

.node-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-node p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
}

.node-metric {
  font-family: 'Courier New', Courier, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.1em;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3px 8px;
  display: inline-block;
  margin-top: var(--space-s);
}

/* 8. SECTION: Exhibition Ledger Styling */
.exhibition-section {
  padding: var(--space-xxxl) var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.exhibition-header {
  margin-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: var(--space-l);
}

.exhibition-title {
  font-size: var(--font-xl);
}

.exhibition-subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

.exhibition-table-wrapper {
  display: flex;
  flex-direction: column;
  border: var(--border-glass);
  background-color: var(--bg-light-dark);
  box-shadow: var(--glow-shadow);
}

.ledger-row {
  display: grid;
  grid-template-columns: 140px 1fr 180px 200px 140px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: var(--space-m) var(--space-l);
  align-items: center;
  transition: var(--transition-fast);
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-row:not(.header-row):hover {
  background-color: #e4e1d7;
}

.header-row {
  background-color: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.ledger-col {
  font-size: 13px;
  font-weight: 500;
}

.header-row .ledger-col {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.col-id {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
}

.col-gallery {
  font-size: 15px;
  font-weight: 600;
}

.status-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  display: inline-block;
  text-align: center;
}

.status-upcoming {
  background-color: rgba(255, 230, 0, 0.12);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 230, 0, 0.2);
}

.status-past {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 9. About Section (38.2% / 61.8% Split) */
.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-xxxl) var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.618fr; /* Reverse Golden ratio */
  width: 100%;
  gap: var(--space-xxl);
  align-items: center;
}

.about-text-col {
  padding-right: var(--space-l);
}

.about-content-wrapper {
  max-width: 480px;
}

.about-title {
  font-family: 'Migha', sans-serif;
  font-size: var(--font-xl);
  line-height: 1.1;
  margin-bottom: var(--space-l);
  letter-spacing: -0.02em;
}

.about-philosophy {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.philosophy-highlight {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-white);
  border-left: 2px solid var(--accent-pink);
  padding-left: var(--space-m);
  margin-bottom: var(--space-s);
  font-style: italic;
}

.about-philosophy p:not(.philosophy-highlight) {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.618;
}

.technical-stats-box {
  margin-top: var(--space-xxl);
  border: var(--border-glass);
  background-color: var(--bg-light-dark);
  padding: var(--space-l);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: var(--space-s);
}

.stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-lbl {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.stat-val {
  font-size: 12px;
  font-weight: 500;
}

.about-visual-col {
  display: flex;
  justify-content: center;
}

.about-portrait-frame {
  width: 100%;
  aspect-ratio: 0.75;
  position: relative;
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  padding: var(--space-s);
  box-shadow: var(--glow-shadow);
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(100%);
  transition: var(--transition-smooth);
}

.about-portrait-frame:hover .about-portrait-img {
  transform: scale(1.01);
}

.portrait-label-overlay {
  position: absolute;
  top: var(--space-l);
  right: var(--space-l);
  background-color: var(--bg-dark);
  border: var(--border-glass);
  padding: var(--space-m);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  z-index: 10;
}

.portrait-caption {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.barcode-graphic {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.barcode-graphic .bar {
  height: 2px;
  background-color: var(--text-white);
}

.bar-1 { width: 80px; }
.bar-2 { width: 65px; }
.bar-3 { width: 75px; }
.bar-4 { width: 40px; }
.bar-5 { width: 70px; }

.barcode-num {
  font-size: 7px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 10. Contact / Inquiry Section */
.contact-section {
  padding: var(--space-xxxl) var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  width: 100%;
  gap: var(--space-xxl);
  align-items: stretch;
}

.contact-form-col {
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  padding: var(--space-xl) var(--space-xxl);
  box-shadow: var(--glow-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-size: var(--font-l);
  margin-bottom: var(--space-xs);
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--text-white);
  padding: var(--space-s) 0;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
}

.form-textarea {
  resize: none;
}

.form-label {
  position: absolute;
  left: 0;
  top: var(--space-s);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-white);
  transition: var(--transition-fast);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -12px;
  font-size: 8px;
  color: var(--text-white);
}

.form-input:focus ~ .form-line {
  width: 100%;
}

.select-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.select-input option {
  background-color: var(--bg-light-dark);
  color: var(--text-white);
  padding: var(--space-m);
}

.select-label {
  top: var(--space-s);
}

#inquiry-piece.filled {
  color: var(--accent-pink);
  border-bottom-color: var(--accent-pink);
  font-weight: 600;
}

.btn-submit {
  align-self: flex-start;
  background-color: var(--text-white);
  color: var(--bg-dark);
  border-color: var(--text-white);
  margin-top: var(--space-s);
}

.btn-submit:hover {
  background-color: transparent;
  color: var(--text-white);
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: var(--space-l);
}

.contact-details-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
}

.details-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

.details-lbl {
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  font-weight: 600;
}

.details-val {
  font-size: 15px;
  line-height: 1.618;
  color: var(--text-white);
}

.technical-stamp {
  width: 144px;
  height: 144px;
  margin-top: var(--space-l);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp-circle {
  width: 100%;
  height: 100%;
  animation: rotate-stamp 20s infinite linear;
}

.stamp-text-svg {
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  opacity: 0.6;
}

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

/* 11. Lightbox Overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 10000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: var(--space-s);
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--accent-pink);
}

.lightbox-content {
  width: 90%;
  max-width: 1300px;
  height: 80vh;
  display: flex;
  align-items: center;
}

.lightbox-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  width: 100%;
  height: 100%;
  gap: var(--space-xxl);
  align-items: center;
}

.lightbox-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light-dark);
  border: var(--border-glass);
  padding: var(--space-m);
  overflow: hidden;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 8px 64px rgba(0,0,0,0.08);
  transition: var(--transition-smooth);
}

.lightbox-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  color: var(--text-white);
}

.lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: var(--space-s);
}

.light-serial {
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.light-status {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
  background-color: var(--text-white);
  color: var(--bg-dark);
  padding: 3px 8px;
}

.lightbox-title {
  font-size: var(--font-l);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lightbox-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.618;
}

.lightbox-tech-specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  background-color: rgba(0, 0, 0, 0.02);
  border: var(--border-glass);
  padding: var(--space-m);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 6px;
}

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

.spec-item .lbl {
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.spec-item .val {
  font-size: 11px;
  font-weight: 500;
}

.lightbox-inquiry-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-s);
}

.btn-inquire-direct {
  background-color: var(--accent-pink);
  border-color: var(--accent-pink);
  color: var(--bg-dark);
}

.btn-inquire-direct:hover {
  background-color: transparent;
  color: var(--accent-pink);
}

.lightbox-inquiry-box .barcode-graphic {
  align-items: flex-end;
}

/* 12. Minimal Modern Footer */
.main-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: var(--space-xxl) var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.footer-socials {
  display: flex;
  gap: var(--space-xl);
}

.social-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  transition: var(--transition-fast);
}

.social-link:hover {
  color: var(--text-white);
}

/* Omniyat-Style Intro Section */
.intro-branding-section {
  background-color: #ffffff;
  padding: var(--space-xxxl) var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 10;
}

.intro-container {
  max-width: 900px;
  margin: 0 auto;
}

.intro-category {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #c5a059; /* Elegant gold accent */
  margin-bottom: var(--space-m);
  display: block;
}

.intro-title {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 400; /* Light & elegant */
  letter-spacing: 0.08em;
  color: #0f1012;
  margin-bottom: var(--space-l);
  line-height: 1.25;
}

.intro-desc {
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #646a73;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

/* 13. Responsive Design System Stack */
@media (max-width: 1024px) {
  :root {
    --space-xxxl: 89px;
    --space-xxl: 55px;
    --space-xl: 34px;
    --font-xxl: 68px;
    --font-xl: 42px;
    --font-l: 26px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .hero-meta-ledger {
    order: 3;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-left: none;
    border-top: 1px solid var(--text-dark);
    padding-top: var(--space-m);
    padding-left: 0;
    gap: var(--space-m);
    margin-top: var(--space-xl);
  }
  
  .hero-artwork-center {
    order: 2;
  }
  
  #hero-tilt-frame {
    width: 70%;
    margin: 0 auto;
  }
  
  .hero-editorial-content {
    order: 1;
    padding-left: 0;
    align-items: center;
    text-align: center;
  }
  
  .hero-title-layered {
    align-items: center;
    text-align: center;
  }
  
  .hero-title-layered .line-1 {
    font-size: clamp(2.5rem, 6.5vw, 5rem);
  }
  
  .hero-title-layered .line-2 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    margin-left: 0;
  }
  
  .hero-title-layered .line-3 {
    font-size: clamp(2.5rem, 6.5vw, 5rem);
  }
  
  .hero-description-editorial {
    max-width: 500px;
    margin: 0 auto var(--space-xl) auto;
  }
  
  .hero-cta-editorial {
    justify-content: center;
  }
  
  .hero-bg-text-wrap {
    opacity: 0.2;
  }

  .fibonacci-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l);
  }

  .grid-area-a { grid-column: span 1; }
  .grid-area-b { grid-column: span 2; }
  .grid-area-c { grid-column: span 1; }
  .grid-area-d { grid-column: span 1; }
  .grid-area-e { grid-column: span 1; }
  .grid-area-f { grid-column: span 1; }
  .grid-area-g { grid-column: span 2; }
  .grid-area-h { grid-column: span 1; }
  .grid-area-i { grid-column: span 1; }
  
  .lab-workspace {
    grid-template-columns: 1fr;
  }
  
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .timeline-left {
    max-width: 600px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .about-text-col {
    padding-right: 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-details-col {
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-l);
  }
  
  .lightbox-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    overflow-y: auto;
    padding-right: 10px;
  }
  
  .lightbox-content {
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: var(--space-m) var(--space-l);
  }
  
  .main-nav {
    display: none;
  }
  
  .fibonacci-grid-container {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }
  
  .grid-area-a, .grid-area-b, .grid-area-c, .grid-area-d, .grid-area-e, .grid-area-f, .grid-area-g, .grid-area-h, .grid-area-i {
    grid-column: span 1 !important;
  }
  
  .ledger-row {
    grid-template-columns: 1fr;
    gap: var(--space-s);
    text-align: center;
  }
  
  .header-row {
    display: none;
  }
  
  .contact-form-col {
    padding: var(--space-l) var(--space-m);
  }
  
  .form-row-split {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: var(--space-m);
    text-align: center;
  }
}
