/* ============================================================
   TRINOVIQ — Active Theory 1:1 Cinematic WebGL Storytelling CSS
   Obsidian #050505 | Electric Blue #4DA3FF | Purple #8A5CFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* Colors */
  --bg:             #050505;
  --bg-surface:     #0c0c0e;
  --bg-card:        #121216;
  --text:           #FFFFFF;
  --text-secondary: #BDBDBD;
  --text-muted:     #666666;
  --accent-blue:    #4DA3FF;
  --accent-purple:  #8A5CFF;
  
  /* Gradients & Glows */
  --glow-blue:      rgba(77, 163, 255, 0.28);
  --glow-purple:    rgba(138, 92, 255, 0.28);
  --border-glass:   rgba(255, 255, 255, 0.12);
  --border-hover:   rgba(77, 163, 255, 0.5);

  /* Fonts */
  --font-display:   'Syne', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'Space Mono', 'Courier New', monospace;

  /* Layout Spacing */
  --gutter:         clamp(24px, 6vw, 100px);
  --section-v:      clamp(90px, 14vw, 180px);

  /* Easing */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.83, 0, 0.17, 1);
  --ease-elastic:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Stack */
  --z-canvas:   0;
  --z-noise:    1;
  --z-content:  10;
  --z-nav:      100;
  --z-cursor:   1000;
  --z-loader:   2000;
  --z-modal:    3000;
}

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

html {
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}

body.loading {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: none;
}

/* === THREE.JS WEBGL FULLSCREEN CANVAS === */
#webgl-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-canvas);
  pointer-events: none;
}

#noise-overlay {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  z-index: var(--z-noise);
  animation: noiseAnimation 0.2s steps(2) infinite;
}

@keyframes noiseAnimation {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 2%); }
  50% { transform: translate(2%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(1%, 1%); }
}

/* === CUSTOM CURSOR === */
#cursor, #cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#cursor {
  width: 10px;
  height: 10px;
  background: var(--text);
  box-shadow: 0 0 15px var(--accent-blue);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}

#cursor-follower {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(77, 163, 255, 0.4);
  background: rgba(138, 92, 255, 0.05);
  backdrop-filter: blur(2px);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}

body.cursor-hover #cursor {
  width: 64px;
  height: 64px;
  background: var(--accent-blue);
  mix-blend-mode: difference;
}

body.cursor-hover #cursor-follower {
  width: 80px;
  height: 80px;
  border-color: var(--accent-purple);
}

body.cursor-hidden #cursor,
body.cursor-hidden #cursor-follower {
  opacity: 0;
}

/* === SCENE 1 PRELOADER: LOGO DISSOLVE & MATERIALIZATION === */
#logo-preloader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease-in-out), visibility 1.2s;
}

#logo-preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  display: block;
  margin-bottom: 28px;
  text-shadow: 0 0 30px var(--glow-blue);
}

.brand-dot {
  color: var(--accent-blue);
  font-style: normal;
}

.preloader-progress-bar {
  width: 240px;
  height: 2px;
  background: var(--border-glass);
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 100px;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 16px var(--accent-blue);
  transition: width 0.1s linear;
}

.preloader-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === SCROLL PROGRESS === */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 10px var(--accent-blue);
  z-index: calc(var(--z-nav) + 1);
  width: 0%;
  transition: width 0.1s linear;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 24px var(--gutter);
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.4s;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding-top: 16px;
  padding-bottom: 16px;
}

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

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  transition: opacity 0.3s;
}

.brand-logo:hover {
  opacity: 0.8;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-blue);
  transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text);
  padding: 10px 24px;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text);
  box-shadow: 0 0 20px var(--glow-blue);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-in-out);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.drawer-link:hover {
  color: var(--accent-blue);
}

/* === SCENE 2: HERO & FULLSCREEN TYPOGRAPHY ENVIRONMENT === */
.scene-hero-viewport {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 120px var(--gutter) 30px;
  margin-bottom: 0;
}


.scene-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}


.hero-kicker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue);
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 9.5vw, 150px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  max-width: 1200px;
  margin-bottom: 40px;
  overflow: hidden;
}

.headline-line--media {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.headline-line--last {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}.hero-inline-img {
  display: inline-block;
  overflow: hidden;
  border-radius: 20px;
  border: 1.5px solid rgba(138, 92, 255, 0.35);
  box-shadow: 0 12px 35px rgba(77, 163, 255, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  vertical-align: middle;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.hero-inline-img:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--accent-blue);
  box-shadow: 0 16px 45px rgba(138, 92, 255, 0.4);
}

.hero-inline-img img {
  width: clamp(95px, 13.5vw, 210px);
  height: clamp(68px, 9.5vw, 135px);
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.hero-inline-img--tall img {
  height: clamp(95px, 11.5vw, 175px);
}

.hero-inline-img--wide img {
  width: clamp(105px, 14.5vw, 230px);
  height: clamp(65px, 8.5vw, 115px);
}

.hero-sub {
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 30px var(--glow-blue);
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s;
}

.btn-primary-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 45px var(--glow-purple);
}

.btn-ghost-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 16px 0;
  transition: color 0.3s, gap 0.3s;
}

.btn-ghost-glow:hover {
  color: var(--accent-blue);
  gap: 14px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  z-index: 2;
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 64px;
  background: var(--border-glass);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
  animation: scrollLineAnim 2s var(--ease-in-out) infinite;
}

@keyframes scrollLineAnim {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* === SECTION HEADERS === */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 24px;
}

.section-sub {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* === SCENE 3: ABOUT FLOATING COPY & STATS === */
.about-section {
  padding-top: 30px;
  padding-bottom: calc(var(--section-v) * 0.8);
  position: relative;
  margin-top: 0;
}



.about-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.about-card-frame {
  background: linear-gradient(145deg, rgba(18, 18, 24, 0.85), rgba(8, 8, 12, 0.95));
  border: 1px solid rgba(138, 92, 255, 0.25);
  border-radius: 36px;
  padding: clamp(36px, 6vw, 72px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.about-card-frame::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(138, 92, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-header-scene {
  margin-bottom: 48px;
}

.about-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(77, 163, 255, 0.08);
  border: 1px solid rgba(77, 163, 255, 0.25);
  border-radius: 100px;
  margin-bottom: 24px;
}

.eyebrow-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue);
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  max-width: 950px;
}

.about-gradient-text {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #B68AFF 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-header-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.about-body-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about-pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-pillar-card:hover {
  border-color: rgba(138, 92, 255, 0.4);
  background: rgba(138, 92, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(138, 92, 255, 0.15);
}

.pillar-icon-wrap {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}


.stat-card-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.stat-card-glass:hover {
  border-color: var(--accent-blue);
  background: rgba(77, 163, 255, 0.06);
  transform: translateY(-4px);
}

.stat-num-wrap {
  display: flex;
  align-items: baseline;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 0%, #BDBDBD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 800;
  color: var(--accent-blue);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}

.about-media-column {
  position: relative;
}

.about-media-mask {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(138, 92, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  aspect-ratio: 4/3;
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-media-mask:hover .about-img-main {
  transform: scale(1.05);
}

.about-media-float-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: rgba(12, 12, 16, 0.9);
  border: 1px solid rgba(77, 163, 255, 0.4);
  border-radius: 100px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.badge-status-dot {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 10px #00E676;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
});
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

/* === SCENE 4: FULLSCREEN SINGLE-PROJECT GALLERY (100VH PER PROJECT) === */
.scene-projects-wrapper {
  position: relative;
}

.projects-cinematic-gallery {
  position: relative;
}

.project-single-scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-v) var(--gutter);
  border-top: 1px solid var(--border-glass);
  overflow: hidden;
}

.project-ambient-lighting {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, var(--glow-blue) 0%, transparent 60%);
  opacity: 0.2;
  pointer-events: none;
}

.project-single-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.project-single-scene:nth-child(even) .project-single-container {
  grid-template-columns: 1fr 1.2fr;
}

.project-single-scene:nth-child(even) .project-single-visual {
  order: 2;
}

.project-visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border-glass);
  aspect-ratio: 16/10;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95);
}

.project-img-display {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.project-single-scene:hover .project-img-display {
  transform: scale(1.06);
}

.project-visual-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(5, 5, 5, 0.7) 100%);
}

.project-single-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-number-tag {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.num-current {
  color: var(--accent-blue);
}

.num-divider {
  margin: 0 4px;
}

.project-type-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.project-cinematic-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text);
}

.project-cinematic-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.project-cinematic-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.project-stat-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-purple);
}

.project-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-live-demo {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.btn-live-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55);
  color: #ffffff !important;
  opacity: 0.95;
}

.btn-project-inquire {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s;
}

.btn-project-inquire:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--bg);
}

/* === SCENE 5: SKILLS HOLOGRAPHIC CLOUD === */
.skills-section {
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border-glass);
  position: relative;
}

.skills-card-frame {
  background: linear-gradient(145deg, rgba(16, 16, 26, 0.9), rgba(8, 8, 14, 0.95));
  border: 1px solid rgba(138, 92, 255, 0.3);
  border-radius: 36px;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 48px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  opacity: 1 !important;
  visibility: visible !important;
}

.skills-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  gap: 14px;
  z-index: 2;
  position: relative;
}

.badge-glow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(138, 92, 255, 0.12);
  border: 1px solid rgba(138, 92, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(138, 92, 255, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

.skills-card-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.skills-card-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}

.skills-orbital-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

.orbital-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--glow-blue) 0%, var(--glow-purple) 50%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.55;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1050px;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

.skill-tag-node {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 26px !important;
  background: rgba(28, 28, 42, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 100px !important;
  backdrop-filter: blur(16px) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.skill-tag-node[data-color="blue"]:hover {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 35px var(--glow-blue) !important;
  transform: translateY(-6px) scale(1.05) !important;
  background: rgba(36, 36, 56, 0.95) !important;
}

.skill-tag-node[data-color="purple"]:hover {
  border-color: var(--accent-purple) !important;
  box-shadow: 0 0 35px var(--glow-purple) !important;
  transform: translateY(-6px) scale(1.05) !important;
  background: rgba(48, 34, 62, 0.95) !important;
}

.skill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

.skill-tag-node[data-color="purple"] .skill-dot {
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

.skill-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 11px;
  border-radius: 100px;
}



/* === BRANDS MARQUEE === */
.brands-section {
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border-glass);
  overflow: hidden;
}

.brands-header {
  margin-bottom: 48px;
}

.brands-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--text);
}

.marquee-track-outer {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeLoop 35s linear infinite;
}

@keyframes marqueeLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  position: relative;
  width: 260px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) grayscale(0.6);
  transition: filter 0.5s, transform 0.5s;
}

.marquee-item:hover img {
  filter: brightness(0.8) grayscale(0);
  transform: scale(1.08);
}

.marquee-item span {
  font-family: var(--font-mono);
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* === SCENE 6: PROCESS / EXPERIENCE TIMELINE === */
.process-cinematic-section {
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border-glass);
}

.process-sticky-timeline {
  position: relative;
  padding-left: 90px;
  margin-top: 60px;
}

.timeline-glowing-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-glass);
}

.timeline-line-glow-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 12px var(--accent-blue);
  transition: height 0.1s linear;
}

.process-step-node {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-glass);
  align-items: start;
}

.step-node-indicator {
  position: absolute;
  left: -74px;
  top: 48px;
}

.step-node-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-glass);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.process-step-node.active .step-node-dot {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px var(--accent-blue);
}

.step-node-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color 0.4s;
}

.process-step-node.active .step-node-number {
  color: var(--accent-blue);
}

.step-node-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.step-node-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

/* === SERVICES FULLSCREEN STORYTELLING === */
.services-fullscreen-section {
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border-glass);
}

.services-storytelling-list {
  margin-top: 60px;
  border-top: 1px solid var(--border-glass);
}

.service-block-scene {
  border-bottom: 1px solid var(--border-glass);
  padding: 40px 0;
  position: relative;
  transition: background 0.4s;
}

.service-block-scene:hover {
  background: rgba(255, 255, 255, 0.015);
}

.service-block-top {
  display: grid;
  grid-template-columns: 80px 1fr auto 56px;
  align-items: center;
  gap: 24px;
  cursor: none;
}

.service-block-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color 0.3s;
}

.service-block-scene:hover .service-block-num,
.service-block-scene.open .service-block-num {
  color: var(--accent-blue);
}

.service-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
}

.service-block-icon {
  color: var(--text-secondary);
  transition: color 0.3s, transform 0.3s;
}

.service-block-scene:hover .service-block-icon {
  color: var(--accent-blue);
  transform: scale(1.15);
}

.service-block-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.2rem;
  transition: all 0.4s var(--ease-out);
}

.service-block-scene.open .service-block-toggle {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--bg);
  transform: rotate(45deg);
}

.service-block-drawer {
  height: 0;
  overflow: hidden;
  transition: height 0.5s var(--ease-in-out);
}

.service-block-drawer-inner {
  padding: 32px 0 16px 104px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 48px;
  align-items: start;
}

.service-block-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-sub-services-list h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.service-sub-services-list ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-sub-services-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-bullet {
  color: var(--accent-purple);
  font-size: 0.8rem;
}

.btn-service-inquire {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  transition: all 0.3s;
}

.btn-service-inquire:hover {
  background: var(--text);
  color: var(--bg);
}

/* === INDUSTRIES GRID === */
.industries-section {
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border-glass);
}

.industries-interactive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.industry-chip-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.4s var(--ease-out);
}

.industry-chip-glass:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 0 30px var(--glow-blue);
  transform: translateY(-4px);
}

.industry-chip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(77, 163, 255, 0.1);
  border: 1px solid rgba(77, 163, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.industry-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.industry-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

/* === FINAL SCENE: LOGO REBUILD & CONTACT === */
.cta-massive-section {
  position: relative;
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border-glass);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-giant-word-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(14vw, 24vw, 32vw);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.015);
  pointer-events: none;
  z-index: 0;
}

.cta-massive-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.cta-massive-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 32px;
}

.cta-massive-text {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-massive-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary-massive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 52px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 0 40px var(--glow-blue);
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s;
}

.btn-primary-massive:hover {
  transform: scale(1.06);
  box-shadow: 0 0 60px var(--glow-purple);
}

.btn-outline-massive {
  display: inline-flex;
  align-items: center;
  padding: 20px 44px;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.btn-outline-massive:hover {
  border-color: var(--accent-blue);
  color: var(--text);
}

.cta-featured-visual {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  aspect-ratio: 16/9;
}

.cta-featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === FOOTER === */
.footer {
  padding: var(--section-v) 0 48px;
  border-top: 1px solid var(--border-glass);
}

.footer-top {
  margin-bottom: 60px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
  transition: opacity 0.3s;
}

.footer-wordmark span {
  color: var(--accent-blue);
}

.footer-wordmark:hover {
  opacity: 0.8;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

.footer-mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--accent-blue);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-contact-link {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-contact-link:hover {
  color: var(--accent-blue);
}

.footer-locations {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.social-icon:hover {
  border-color: var(--accent-blue);
  color: var(--bg);
  background: var(--text);
}

/* === MODAL STYLES === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

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

.modal-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s;
}

.modal-overlay.active::before {
  opacity: 1;
}

.modal-panel {
  position: relative;
  z-index: 10;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-glass);
  width: 100%;
  max-width: 540px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 56px 44px 90px 44px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


.modal-overlay.active .modal-panel {
  transform: translateX(0);
}

.modal-close {
  position: absolute;
  top: 28px; right: 28px;
  width: 44px; height: 44px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.modal-close:hover {
  border-color: var(--accent-blue);
  color: var(--text);
  transform: rotate(90deg);
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  display: block;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.modal-copy {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-select option {
  background-color: #12131a;
  color: #ffffff;
  padding: 10px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px var(--glow-blue);
}

.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.06) !important;
}

.field-error-msg {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #f87171;
  margin-top: 4px;
  line-height: 1.4;
}

.field-error-msg.visible {
  display: block;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}


.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 0 25px var(--glow-blue);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 12px;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 35px var(--glow-purple);
}

#form-feedback-msg.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

#form-feedback-msg.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* === REVEAL ANIMATIONS === */

[data-reveal="fade"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

[data-reveal="fade"].revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* SplitType typography */
.char, .word {
  display: inline-block;
  will-change: transform, opacity;
}

/* === RESPONSIVE MEDIA QUERIES === */
@media (max-width: 1100px) {
  .project-single-container,
  .project-single-scene:nth-child(even) .project-single-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-single-scene:nth-child(even) .project-single-visual {
    order: initial;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .industries-interactive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block-drawer-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-left, .nav-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .process-sticky-timeline {
    padding-left: 48px;
  }

  .timeline-glowing-line {
    left: 12px;
  }

  .step-node-indicator {
    left: -44px;
  }

  .process-step-node {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-block-top {
    grid-template-columns: 44px 1fr auto;
  }

  .service-block-icon {
    display: none;
  }

  .about-stats-row {
    grid-template-columns: 1fr;
  }

  .industries-interactive-grid {
    grid-template-columns: 1fr;
  }
}
