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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080C18;
  --bg-mid:      #0C1020;
  --bg-deep:     #050810;
  --bg-card:     #0F1428;
  --bg-card-sub: rgba(255,255,255,0.03);
  --accent:      #00E5FF;
  --accent-dim:  #00AABB;
  --accent-glow: rgba(0,229,255,0.10);
  --accent-ring: rgba(0,229,255,0.20);
  --text:        #DDE8FF;
  --text-sub:    #546080;
  --text-dim:    #2E3A55;
  --border:      rgba(0,229,255,0.14);
  --border-sub:  rgba(255,255,255,0.05);
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  --ease-snap:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: dark;
}

body.light {
  --bg:          #F0F4FF;
  --bg-mid:      #E6EAFF;
  --bg-deep:     #E8EDFF;
  --bg-card:     #FFFFFF;
  --bg-card-sub: rgba(0,0,0,0.02);
  --accent:      #007A99;
  --accent-dim:  #005C77;
  --accent-glow: rgba(0,122,153,0.09);
  --accent-ring: rgba(0,122,153,0.18);
  --text:        #080C18;
  --text-sub:    #445070;
  --text-dim:    #8899BB;
  --border:      rgba(0,122,153,0.16);
  --border-sub:  rgba(0,0,0,0.07);
  color-scheme: light;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--text);
  overflow-x: hidden; cursor: none;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease-smooth), color 0.3s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* â”€â”€ Cursor â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); pointer-events: none;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-ring);
  transition: transform 0.08s, opacity 0.2s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--accent-ring); pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform 0.14s var(--ease-snap), width 0.3s, height 0.3s;
}
body.cursor-hover #cursor-dot { transform: translate(-50%,-50%) scale(2.5); }
body.cursor-hover #cursor-ring { width: 48px; height: 48px; border-color: var(--accent); }

/* â”€â”€ Nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 60px; display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.4s, background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 13px 60px;
  background: rgba(8,12,24,0.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}
body.light .nav.scrolled { background: rgba(240,244,255,0.92); }

.nav-logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: 0.1em; color: var(--text); text-transform: uppercase;
}
.nav-logo img, .footer-logo img, .logo-anim { 
  width: 30px; height: 30px; object-fit: contain; 
  transition: filter 0.4s var(--ease-smooth); 
}
body.light .nav-logo img, 
body.light .footer-logo img, 
body.light .logo-anim,
body.light .default-logo { 
  /* No filter needed as src is swapped in shared.js */
}

/* For logos that should invert manually based on theme */
.logo-invert {
  transition: filter 0.3s ease;
}
body.light .logo-invert {
  /* For custom inverts if still needed elsewhere */
  filter: invert(1) brightness(0);
}


/* â”€â”€ Premium Switch Toggle â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.theme-switch {
  position: relative;
  width: 44px; height: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: none;
  transition: all 0.4s var(--ease-snap);
  display: flex;
  align-items: center;
  padding: 0 4px;
  overflow: hidden;
}
.theme-switch::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent-glow);
  opacity: 0; transition: opacity 0.3s;
}
.theme-switch:hover::before { opacity: 1; }

.theme-switch::after {
  content: '';
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), background 0.4s;
  box-shadow: 0 0 12px var(--accent-glow);
}

body.light .theme-switch::after {
  transform: translateX(20px);
}

.toggle-icons {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 6px; font-size: 9px; pointer-events: none;
  z-index: 1;
}
.toggle-icons span { filter: grayscale(1) opacity(0.5); transition: opacity 0.3s; }
body:not(.light) .toggle-icons .moon { opacity: 0.8; filter: none; }
body.light .toggle-icons .sun { opacity: 0.8; filter: none; }

.nav-cta {
  padding: 10px 20px; border-radius: 6px;
  background: var(--accent); color: var(--bg);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  font-family: var(--font-body); border: none; cursor: none;
  transition: opacity 0.2s, transform 0.2s var(--ease-snap), box-shadow 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-sub);
  letter-spacing: 0.02em; position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease-snap);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* â”€â”€ Reveal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease-snap), transform 0.65s var(--ease-snap); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* â”€â”€ Labels â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); display: inline-block; margin-bottom: 18px;
}
.label::before { content: '// '; opacity: 0.45; }

/* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section { padding: 120px 60px; }
.container { max-width: 1200px; margin: 0 auto; }

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 7px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; transition: all 0.25s var(--ease-snap);
  cursor: none; border: none;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.btn-arrow::after { content: ' \2192'; display: inline-block; transition: transform 0.2s var(--ease-snap); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 160px 60px 100px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 50%, rgba(0,229,255,0.05) 0%, transparent 65%);
}
body.light .hero-bg { background: radial-gradient(ellipse 80% 60% at 65% 50%, rgba(0,122,153,0.06) 0%, transparent 65%); }
.hero-noise {
  position: absolute; inset: 0; z-index: 1; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
/* Hero content section */
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.8vw, 84px);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; color: var(--text); margin-bottom: 26px;
}
.hero-headline span { color: var(--accent); }
.hero-sub { font-size: 17px; line-height: 1.75; color: var(--text-sub); max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.logo-anim-wrap { position: relative; width: 440px; height: 440px; }
.logo-glow {
  position: absolute; inset: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.15) 0%, transparent 70%);
  animation: glow-pulse 4.5s ease-in-out infinite;
}
body.light .logo-glow { opacity: 0; display: none; }
@keyframes glow-pulse { 0%,100%{ opacity:0.5; transform:scale(1); } 50%{ opacity:1; transform:scale(1.1); } }
.logo-anim {
  width: 100%; height: 100%; position: relative;
  animation: logo-breathe 7s ease-in-out infinite;
  filter: drop-shadow(0 0 45px rgba(0,229,255,0.35));
}
body.light .logo-anim { filter: drop-shadow(0 0 35px var(--accent-glow)); }
@keyframes logo-breathe {
  0%,100% { transform: rotate(0deg); }
  40% { transform: rotate(1.5deg); }
  70% { transform: rotate(-0.8deg); }
}
.logo-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.15); animation: ring-rotate 22s linear infinite;
}
body.light .logo-ring { border: 0.5px solid rgba(0,0,0,0.15); }
.logo-ring-2 {
  position: absolute; inset: -35px; border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.08); animation: ring-rotate 38s linear infinite reverse;
}
body.light .logo-ring-2 { border: 0.5px solid rgba(0,0,0,0.1); }
@keyframes ring-rotate { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--text-dim); opacity: 1; transition: opacity 0.4s;
}
.scroll-indicator.hidden { opacity: 0; }
.scroll-line { width: 1px; height: 42px; background: linear-gradient(to bottom, var(--accent), transparent); overflow: hidden; position: relative; }
.scroll-line::after { content: ''; position: absolute; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: scroll-drop 2s ease-in-out infinite; }
@keyframes scroll-drop { 0%{top:-100%;} 100%{top:200%;} }

/* â”€â”€ Gap â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gap-section {
  padding: 140px 60px; position: relative; overflow: hidden; background: var(--bg-deep);
}
.gap-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 80% at 15% 50%, rgba(0,229,255,0.04), transparent 60%);
}
body.light .gap-section::before { background: radial-gradient(ellipse 55% 80% at 15% 50%, rgba(0,122,153,0.04), transparent 60%); }
.gap-headline { font-family: var(--font-display); font-size: clamp(34px,4.2vw,58px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); }
.gap-word { color: var(--accent); }
.gap-stats { display: flex; gap: 52px; margin-top: 52px; padding-top: 42px; border-top: 1px solid var(--border-sub); }
.gap-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--accent); line-height: 1; }
.gap-stat-label { font-size: 12px; color: var(--text-sub); margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.04em; }

/* â”€â”€ Services â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border-sub);
  border: 1px solid var(--border-sub); border-radius: 14px; overflow: hidden; margin-top: 56px;
}
.service-card {
  background: var(--bg-card); padding: 36px 32px; position: relative; overflow: hidden;
  transition: background 0.3s;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s var(--ease-snap);
}
.service-card:hover { background: var(--bg-mid); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon { width: 38px; height: 38px; margin-bottom: 18px; color: var(--accent); }
.service-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.service-body { font-size: 13px; line-height: 1.7; color: var(--text-sub); }
.service-card-num { position: absolute; right: 18px; bottom: 14px; font-family: var(--font-mono); font-size: 10px; color: rgba(0,229,255,0.2); letter-spacing: 0.06em; }

/* Services page */
.service-detail {
  padding: 52px; background: var(--bg-card); border: 1px solid var(--border-sub);
  border-radius: 16px; margin-bottom: 18px; display: grid; grid-template-columns: 1fr 2fr; gap: 52px; align-items: start;
  transition: border-color 0.3s;
}
.service-detail:hover { border-color: var(--accent); }
.service-detail-num { font-family: var(--font-display); font-size: 68px; font-weight: 800; color: rgba(0,229,255,0.08); line-height: 1; margin-bottom: 12px; }
body.light .service-detail-num { color: rgba(0,122,153,0.1); }
.service-detail-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); }
.service-detail-body { font-size: 15px; line-height: 1.8; color: var(--text-sub); }
.service-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag { padding: 4px 10px; border-radius: 4px; background: var(--bg-card); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: 0.04em; }

/* â”€â”€ Layers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.layers-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 56px; }
.layer-card {
  background: var(--bg-card); border: 1px solid var(--border-sub); border-radius: 13px; padding: 42px 34px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-snap);
}
.layer-card:hover { border-color: var(--border); transform: translateY(-5px); }
.layer-num { font-family: var(--font-display); font-size: 120px; font-weight: 800; color: rgba(0,229,255,0.03); position: absolute; top: -14px; right: 14px; line-height: 1; pointer-events: none; letter-spacing: -0.06em; }
body.light .layer-num { color: rgba(0,122,153,0.06); }
.layer-label { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.layer-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.layer-divider { width: 34px; height: 2px; background: var(--accent); margin-bottom: 18px; border-radius: 1px; }
.layer-body { font-size: 14px; line-height: 1.75; color: var(--text-sub); }
.layer-glow { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); width: 160px; height: 160px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.layer-card:hover .layer-glow { opacity: 1; }

/* â”€â”€ Philosophy â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.philosophy-section { padding: 140px 60px; position: relative; overflow: hidden; background: var(--bg-deep); }
.philosophy-section::before { content: 'BUILD.'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 240px; font-weight: 800; color: rgba(0,229,255,0.02); pointer-events: none; white-space: nowrap; letter-spacing: -0.06em; line-height: 1; }
body.light .philosophy-section::before { color: rgba(0,122,153,0.03); }
.philosophy-quote { font-family: var(--font-display); font-size: clamp(28px,3.6vw,50px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; color: var(--text); margin-bottom: 32px; max-width: 860px; }
.philosophy-quote em { font-style: normal; color: var(--accent); }
.philosophy-principles { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 52px; }
.principle-card { background: var(--accent-glow); border: 1px solid var(--border); border-radius: 10px; padding: 30px; transition: border-color 0.3s, background 0.3s; }
.principle-card:hover { border-color: var(--accent); background: rgba(0,229,255,0.07); }
body.light .principle-card:hover { background: rgba(0,122,153,0.07); }
.principle-icon { font-family: var(--font-mono); font-size: 18px; color: var(--accent); margin-bottom: 12px; }
.principle-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.principle-body { font-size: 13px; line-height: 1.7; color: var(--text-sub); }

/* â”€â”€ CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-section { padding: 150px 60px; position: relative; overflow: hidden; text-align: center; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 75% at 50% 50%, rgba(0,229,255,0.06), transparent 70%); }
body.light .cta-section::before { background: radial-gradient(ellipse 55% 75% at 50% 50%, rgba(0,122,153,0.05), transparent 70%); }
.cta-headline { font-family: var(--font-display); font-size: clamp(36px,5vw,66px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: var(--text); margin-bottom: 20px; position: relative; }
.cta-sub { font-size: 17px; color: var(--text-sub); line-height: 1.7; max-width: 500px; margin: 0 auto 42px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; position: relative; }

/* â”€â”€ Founder â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.founder-section { background: var(--bg-deep); }
.founder-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start;
}
.founder-image-wrap { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1; }
.founder-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 20px;
  position: absolute; left: 0; top: 0; z-index: 2; border: 1px solid var(--border);
}
.founder-img-glow {
  position: absolute; inset: -40px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: 1; opacity: 0.6; pointer-events: none;
}
.founder-img-dark { display: none; }
body.light .founder-img-light { display: none; }
body.light .founder-img-dark { display: block; }

.founder-bio { font-size: 18px; line-height: 1.8; color: var(--dim); margin-bottom: 48px; }
.founder-bio p { margin-bottom: 24px; }
.founder-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.meta-label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 12px; }
.meta-value { display: block; font-size: 15px; color: var(--white); font-weight: 500; line-height: 1.4; }

@media (max-width: 1024px) {
  .founder-grid { grid-template-columns: 1fr; gap: 60px; }
  .founder-image-wrap { max-width: 440px; margin: 0 auto; }
}

/* â”€â”€ Contact â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info-title { font-family: var(--font-display); font-size: 38px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 20px; }
.contact-info-body { font-size: 15px; line-height: 1.75; color: var(--text-sub); margin-bottom: 40px; }
.contact-detail { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border-sub); }
.contact-detail-icon { width: 36px; height: 36px; border-radius: 7px; background: var(--accent-glow); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; color: var(--accent); flex-shrink: 0; }
.contact-detail-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 3px; }
.contact-detail-value { font-size: 14px; color: var(--text); font-weight: 500; }
.form-card { background: var(--bg-card); border: 1px solid var(--border-sub); border-radius: 16px; padding: 46px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--text-sub); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 15px; background: var(--bg-mid);
  border: 1px solid var(--border-sub); border-radius: 6px; color: var(--text);
  font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; cursor: text;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { height: 128px; resize: vertical; }
.form-submit { width: 100%; padding: 14px; background: var(--accent); color: var(--bg); border: none; border-radius: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: none; transition: opacity 0.2s, transform 0.2s var(--ease-snap), box-shadow 0.2s; }
.form-submit:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success.show { display: block; }
.form-success-icon { font-size: 42px; margin-bottom: 12px; }
.form-success-msg { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.form-success-sub { font-size: 14px; color: var(--text-sub); }

/* â”€â”€ Page hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.about-hero { min-height: 58vh; display: flex; align-items: center; padding: 160px 60px 100px; position: relative; overflow: hidden; }
.page-hero-headline { font-family: var(--font-display); font-size: clamp(44px,6vw,74px); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; color: var(--text); }
.page-hero-sub { font-size: 17px; line-height: 1.75; color: var(--text-sub); max-width: 540px; margin-top: 20px; }

/* â”€â”€ Marquee â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border-sub); border-bottom: 1px solid var(--border-sub); padding: 17px 0; background: var(--bg-deep); }
.marquee-track { display: flex; animation: marquee 28s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { padding: 0 34px; font-family: var(--font-mono); font-size: 12px; color: var(--text-sub); letter-spacing: 0.05em; white-space: nowrap; }
.marquee-item span { color: var(--accent); margin-right: 6px; }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PROCESS PAGE â€” ALTERNATING TIMELINE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.timeline-section {
  padding: 80px 60px 140px; position: relative;
}

/* Vertical center line */
.timeline-line-wrap {
  position: absolute;
  left: 50%; top: 60px; bottom: 100px;
  transform: translateX(-50%);
  width: 2px; z-index: 1; pointer-events: none;
}
.timeline-line-bg { position: absolute; inset: 0; background: var(--border-sub); }
.timeline-line-fill {
  position: absolute; top: 0; left: 0; right: 0; height: 0%;
  background: linear-gradient(to bottom, transparent, var(--accent), var(--accent-dim));
  box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent-glow);
}

/* Glowing travelling dot */
.timeline-dot {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 4px var(--bg),
    0 0 0 6px var(--accent-ring),
    0 0 20px var(--accent),
    0 0 60px var(--accent-glow);
  z-index: 10;
  transition: top 0.1s linear;
}

/* Step rows */
.timeline-steps { position: relative; z-index: 2; }
.timeline-step {
  display: grid; grid-template-columns: 1fr 80px 1fr;
  align-items: center; padding: 50px 0; position: relative; min-height: 300px;
}

/* center column (node spacer) */
.step-center { grid-column: 2; display: flex; align-items: center; justify-content: center; }
.step-node {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text-dim);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
  position: relative; z-index: 5;
}
.step-node.lit { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Left & right cards */
.step-left  { grid-column: 1; padding-right: 48px; }
.step-right { grid-column: 3; padding-left: 48px; }
.step-empty-left  { grid-column: 1; }
.step-empty-right { grid-column: 3; }

.step-content {
  background: var(--bg-card); border: 1px solid var(--border-sub);
  border-radius: 14px; padding: 40px 44px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease-snap), box-shadow 0.35s;
  z-index: 5;
}
body.light .step-content { background: var(--bg-card); border-color: rgba(0,0,0,0.05); }
/* â”€â”€ Project Specific UI â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tech-specs { margin-top: 40px; display: flex; gap: 40px; flex-wrap: wrap; }
.spec-item { display: flex; flex-direction: column; gap: 6px; }
.spec-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; }
.spec-value { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }

.benchmark-card {
  padding: 42px; background: var(--bg-card); border: 1px solid var(--border-sub); 
  border-radius: 20px; position: sticky; top: 120px; transition: border-color 0.3s;
}
.benchmark-card:hover { border-color: var(--border); }
.metric { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.metric-value { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1; }
.metric-label { font-family: var(--font-body); font-size: 14px; color: var(--text-sub); flex: 1; }
.benchmark-footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-sub); font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.step-left .step-content:hover  { transform: translateX(-6px); }
.step-right .step-content:hover { transform: translateX(6px); }

/* Connector nub from card to line */
.step-left .step-content::after {
  content: ''; position: absolute; right: -20px; top: 50%;
  width: 20px; height: 1px; background: var(--border); transform: translateY(-50%);
}
.step-right .step-content::before {
  content: ''; position: absolute; left: -20px; top: 50%;
  width: 20px; height: 1px; background: var(--border); transform: translateY(-50%);
}

.step-num {
  position: absolute; font-family: var(--font-display); font-size: 160px; font-weight: 800;
  line-height: 1; letter-spacing: -0.05em; color: rgba(0,229,255,0.015);
  pointer-events: none; bottom: -30px; z-index: -1;
}
body.light .step-num { color: rgba(0,122,153,0.06); }
.step-left  .step-num { right: 20px; }
.step-right .step-num { left: 20px; }

.step-week  { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.step-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 14px; }
.step-body  { font-size: 14px; line-height: 1.75; color: var(--text-sub); margin-bottom: 22px; }
.step-tags  { display: flex; flex-wrap: wrap; gap: 7px; }
.step-left .step-tags { justify-content: flex-end; }

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border-sub); padding: 50px 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; color: var(--text); text-transform: uppercase; }
.footer-logo img { width: 24px; height: 24px; object-fit: contain; }
.footer-links { display: flex; gap: 26px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--text-sub); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); letter-spacing: 0.04em; }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .layers-grid { grid-template-columns: 1fr 1fr; }
  .philosophy-principles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 120px 20px 80px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .logo-anim-wrap { width: 200px; height: 200px; }
  .section { padding: 70px 20px; }
  .gap-section, .philosophy-section, .cta-section { padding: 70px 20px; }
  .timeline-section { padding: 60px 20px 100px; }
  .gap-stats { flex-direction: column; gap: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .layers-grid { grid-template-columns: 1fr; }
  .philosophy-principles { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 26px 20px; }
  .service-detail { grid-template-columns: 1fr; gap: 20px; padding: 30px 22px; }
  .footer { padding: 34px 20px; }
  .footer-inner { flex-direction: column; gap: 22px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .about-hero { padding: 120px 20px 60px; }
  /* Timeline mobile */
  .timeline-line-wrap, .timeline-dot { display: none; }
  .timeline-step { grid-template-columns: 1fr; min-height: unset; padding: 28px 0; }
  .step-center { display: none; }
  .step-left, .step-right { grid-column: 1; padding: 0; }
  .step-left .step-content:hover, .step-right .step-content:hover { transform: none; }
  .step-left .step-content::after, .step-right .step-content::before { display: none; }
  .step-left .step-tags { justify-content: flex-start; }
  .step-empty-left, .step-empty-right { display: none; }
  .step-content { padding: 28px 22px; }
}


a, button, .project-card, .filter-tab { cursor: pointer !important; }
.project-card-link { display: block; width: 100%; border-radius: 20px; transition: transform 0.3s; }
.project-card-link:hover { transform: translateY(-4px); }