/* ==========================================
   BLUEDROP SOLUTIONS v3 — Awwwards Edition
   style.css
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --black:    #080808;
  --off-black:#0d0d0d;
  --card-bg:  #111111;
  --white:    #f0ede8;
  --muted:    #6b6b6b;
  --muted-l:  #9a9a9a;
  --accent:   #4fffb0;
  --accent2:  #00d4ff;
  --border:   rgba(240,237,232,0.08);
  --border-h: rgba(79,255,176,0.3);

  --font:     'Inter', sans-serif;
  --font-h:   'Syne', sans-serif;
}

html {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  scroll-behavior: auto; /* we handle smooth scroll manually */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: var(--black);
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ==========================================
   CURSOR
   ========================================== */
#cursor {
  position: fixed; z-index: 9999; top: 0; left: 0;
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, opacity .2s;
  mix-blend-mode: difference;
}
#cursor-follower {
  position: fixed; z-index: 9998; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(79,255,176,.4);
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .4s ease, height .4s ease, border-color .3s;
}
body.cursor-hover #cursor { width: 14px; height: 14px; }
body.cursor-hover #cursor-follower { width: 56px; height: 56px; border-color: rgba(79,255,176,.7); }
body.cursor-click #cursor { width: 6px; height: 6px; }
body.loading #cursor, body.loading #cursor-follower { opacity: 0; }

/* ==========================================
   LOADER
   ========================================== */
#loader {
  position: fixed; inset: 0; z-index: 9990;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}
#loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  width: 48px; height: 60px; margin: 0 auto 32px;
  animation: loader-bob 1s ease-in-out infinite alternate;
}
@keyframes loader-bob { from{transform:translateY(0)} to{transform:translateY(-8px)} }
.loader-count {
  font-family: var(--font-h); font-size: 4rem; font-weight: 800;
  color: var(--white); line-height: 1; margin-bottom: 20px;
  letter-spacing: -.04em;
}
.loader-bar-wrap {
  width: 200px; height: 2px; background: rgba(240,237,232,.1);
  border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.loader-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px; transition: width .05s linear; }

/* ==========================================
   NAV
   ========================================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
  transition: background .4s, padding .4s;
}
#nav.scrolled {
  padding: 16px 40px;
  background: rgba(8,8,8,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -.02em;
}
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: 100px;
  font-size: .85rem; font-weight: 500; color: var(--muted-l);
  transition: color .2s, background .2s;
  position: relative; overflow: hidden;
}
.nav-link:hover { color: var(--white); background: rgba(240,237,232,.06); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--black);
  padding: 10px 22px; border-radius: 100px;
  font-size: .85rem; font-weight: 700; letter-spacing: .01em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover { background: #7affcc; transform: scale(1.03); box-shadow: 0 0 30px rgba(79,255,176,.4); }

@media (max-width: 768px) {
  #nav { padding: 20px 20px; }
  .nav-center { display: none; }
}

/* ==========================================
   HERO
   ========================================== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; overflow: hidden;
  padding: 0 40px;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; z-index: 0;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px 200px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  margin: 0 auto;
  padding-top: 100px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted-l); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 40px;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 800; line-height: .95;
  letter-spacing: -.05em;
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 60px;
}
.h1-line { display: block; overflow: hidden; }
.h1-word {
  display: block; font-style: normal;
  transform: translateY(110%);
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.h1-line.visible .h1-word { transform: translateY(0); }
.outline-text {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero-sub-wrap {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.hero-sub-wrap.visible { opacity: 1; transform: none; }
.hero-sub {
  font-size: 1.05rem; color: var(--muted-l); line-height: 1.7;
  max-width: 380px;
}
.btn-round {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--black);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 700; font-size: .95rem;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.btn-round:hover { background: #7affcc; box-shadow: 0 0 40px rgba(79,255,176,.5); transform: scale(1.04); }

.hero-scroll-line {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 2;
}
.scroll-track { width: 1px; height: 80px; background: rgba(240,237,232,.1); overflow: hidden; }
.scroll-thumb { width: 100%; height: 30px; background: var(--accent); animation: scrollDown 2s ease infinite; }
@keyframes scrollDown { 0%{transform:translateY(-100%)} 100%{transform:translateY(200%)} }
.hero-scroll-line span {
  writing-mode: vertical-rl; font-size: .68rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.hero-bottom-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 20px 40px;
}
.stat-row {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
}
.stat-item { display: flex; align-items: baseline; gap: 12px; }
.big-num {
  font-family: var(--font-h); font-size: 2.4rem; font-weight: 800;
  color: var(--accent); line-height: 1; letter-spacing: -.04em;
}
.stat-lab { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================
   RIBBON MARQUEE
   ========================================== */
.ribbon {
  overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(79,255,176,.025);
}
.ribbon-track {
  display: inline-flex; gap: 32px; white-space: nowrap;
  animation: ribbonScroll 35s linear infinite;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-l);
}
.ribbon-dot { color: var(--accent); font-size: .5rem; }
@keyframes ribbonScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ==========================================
   INTRO
   ========================================== */
.section-intro {
  padding: 120px 40px;
  border-bottom: 1px solid var(--border);
}
.intro-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr; gap: 80px; align-items: start;
}
.section-index {
  font-family: var(--font-h); font-size: .72rem; font-weight: 700;
  color: var(--accent); letter-spacing: .2em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.section-label { font-size: .78rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.intro-statement {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 500; line-height: 1.35; color: var(--white);
  margin-bottom: 40px;
}
.intro-statement em { color: var(--accent); font-style: normal; }
.intro-divider { width: 100%; height: 1px; background: var(--border); margin-bottom: 32px; }
.intro-facts { display: flex; gap: 48px; flex-wrap: wrap; }
.fact-item { display: flex; flex-direction: column; gap: 4px; }
.fact-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.fact-val { font-size: .95rem; color: var(--white); font-weight: 500; }

/* ==========================================
   WORK — HORIZONTAL SCROLL
   ========================================== */
.section-work {
  height: 600vh; /* tall for sticky scroll */
  position: relative;
}
.work-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; display: flex; flex-direction: column;
}
.work-header {
  flex-shrink: 0; padding: 28px 40px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.work-header-left { display: flex; align-items: baseline; gap: 20px; }
.section-title-lg {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.0;
}
.section-title-lg em { font-style: italic; color: var(--accent); }
.work-progress-wrap {
  width: 180px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.work-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px; transition: width .1s linear; }

.hscroll-container {
  flex: 1; overflow: hidden; display: flex; align-items: center;
}
.hscroll-track {
  display: flex; gap: 24px; padding: 0 40px;
  will-change: transform;
  align-items: center;
  height: 100%;
}

/* Project Card */
.proj {
  flex-shrink: 0;
  width: 680px;
  height: calc(100vh - 120px);
  max-height: 680px;
}
.proj-inner {
  height: 100%; display: flex; flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: border-color .3s;
}
.proj-inner:hover { border-color: var(--border-h); }

/* Visuals top */
.proj-visual {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.proj-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 80%, color-mix(in srgb, var(--gc) 15%, transparent) 0%, transparent 65%);
}
/* project-specific bg colors */
.drupal-vis { background: linear-gradient(145deg, #0e1a28, #071018); }
.library-vis { background: linear-gradient(145deg, #0a1928, #051018); }
.bears-vis { background: linear-gradient(145deg, #071a0e, #030f08); }
.cpg-vis { background: linear-gradient(145deg, #15102a, #0c0818); }
.cap-vis { background: linear-gradient(145deg, #14102a, #0a0820); }
.intrepid-vis { background: linear-gradient(145deg, #1a1408, #0f0c04); }
.name-vis { background: linear-gradient(145deg, #1a0d1a, #0e070e); }
.pottery-vis { background: linear-gradient(145deg, #1a110a, #0e0905); }
.choices-vis { background: linear-gradient(145deg, #081814, #040e0b); }
.design-vis { background: linear-gradient(145deg, #140d1a, #0a070e); }

/* Browser mock shared */
.proj-screen {
  width: 100%; max-width: 520px;
  background: #0d0d0d; border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  transition: transform .4s cubic-bezier(0.4,0,0.2,1);
}
.proj-inner:hover .proj-screen { transform: translateY(-6px) scale(1.01); }
.dark-screen { background: #060606; }

.ps-bar {
  height: 28px; background: rgba(255,255,255,.05);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
}
.ps-bar.dark { background: rgba(0,0,0,.5); }
.ps-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.ps-bar span:nth-child(1) { background: rgba(255,95,87,.5); }
.ps-bar span:nth-child(2) { background: rgba(255,188,46,.4); }
.ps-bar span:nth-child(3) { background: rgba(40,200,64,.4); }

.ps-body {
  display: flex; gap: 0;
  background: rgba(12,18,28,.9);
  min-height: 200px; max-height: 280px;
}
.ps-body.dark { background: rgba(6,12,10,.95); }
.ps-sidebar {
  width: 22%; background: rgba(255,255,255,.03);
  padding: 12px 8px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ps-sidebar.dark { background: rgba(0,0,0,.4); }
.ps-logo { height: 12px; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 3px; width: 60%; opacity: .7; }
.ps-logo.w { width: 80px; }
.ps-navs { display: flex; flex-direction: column; gap: 6px; }
.ps-navs div { height: 7px; background: rgba(255,255,255,.1); border-radius: 3px; }
.active-g { background: rgba(79,255,176,.3) !important; }
.ps-main { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ps-main.full { width: 100%; }
.ps-main.dark { background: rgba(4,8,6,.6); }
.ps-main.center-content { align-items: center; justify-content: center; }
.ps-main.design-canvas { background: rgba(8,4,12,.6); }
.ps-nav-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.05); }
.ps-nav-links { display: flex; gap: 6px; }
.ps-nav-links div { width: 30px; height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; }
.ps-hero-text { height: 12px; background: rgba(255,255,255,.2); border-radius: 4px; width: 65%; }
.ps-hero-text.wide { width: 80%; }
.ps-hero-sub { height: 7px; background: rgba(255,255,255,.08); border-radius: 3px; width: 45%; }
.ps-hero-banner { height: 70px; background: linear-gradient(135deg, rgba(79,255,176,.15), rgba(0,212,255,.08)); border-radius: 6px; }
.ps-hero-fullbleed { height: 90px; background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(245,158,11,.05)); border-radius: 4px; }
.ps-hero-warm { height: 80px; background: linear-gradient(135deg, rgba(251,146,60,.2), rgba(251,146,60,.05)); border-radius: 4px; }
.ps-calm-hero { height: 80px; background: linear-gradient(135deg, rgba(52,211,153,.15), rgba(59,130,246,.08)); border-radius: 4px; }
.ps-hero-feature { height: 60px; background: linear-gradient(135deg, rgba(129,140,248,.15), rgba(79,255,176,.06)); border-radius: 6px; }
.ps-search-ui { display: flex; gap: 6px; }
.ps-search-input { flex: 1; height: 20px; background: rgba(255,255,255,.07); border-radius: 4px; border: 1px solid rgba(255,255,255,.1); }
.ps-search-btn { width: 36px; height: 20px; background: rgba(79,255,176,.4); border-radius: 4px; }
.ps-result-list { display: flex; flex-direction: column; gap: 6px; }
.ps-result-list div { height: 7px; background: rgba(255,255,255,.07); border-radius: 3px; }
.ps-dict-row { display: flex; gap: 6px; }
.ps-dict-item { flex: 1; height: 40px; background: rgba(129,140,248,.07); border-radius: 5px; border: 1px solid rgba(129,140,248,.1); }
.ps-table { display: flex; flex-direction: column; gap: 5px; }
.ps-table div { height: 8px; background: rgba(255,255,255,.06); border-radius: 3px; }
.ps-breadcrumb { height: 6px; background: rgba(255,255,255,.06); border-radius: 2px; width: 40%; }
.ps-tabs { display: flex; gap: 4px; }
.ps-tabs div { flex: 1; height: 18px; background: rgba(255,255,255,.04); border-radius: 4px 4px 0 0; }
.ps-tabs div.active { background: rgba(79,255,176,.12); }
.ps-3col { display: flex; gap: 6px; }
.ps-3col div { flex: 1; height: 40px; background: rgba(255,255,255,.05); border-radius: 5px; border: 1px solid rgba(255,255,255,.06); }
.ps-3col.calm div { background: rgba(52,211,153,.07); border-color: rgba(52,211,153,.1); }
.ps-content-cols { display: flex; gap: 8px; flex: 1; }
.ps-content-main { flex: 2; background: rgba(255,255,255,.04); border-radius: 4px; }
.ps-content-sidebar-r { flex: 1; background: rgba(255,255,255,.03); border-radius: 4px; }

/* Bears chart */
.ps-chart-area { flex: 1; max-height: 120px; overflow: hidden; border-radius: 4px; background: rgba(0,0,0,.3); padding: 4px; }
.chart-svg { width: 100%; height: 100%; }
.ps-ticker-row { display: flex; gap: 6px; }
.ps-ticker-row div { flex: 1; height: 12px; background: rgba(255,255,255,.06); border-radius: 3px; }
.ps-ticker-row div.up { background: rgba(79,255,176,.25); }
.ps-ticker-row div.down { background: rgba(255,80,80,.2); }

/* CapFrame */
.cap-preview-area { flex: 1; background: rgba(124,58,237,.08); border-radius: 6px; border: 1px solid rgba(124,58,237,.15); min-height: 80px; }
.cap-timeline-ui { padding: 4px 0; }
.cap-tl-bar { position: relative; height: 16px; background: rgba(0,0,0,.5); border-radius: 4px; overflow: hidden; }
.cap-tl-clip { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; }
.c1 { left: 2%; width: 30%; background: rgba(124,58,237,.5); }
.c2 { left: 34%; width: 25%; background: rgba(79,255,176,.4); }
.c3 { left: 61%; width: 36%; background: rgba(0,212,255,.4); }
.cap-tl-playhead { position: absolute; top: 0; bottom: 0; left: 45%; width: 2px; background: white; border-radius: 1px; }
.cap-controls { display: flex; gap: 6px; justify-content: center; padding-top: 4px; }
.cap-controls div { width: 22px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.08); }
.cc-play { background: rgba(79,255,176,.4) !important; }

/* Name gen */
.name-gen-ui { display: flex; flex-direction: column; gap: 8px; width: 80%; }
.ng-title { height: 12px; background: rgba(232,121,249,.3); border-radius: 4px; width: 55%; }
.ng-subtitle { height: 7px; background: rgba(255,255,255,.1); border-radius: 3px; width: 70%; }
.ng-field { height: 18px; border-radius: 5px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.ng-field.short { width: 60%; }
.ng-select { height: 18px; border-radius: 5px; background: rgba(255,255,255,.07); border: 1px solid rgba(232,121,249,.2); }
.ng-btn { height: 20px; border-radius: 6px; background: linear-gradient(90deg, rgba(232,121,249,.5), rgba(0,212,255,.4)); width: 70%; align-self: center; }
.ng-result { height: 10px; border-radius: 4px; background: rgba(232,121,249,.15); width: 50%; align-self: center; }

/* Design layout */
.design-layout { display: flex; gap: 6px; height: 100%; }
.dl-item { flex: 1; border-radius: 6px; border: 1px solid rgba(255,255,255,.06); }
.dl-item.large { flex: 1.5; }
.dl-col { flex: 1; display: flex; flex-direction: column; gap: 6px; }

/* Project info bottom */
.proj-info {
  flex-shrink: 0; border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.proj-num {
  font-family: var(--font-h); font-size: .72rem; font-weight: 700;
  color: var(--accent); letter-spacing: .12em; flex-shrink: 0; padding-top: 3px;
}
.proj-meta { flex: 1; }
.proj-title {
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -.03em; line-height: 1.15; margin-bottom: 8px;
}
.proj-desc { font-size: .85rem; color: var(--muted-l); line-height: 1.65; margin-bottom: 12px; }
.proj-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.proj-tech span {
  font-size: .72rem; padding: 3px 9px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--muted-l);
  font-weight: 500; letter-spacing: .04em;
  transition: border-color .2s, color .2s;
}
.proj-inner:hover .proj-tech span { border-color: rgba(79,255,176,.25); color: var(--accent); }
.proj-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(79,255,176,.3); padding: 6px 14px;
  border-radius: 100px; transition: background .2s, box-shadow .2s;
}
.proj-link:hover { background: rgba(79,255,176,.1); box-shadow: 0 0 20px rgba(79,255,176,.2); }
.proj-type { font-size: .75rem; color: var(--muted); }
.proj-badge {
  display: inline-block; font-size: .72rem; font-weight: 600;
  color: #f59e0b; border: 1px solid rgba(245,158,11,.3);
  padding: 4px 10px; border-radius: 100px;
}

/* ==========================================
   CLIENTS
   ========================================== */
.section-clients { padding: 120px 40px; border-top: 1px solid var(--border); }
.clients-inner { max-width: 1200px; margin: 0 auto; }
.clients-header { margin-bottom: 64px; }
.clients-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.cl-item {
  padding: 28px 24px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
  transition: background .2s;
}
.cl-item:hover { background: rgba(79,255,176,.03); }
.cl-item:nth-child(4n+1) { border-left: none; }
.cl-name {
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 700;
  letter-spacing: -.02em;
}
.cl-role { font-size: .78rem; color: var(--muted); }

/* ==========================================
   ABOUT
   ========================================== */
.section-about {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
  background: var(--off-black);
}
.about-noise {
  position: absolute; inset: 0; opacity: .025; pointer-events: none;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.about-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.about-header { margin-bottom: 64px; }
.about-body {
  display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start;
}
.about-portrait { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.portrait-frame {
  width: 200px; height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.portrait-inner {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.portrait-initials {
  font-family: var(--font-h); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em;
}
.portrait-ring {
  position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid rgba(79,255,176,.2);
  animation: ringPulse 3s ease infinite;
}
@keyframes ringPulse {
  0%,100%{transform:scale(1);opacity:.5}
  50%{transform:scale(1.04);opacity:.9}
}
.portrait-location {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--muted-l);
}
.loc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2s ease infinite; }
.about-statement {
  font-family: var(--font-h);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500; line-height: 1.5;
  color: var(--white); margin-bottom: 40px;
}
.about-skills-wrap { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }
.skill-group { display: flex; flex-direction: column; gap: 14px; }
.sg-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.sg-items { display: flex; flex-direction: column; gap: 10px; }
.sg-item { display: flex; align-items: center; gap: 14px; }
.sg-item span { width: 120px; font-size: .84rem; color: var(--muted-l); flex-shrink: 0; }
.sg-bar { flex: 1; height: 3px; background: rgba(240,237,232,.08); border-radius: 2px; overflow: hidden; }
.sg-fill {
  height: 100%; width: var(--w, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  animation: sgGrow 1.4s cubic-bezier(.4,0,.2,1) both;
}
@keyframes sgGrow { from{width:0} to{width:var(--w)} }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span {
  border: 1px solid var(--border); padding: 6px 12px; border-radius: 8px;
  font-size: .8rem; color: var(--muted-l); font-weight: 500;
  transition: border-color .2s, color .2s;
}
.tech-tags span:hover { border-color: rgba(79,255,176,.3); color: var(--accent); cursor: default; }
.about-links { display: flex; gap: 12px; flex-wrap: wrap; }
.alink {
  display: inline-flex; align-items: center;
  font-size: .88rem; font-weight: 600; color: var(--white);
  border-bottom: 1px solid rgba(240,237,232,.2);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.alink:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================
   CONTACT
   ========================================== */
.section-contact {
  padding: 120px 40px 80px;
  border-top: 1px solid var(--border);
}
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-header { margin-bottom: 72px; }
.section-title-xl {
  font-family: var(--font-h);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800; letter-spacing: -.05em; line-height: .95;
  display: block;
  overflow: hidden;
}
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.contact-desc { font-size: 1rem; color: var(--muted-l); line-height: 1.7; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.cd-item {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.cd-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cd-val { font-size: .95rem; font-weight: 500; color: var(--white); transition: color .2s; }
a.cd-val:hover, a.cd-item:hover .cd-val { color: var(--accent); }
.cd-val.available { color: var(--accent); display: flex; align-items: center; gap: 8px; }
.avail-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2s ease infinite; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 8px; }
.cf-group label { font-size: .78rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cf-group input, .cf-group textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--border);
  padding: 12px 0; color: var(--white); font-family: var(--font); font-size: .95rem;
  outline: none; resize: none; transition: border-color .2s;
}
.cf-group input::placeholder, .cf-group textarea::placeholder { color: var(--muted); }
.cf-group input:focus, .cf-group textarea:focus { border-color: var(--accent); }
.cf-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--black);
  padding: 16px 32px; border-radius: 100px; border: none;
  font-family: var(--font-h); font-weight: 700; font-size: .95rem;
  align-self: flex-start; transition: background .2s, box-shadow .2s, transform .2s;
  letter-spacing: -.01em;
}
.cf-submit:hover { background: #7affcc; box-shadow: 0 0 40px rgba(79,255,176,.4); transform: scale(1.02); }
.cf-success { color: var(--accent); font-size: .88rem; }

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  border-top: 1px solid var(--border);
  padding: 60px 40px 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding-bottom: 60px; flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-weight: 700; margin-bottom: 12px;
}
.footer-left p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.footer-links { display: flex; gap: 64px; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-col a { font-size: .88rem; color: var(--muted-l); transition: color .2s; }
.fl-col a:hover { color: var(--white); }
.footer-bar {
  border-top: 1px solid var(--border); padding: 20px 40px;
  display: flex; justify-content: space-between;
  font-size: .78rem; color: var(--muted); max-width: 100%;
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.reveal-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-up.visible { opacity: 1; transform: none; }
.reveal-mask { overflow: hidden; }

/* ==========================================
   MAGNETIC BUTTON
   ========================================== */
.mag-btn { display: inline-flex; transition: transform .2s ease; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .clients-list { grid-template-columns: repeat(2, 1fr); }
  .about-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 160px 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  #nav { padding: 16px 20px; }
  #hero { padding: 0 20px; }
  .hero-bottom-strip { padding: 16px 20px; }
  .stat-row { gap: 24px; }
  .big-num { font-size: 1.8rem; }
  .section-intro { padding: 80px 20px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-clients { padding: 80px 20px; }
  .clients-list { grid-template-columns: repeat(2, 1fr); }
  .section-about { padding: 80px 20px; }
  .section-contact { padding: 80px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  #footer { padding: 40px 20px 0; }
  .footer-bar { padding: 16px 20px; flex-direction: column; gap: 8px; }
  .footer-links { gap: 32px; }
  .proj { width: 360px; height: 500px; }
  .hscroll-track { padding: 0 20px; }
  .work-header { padding: 20px; }
  .hero-scroll-line { display: none; }
}
@media (max-width: 480px) {
  .clients-list { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; gap: 12px; }
}
