/* ============================================================
   DREGON v3 — Open Sans — Sophisticated & Fast
   Design system: Near-black + Electric green accent
============================================================ */

/* ── Variables ── */
:root {
  --bg:       #060608;
  --surface:  #0c0c0f;
  --card:     #111115;
  --raised:   #18181e;

  --border:       rgba(255,255,255,0.07);
  --border-soft:  rgba(255,255,255,0.04);
  --border-hi:    rgba(96,165,250,0.4);

  --green:     #60a5fa;
  --green-dim: rgba(96,165,250,0.1);
  --green-glow: rgba(96,165,250,0.15);

  --white:  #f4f4f8;
  --muted:  #6c6c7a;
  --dim:    #2e2e38;

  --font: 'Open Sans', system-ui, sans-serif;

  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 68px;
  --wrap:  1160px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: none; }

/* ── Performance: skip rendering off-screen sections ── */
.services, .about, .process, .work, .testi, .cta-contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ── Grain ── */
.grain {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
}

/* ── Music Button ── */
.music-btn {
  position: fixed;
  bottom: 30px; left: 30px;
  z-index: 800;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(14,14,18,.7);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--spring), box-shadow .3s;
}

.music-btn:hover {
  transform: scale(1.1);
  border-color: rgba(255,255,255,.2);
  color: var(--white);
}

.music-btn.playing {
  background: var(--green-dim);
  border-color: var(--border-hi);
  color: var(--green);
  box-shadow: 0 0 20px rgba(96,165,250,.2);
}

.music-btn.playing:hover { box-shadow: 0 0 28px rgba(96,165,250,.3); }

/* Swap note icon ↔ waveform */
.music-note { display: block; }
.music-wave { display: none; align-items: center; gap: 2.5px; height: 16px; }
.music-btn.playing .music-note { display: none; }
.music-btn.playing .music-wave { display: flex; }

.music-wave span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: currentColor;
  animation: mwave 1.1s ease-in-out infinite;
  transform-origin: bottom;
}
.music-wave span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.music-wave span:nth-child(2) { height: 13px; animation-delay: .18s; }
.music-wave span:nth-child(3) { height: 9px;  animation-delay: .36s; }
.music-wave span:nth-child(4) { height: 5px;  animation-delay: .54s; }

@keyframes mwave {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(.35); opacity: .55; }
}

@media (max-width: 768px) {
  .music-btn { bottom: 20px; left: 20px; width: 40px; height: 40px; }
}

/* ── Custom Cursor ── */
.cur-dot {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--white); transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
}
.cur-ring {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(96,165,250,.7);
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s;
}
body.c-hover .cur-dot { width: 8px; height: 8px; background: var(--green); }
body.c-hover .cur-ring { width: 50px; height: 50px; border-color: rgba(96,165,250,.35); }

@media (hover: none), (max-width: 768px) {
  .cur-dot, .cur-ring { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ── Layout ── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.sec { padding: 108px 0; }

/* ── Labels ── */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 18px;
}
.label::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--green);
}

/* ── Section headings ── */
.sec-head { max-width: 560px; margin: 0 auto 68px; text-align: center; }
.sec-head h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.18; letter-spacing: -.02em;
}
.sec-head h2 em { font-style: italic; font-weight: 300; color: var(--muted); }

/* ── Buttons ── */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--r);
  font-size: 14px; font-weight: 700; border: none;
  white-space: nowrap; transition: transform .2s var(--spring), box-shadow .3s, background .2s;
  cursor: none; will-change: transform;
}
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 20px rgba(96,165,250,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(96,165,250,.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; }

.arrow { transition: transform .2s var(--spring); display: inline-block; }
.btn-primary:hover .arrow,
.btn-outline:hover .arrow { transform: translateX(4px); }

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

/* Line-clip reveal for hero text */
.line-clip { display: block; overflow: hidden; }
.line-clip > span { display: block; transform: translateY(110%); transition: transform .9s cubic-bezier(.16,1,.3,1); }
.hero-h.in .line-clip > span { transform: translateY(0); }
.hero-h.in .line-clip:nth-child(2) > span { transition-delay: .12s; }
.hero-h.in .line-clip:nth-child(3) > span { transition-delay: .22s; }

/* ── Holographic card ── */
.holo { position: relative; overflow: hidden; }
.holo-shine {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--hx,50%) var(--hy,50%), rgba(255,255,255,.07) 0%, rgba(96,165,250,.04) 40%, transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.holo:hover .holo-shine { opacity: 1; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(6,6,8,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--white);
}
.logo-mark { color: var(--green); flex-shrink: 0; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  padding: 8px 14px; font-size: 14px; font-weight: 600;
  color: var(--muted); border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.05); }

.nav-btn {
  padding: 9px 20px !important;
  background: var(--green-dim) !important;
  border: 1px solid rgba(96,165,250,.25) !important;
  border-radius: 8px !important;
  color: var(--green) !important;
  font-weight: 700 !important;
  transition: background .25s, border-color .25s, color .25s !important;
}
.nav-btn:hover {
  background: rgba(96,165,250,.18) !important;
  border-color: rgba(96,165,250,.5) !important;
  color: #fff !important;
}

.burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; padding: 8px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:first-child { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:last-child  { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none; flex-direction: column;
  padding: 12px 28px 24px;
  background: rgba(6,6,8,.96); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--border-soft);
  transition: color .2s;
}
.mobile-nav a:last-child { border: none; }
.mobile-nav a:hover { color: var(--white); }
.mobile-nav.open { display: flex; }

/* ============================================================
   HERO  (v1 aesthetic — particle canvas + gradient heading)
============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h); overflow: hidden;
}

/* Particle canvas fills entire hero */
#ptx {
  position: absolute; inset: 0;
  width: 100%; height: 100%; opacity: .55;
}

/* Glowing orbs */
.h-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.h-orb-a {
  width: 620px; height: 620px; top: -150px; left: -160px;
  background: radial-gradient(circle, rgba(59,130,246,.22) 0%, transparent 70%);
  animation: orb-float 9s ease-in-out infinite;
}
.h-orb-b {
  width: 520px; height: 520px; bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 70%);
  animation: orb-float 11s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(28px,-20px); }
}

/* Radial vignette so edges fade to site bg */
.h-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 88% 80% at 50% 50%, transparent 42%, var(--bg) 100%);
}

/* Centered content column */
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 88px 0 120px; max-width: 860px; margin: 0 auto;
}

/* Badge pill */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; margin-bottom: 36px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--muted);
  backdrop-filter: blur(12px); letter-spacing: .03em;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: bdot 2.5s ease-in-out infinite;
}
@keyframes bdot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.7); } }

/* Main heading */
.hero-h {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.025em; margin-bottom: 28px; color: var(--white);
}

/* Blue → violet gradient text  (the v1 signature look) */
.grad-text {
  color: var(--green);
  filter: drop-shadow(0 0 48px rgba(96,165,250,.55));
}

/* Subtitle */
.hero-desc {
  font-size: clamp(.95rem, 1.8vw, 1.15rem); color: var(--muted);
  max-width: 580px; line-height: 1.75; margin-bottom: 44px;
}

/* CTA row */
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 60px;
}

/* Ghost / frosted button */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--r);
  font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,.06); color: var(--white);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, transform .2s var(--spring);
  cursor: none; white-space: nowrap; text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.26);
  transform: translateY(-2px);
}

/* Large button modifier */
.btn-lg { padding: 15px 32px !important; font-size: 15px !important; border-radius: 14px !important; }

/* Client trust strip */
.hero-trust {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center;
}
.hero-trust > span {
  font-size: 12px; color: var(--dim); font-weight: 600; letter-spacing: .04em; white-space: nowrap;
}
.trust-logos { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-logos span {
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.trust-logos span:hover { color: var(--white); }

/* Scroll indicator — mouse with animated dot */
.h-scroll-ind {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.18); border-radius: 11px; position: relative;
}
.scroll-mouse::after {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px;
  background: linear-gradient(to bottom, #3b82f6, #7c3aed);
  animation: sdrop 2s ease infinite;
}
@keyframes sdrop {
  0%   { opacity:1; transform:translateX(-50%) translateY(0); }
  100% { opacity:0; transform:translateX(-50%) translateY(12px); }
}

/* ============================================================
   TICKER / MARQUEE
============================================================ */
.ticker {
  overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface); user-select: none;
}
.ticker-track { display: flex; }
.ticker-row {
  display: flex; align-items: center; gap: 24px;
  flex-shrink: 0; padding-right: 24px;
  animation: tick 28s linear infinite;
}
.ticker:hover .ticker-row { animation-play-state: paused; }
.ticker-row span { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .05em; white-space: nowrap; transition: color .2s; }
.ticker-row span:hover { color: var(--white); }
.ticker-row i { color: var(--green); font-style: normal; font-size: 9px; opacity: .7; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--surface); }

.svc-rows { display: flex; flex-direction: column; gap: 0; }

.svc-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center; gap: 32px;
  padding: 36px 40px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); margin-bottom: 16px;
  transition: border-color .3s, transform .3s var(--spring), box-shadow .3s;
}
.svc-row:last-child { margin-bottom: 0; }
.svc-row:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 40px rgba(96,165,250,.06);
}

.svc-row-left {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}

.svc-n {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  color: var(--green); text-transform: uppercase;
  padding: 4px 10px; background: var(--green-dim);
  border: 1px solid rgba(96,165,250,.2); border-radius: 100px;
}

.svc-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--raised); border: 1px solid var(--border);
  border-radius: 14px; color: var(--green);
}

.svc-row-body h3 {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 10px;
}
.svc-row-body p {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  margin-bottom: 16px; max-width: 520px;
}

.svc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.svc-chips span {
  padding: 4px 11px; font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--raised); border: 1px solid var(--border); border-radius: 100px;
  transition: border-color .2s, color .2s;
}
.svc-row:hover .svc-chips span { border-color: rgba(96,165,250,.2); color: var(--white); }

.svc-arrow {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--muted);
  border: 1px solid var(--border);
  transition: border-color .3s, color .3s, transform .3s var(--spring), background .3s;
}
.svc-row:hover .svc-arrow {
  border-color: var(--green); color: var(--green);
  transform: translate(4px,-4px) rotate(-45deg);
  background: var(--green-dim);
}

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--bg); }

.about-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}

.about-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -.02em; margin-bottom: 18px;
}
.about-left h2 em { font-style: italic; font-weight: 300; color: var(--muted); }
.about-left p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 32px; }
.about-tags span {
  padding: 5px 13px; font-size: 12px; font-weight: 600;
  background: var(--card); border: 1px solid var(--border); border-radius: 100px;
  color: var(--muted); transition: border-color .2s, color .2s;
}
.about-tags span:hover { border-color: rgba(96,165,250,.3); color: var(--green); }

.about-right { display: flex; flex-direction: column; }

/* ── 2×2 Stat Cards ── */
.stats-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.scard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .35s var(--spring), box-shadow .35s;
}

.scard::before {
  content: '';
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 3px;
  background: var(--green);
  border-radius: 0 3px 3px 0;
  opacity: .7;
  transition: opacity .3s, top .3s, bottom .3s;
}

.scard::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-dim) 0%, transparent 70%);
  pointer-events: none;
  opacity: .6;
  transition: opacity .3s;
}

.scard:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,.45), 0 0 0 1px rgba(96,165,250,.08);
}

.scard:hover::before { top: 12%; bottom: 12%; opacity: 1; }
.scard:hover::after  { opacity: 1; }

.scard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.scard-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
}

.scard-ico {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-dim);
  border: 1px solid rgba(96,165,250,.2);
  border-radius: 8px;
  color: var(--green);
  transition: background .3s, border-color .3s;
}

.scard:hover .scard-ico {
  background: rgba(96,165,250,.18);
  border-color: rgba(96,165,250,.4);
}

.scard-num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 10px;
  line-height: 1;
}

.sc-n {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.035em;
}

.sc-suf {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: var(--green);
  margin-bottom: 2px;
}

.scard-desc {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

/* ============================================================
   PROCESS
============================================================ */
.process { background: var(--surface); }

.proc-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  counter-reset: proc;
}

.proc-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 28px;
  transition: border-color .3s, transform .3s var(--spring);
  position: relative; overflow: hidden;
}
.proc-card:hover { border-color: rgba(96,165,250,.3); transform: translateY(-4px); }

.proc-num {
  font-size: 4.5rem; font-weight: 800; line-height: 1;
  letter-spacing: -.04em; color: rgba(255,255,255,.06);
  position: absolute; top: 16px; right: 20px;
}

.proc-card h3 {
  font-size: 1rem; font-weight: 800; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.proc-card::before {
  content: '';
  display: block; width: 32px; height: 3px; border-radius: 2px;
  background: var(--green); margin-bottom: 20px;
}
.proc-card p {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  position: relative; z-index: 1;
}

/* ============================================================
   WORK
============================================================ */
.work { background: var(--bg); }

.work-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-auto-rows: 270px;
  gap: 16px;
}

.proj {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); position: relative;
  cursor: default;
  transition: border-color .35s, transform .4s var(--spring), box-shadow .4s;
}
.proj:hover {
  border-color: rgba(96,165,250,.3);
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
}
.proj-lg { grid-row: span 2; }

.proj-vis {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}
.proj:hover .proj-vis { transform: scale(1.03); }

/* Dark tint layer so uploaded images always look polished in the dark theme */
.proj-vis::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.18);
}

/* Project visual art — pure CSS */
.pv-1 {
  background:
    radial-gradient(ellipse at 30% 55%, rgba(96,165,250,.38) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(80,120,255,.28) 0%, transparent 50%),
    linear-gradient(150deg, #08101c 0%, #050c16 100%);
}
.pv-1::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle,rgba(96,165,250,.12) 1px,transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 60% at 40% 60%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 40% 60%, black, transparent);
}

.pv-2 {
  background:
    radial-gradient(ellipse at 55% 40%, rgba(96,165,250,.3) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(0,160,200,.2) 0%, transparent 50%),
    linear-gradient(150deg, #061510 0%, #04110d 100%);
}

.pv-3 {
  background:
    radial-gradient(ellipse at 60% 35%, rgba(120,80,255,.4) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(96,165,250,.2) 0%, transparent 50%),
    linear-gradient(150deg, #0c0816 0%, #080510 100%);
}

.proj-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  /* strong enough gradient to guarantee white text over any image */
  background: linear-gradient(
    to top,
    rgba(0,0,0,.97) 0%,
    rgba(0,0,0,.85) 30%,
    rgba(0,0,0,.5)  55%,
    rgba(0,0,0,.15) 75%,
    transparent     100%
  );
  opacity: 0; transition: opacity .45s;
}
.proj:hover .proj-overlay { opacity: 1; }

/* Always-visible tag */
.proj-tag {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  padding: 6px 14px; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  background: var(--green);
  border-radius: 100px;
  color: #fff;
}

/* Verified badge — scalloped seal */
.proj-verified {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 30px; height: 30px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}

.proj-body h3 {
  font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.9);
}
.proj-lg .proj-body h3 { font-size: 1.4rem; }
.proj-body p {
  font-size: 13px; color: rgba(255,255,255,.88); line-height: 1.6; margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.proj-lg .proj-body p { font-size: 14px; }

.proj-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.proj-tags span {
  padding: 4px 10px; font-size: 11px; font-weight: 700;
  background: rgba(96,165,250,.25); border: 1px solid rgba(96,165,250,.55);
  border-radius: 100px; color: #93c5fd;
}

.proj-live {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  padding: 7px 16px; font-size: 12px; font-weight: 700;
  background: rgba(96,165,250,.25); border: 1px solid rgba(96,165,250,.6);
  border-radius: 100px; color: #93c5fd;
  text-decoration: none; transition: background .2s, border-color .2s;
  width: fit-content;
}
.proj-live:hover { background: rgba(96,165,250,.3); border-color: rgba(96,165,250,.7); }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testi { background: var(--surface); }

.testi-wrap {
  max-width: 820px; margin: 0 auto; position: relative;
}

.testi-slider { overflow: hidden; border-radius: var(--r-xl); }

.testi-slide {
  display: none; padding: 56px 64px;
  background: var(--card); border: 1px solid var(--border);
  position: relative;
}
.testi-slide.active { display: block; animation: fadeSlide .5s var(--ease) both; }
@keyframes fadeSlide { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

.testi-quote {
  position: absolute; top: 24px; left: 48px;
  font-size: 7rem; line-height: 1; color: rgba(96,165,250,.12);
  font-weight: 800; font-style: italic; pointer-events: none;
}

.testi-slide blockquote {
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 300; font-style: italic;
  line-height: 1.7; color: var(--white); margin-bottom: 36px;
  position: relative; z-index: 1;
}

.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #000;
}
.testi-who > div strong { display: block; font-size: 14px; font-weight: 800; }
.testi-who > div span  { font-size: 13px; color: var(--muted); }
.testi-stars { margin-left: auto; color: #f59e0b; font-size: .95rem; letter-spacing: 2px; }

.testi-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 28px;
}
.testi-prev, .testi-next {
  width: 40px; height: 40px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); font-size: 1rem;
  transition: border-color .2s, color .2s, background .2s;
}
.testi-prev:hover, .testi-next:hover { border-color: var(--green); color: var(--green); background: var(--green-dim); }
.testi-dots { display: flex; gap: 8px; }
.tdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dim); border: none;
  transition: background .3s, transform .3s; cursor: none;
}
.tdot.active { background: var(--green); transform: scale(1.4); }

/* ============================================================
   CTA + CONTACT
============================================================ */
.cta-contact { background: var(--bg); }

.cta-contact-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start;
}

.cta-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px;
}
.cta-left h2 em { font-style: italic; font-weight: 300; color: var(--muted); }
.cta-left > p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }

.cta-points { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.cta-point { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
.cp-icon { color: var(--green); font-size: 9px; flex-shrink: 0; }

.cta-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-socials a {
  padding: 7px 16px; font-size: 13px; font-weight: 700;
  background: var(--card); border: 1px solid var(--border); border-radius: 100px;
  color: var(--muted); transition: border-color .2s, color .2s;
}
.cta-socials a:hover { border-color: rgba(96,165,250,.35); color: var(--green); }

/* Form */
.contact-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 0; }

.field label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
}

.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  color: var(--white); font-size: 14px; font-family: var(--font);
  outline: none; width: 100%; appearance: none; -webkit-appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236c6c7a' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px;
  padding-right: 42px;
}
.field select option { background: #111115; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(96,165,250,.5);
  box-shadow: 0 0 0 3px rgba(96,165,250,.1);
}
.field textarea { resize: vertical; min-height: 120px; margin-bottom: 24px; }

.form-ok {
  display: none; align-items: center; gap: 10px;
  margin-top: 14px; padding: 13px 16px;
  background: rgba(96,165,250,.08); border: 1px solid rgba(96,165,250,.25);
  border-radius: 10px; color: var(--green); font-size: 13px; font-weight: 700;
}
.form-ok.show { display: flex; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--border); }

.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  padding-top: 60px; padding-bottom: 52px;
}
.footer-brand .logo { display: inline-flex; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; }

.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--white); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-row > span { font-size: 13px; color: var(--muted); }
.footer-bottom-row > div { display: flex; gap: 20px; }
.footer-bottom-row > div a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-bottom-row > div a:hover { color: var(--white); }

/* ── Trademark Bar ── */
.trademark-bar { background: #040406; border-top: 1px solid var(--border-soft); padding: 10px 0; text-align: center; }
.trademark-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: 12px; letter-spacing: .02em; transition: color .2s; }
.trademark-link:hover { color: var(--white); }
.trademark-logo { max-height: 18px; width: auto; display: block; }
.trademark-name { font-weight: 600; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .svc-row { grid-template-columns: 120px 1fr auto; }
  .about-wrap { grid-template-columns: 1fr; gap: 56px; }
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .proj-lg { grid-row: span 1; }
  .proj-lg { grid-row: auto; }
  .cta-contact-wrap { grid-template-columns: 1fr; gap: 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .sec { padding: 80px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .svc-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .svc-row-left { flex-direction: row; align-items: center; gap: 14px; }
  .svc-arrow { display: none; }
  .hero-stats { gap: 0; }
  .hstat { padding: 0 20px; }
  .hstat-sep { display: none; }
  .testi-slide { padding: 32px 28px; }
  .testi-quote { font-size: 5rem; }
  .contact-form { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero-h { letter-spacing: -.025em; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { text-align: center; justify-content: center; }
  .proc-grid { grid-template-columns: 1fr; }
  .work-grid { grid-auto-rows: 240px; }
  .stats-2x2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom-row { flex-direction: column; text-align: center; }
  .testi-stars { display: none; }
}
