:root{
  --bg:#070707;
  --bg2:#0b0b0b;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --stroke: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.90);
  --muted: rgba(255,255,255,.66);
  --muted2: rgba(255,255,255,.48);
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 26px;
  --max: 1160px;
  --pad: clamp(16px, 2vw, 22px);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 520px at 10% 10%, rgba(255,255,255,.04), transparent 60%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 55%, #060606 100%);
  color:var(--text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
.wrap{ width:min(var(--max), 100%); margin:0 auto; padding:0 var(--pad); }

/* Icons */
.ico{ width:18px; height:18px; display:inline-block; vertical-align:middle; fill: currentColor; }
.socials{ display:flex; gap:8px; align-items:center; }
.iconbtn{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.iconbtn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.iconbtn:active{ transform: translateY(0px); }

/* Header */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,7,7,.58);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding: 12px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 230px;
}
.brand img{
  width:38px; height:38px; object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
}
.brand .btxt{ line-height:1.05; }
.brand .btxt strong{ display:block; letter-spacing:.16em; font-size:13px; }
.brand .btxt span{ display:block; color:var(--muted); font-size:12px; margin-top:2px; }

nav ul{ list-style:none; padding:0; margin:0; display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
nav a{
  color:var(--muted); font-size:13px;
  padding:8px 10px; border-radius:999px;
  transition: .2s ease; border: 1px solid transparent;
}
nav a:hover{ color:var(--text); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); }

.nav-cta{
  display:flex; gap:10px; align-items:center;
  min-width: 320px; justify-content:flex-end;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight:600;
  letter-spacing:.01em;
  font-size:13px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  user-select:none;
  cursor:pointer;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.btn:active{ transform: translateY(0px); }
.btn.primary{ border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.12); }
.btn.ghost{ background: transparent; box-shadow:none; }

.hamb{
  display:none;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 9px 10px;
  cursor:pointer;
}
.hamb span{ display:block; width:18px; height:2px; background: rgba(255,255,255,.76); margin:4px 0; border-radius:2px; }

.mnav{ display:none; padding: 0 0 12px; }
.mnav.on{ display:block; }
.mnav a{
  display:block; padding: 12px 10px; border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  margin-top: 8px; color: var(--muted);
}
.mnav a:hover{ color: var(--text); border-color: rgba(255,255,255,.14); }

/* Ticker */
.ticker{
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.24);
}
.tickerRow{ display:flex; align-items:center; gap:12px; padding: 10px 0; }
.tLabel{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 11px; letter-spacing:.14em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 7px 10px;
  border-radius: 999px;
  white-space:nowrap;
  flex: 0 0 auto;
}
.tDot{ width:7px; height:7px; border-radius:999px; background: rgba(255,255,255,.82); box-shadow: 0 0 16px rgba(255,255,255,.10); }
.tMarquee{
  position:relative; overflow:hidden;
  flex: 1 1 auto; min-width: 0;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 7px 0;
}
.tTrack{
  display:flex; gap: 34px; align-items:center;
  white-space: nowrap;
  will-change: transform;
  animation: scroll 48s linear infinite;
  padding-left: 18px;
}
.tMarquee:hover .tTrack{ animation-play-state: paused; }
@keyframes scroll{ 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }

.tItem{
  display:inline-flex; align-items:center; gap:10px;
  color: rgba(255,255,255,.86);
  font-size: 12.5px;
  line-height: 1;
  border-radius: 999px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
  transition: .18s ease;
}
.tItem:hover{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.tMeta{ color: rgba(255,255,255,.55); font-size: 11.5px; }

.tControls{ display:flex; gap:8px; align-items:center; flex: 0 0 auto; }
.tBtn{
  display:inline-flex; align-items:center; justify-content:center;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.80);
  cursor:pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.tBtn:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.tBtn.on{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.30); color: rgba(255,255,255,.92); }
.tBtn.icon{ width: 32px; padding:0; font-size: 14px; }

/* Sections */
section{ padding: 54px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-head h2{ margin:0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing:-.01em; }
.section-head p{ margin:0; color:var(--muted); max-width:70ch; }

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
  overflow:hidden;
  position:relative;
}
.card .pad{ padding: 16px; }
.card h3{ margin:0 0 6px; font-size: 16px; }
.card p{ margin:0; color:var(--muted); line-height:1.55; font-size: 13px; }

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  color: rgba(255,255,255,.72);
  padding: 7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  width: fit-content;
}
.badge i{ width:9px; height:9px; border-radius:50%; display:inline-block; background: rgba(255,255,255,.75); box-shadow: 0 0 16px rgba(255,255,255,.14);}

/* Hero */
.hero{ position:relative; padding: clamp(24px, 4vw, 56px) 0 26px; }
.hero-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: clamp(18px, 3.2vw, 34px); align-items:stretch; }
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; color:var(--muted);
  letter-spacing:.14em; text-transform:uppercase;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  padding: 8px 12px;
  border-radius: 999px;
  width: fit-content;
}
.dot{ width:8px; height:8px; border-radius:50%; background: rgba(255,255,255,.9); box-shadow: 0 0 18px rgba(255,255,255,.15); }
h1{ margin: 14px 0 10px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.02em; }
.lead{ color: var(--muted); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.55; max-width: 62ch; margin: 12px 0 18px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.mini{ color: var(--muted2); font-size: 12px; margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.pill{ display:inline-flex; align-items:center; gap:8px; padding: 7px 10px; border-radius:999px; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10); }
.spark{ width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.82); box-shadow: 0 0 18px rgba(255,255,255,.12); }

.hero-card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
  min-height: 320px;
  display:grid;
  place-items:center;
  padding: 18px;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(560px 260px at 85% 15%, rgba(255,255,255,.09), transparent 62%),
    radial-gradient(520px 300px at 15% 35%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(480px 300px at 50% 105%, rgba(255,255,255,.05), transparent 70%);
  opacity:.9;
  pointer-events:none;
}
.hero-badge{
  position:relative;
  border-radius: 20px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  padding: 16px 16px;
  width: 100%;
  max-width: 420px;
}
.hero-badge h3{ margin:0 0 8px; font-size: 15px; }
.hero-badge p{ margin:0; color: var(--muted); font-size: 13px; line-height:1.5; }
.hero-badge .small{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; color: var(--muted2); font-size: 12px; }

/* Portfolio */
.filters{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.chip{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 9px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 12px;
  cursor:pointer;
  user-select:none;
  transition:.18s ease;
}
.chip:hover{ color:var(--text); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06);}
.chip.active{ color: var(--text); border-color: rgba(255,255,255,.30); background: rgba(255,255,255,.10); }

.port-grid{ margin-top: 14px; display:grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.work{
  grid-column: span 4;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  position:relative;
  min-height: 230px;
  cursor:pointer;
  transform: translateZ(0);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.work:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.work img{ width:100%; height:100%; object-fit:cover; display:block; filter: grayscale(1) contrast(1.06) brightness(.92); transform: scale(1.02); }
.work .meta{ position:absolute; left:12px; right:12px; bottom:12px; display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
.work .title{
  background: rgba(0,0,0,.50);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  padding: 10px 10px;
  border-radius: 14px;
  max-width: 72%;
}
.work .title strong{ display:block; font-size: 13px; }
.work .title span{ display:block; font-size: 12px; color: rgba(255,255,255,.72); margin-top:2px; }
.work .tag{
  background: rgba(0,0,0,.50);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: rgba(255,255,255,.78);
  white-space:nowrap;
}

/* Steps */
.steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.step{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 14px 14px;
  position:relative;
  overflow:hidden;
}
.num{
  font-weight:800;
  letter-spacing:.08em;
  color: rgba(255,255,255,.20);
  font-size: 28px;
  position:absolute; top:10px; right:12px;
}
.step h4{ margin:0 0 6px; font-size: 14px; }
.step p{ margin:0; font-size: 12.5px; color: var(--muted); line-height:1.55; }

/* Contact */
.contact{ display:grid; grid-template-columns: 1fr .9fr; gap: 14px; align-items:stretch; }
.form{ padding: 16px; }
.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top:10px; }
label{ display:block; font-size: 12px; color: var(--muted); margin: 10px 0 6px; }
input, textarea, select{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.24);
  color: var(--text);
  padding: 12px 12px;
  outline:none;
  font-size: 13px;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}
.fine{ color: var(--muted2); font-size: 12px; margin-top: 10px; line-height:1.5; }

/* Footer */
footer{ padding: 26px 0 40px; border-top:1px solid rgba(255,255,255,.08); color: var(--muted2); font-size: 12px; }
.foot{ display:flex; justify-content:space-between; gap: 14px; flex-wrap:wrap; align-items:center; }

/* Reveal */
.reveal{ opacity:0; transform: translateY(10px); transition: .6s ease; }
.reveal.on{ opacity:1; transform: translateY(0px); }
.delay1{ transition-delay: .06s; }
.delay2{ transition-delay: .12s; }
.delay3{ transition-delay: .18s; }

/* Modal */
.modal{
  position:fixed; inset:0; z-index:80;
  display:none; place-items:center;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(12px);
  padding: 18px;
}
.modal.on{ display:grid; }
.modal .box{
  width: min(980px, 100%);
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,10,10,.86);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  overflow:hidden;
}
.modal .top{
  display:flex; justify-content:space-between; align-items:center;
  padding: 12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modal .close{
  cursor:pointer;
  padding: 10px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
}
.modal img{ width:100%; height: auto; display:block; filter: grayscale(1) contrast(1.05); }

/* Music */
.player{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.player h3{ margin:0; font-size: 15px; }
.player .rowp{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
audio{ width:100%; filter: grayscale(1) contrast(1.05); }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .work{ grid-column: span 6; }
  .tMeta{ display:none; }
  .tTrack{ gap: 18px; }
  .tMarquee{ padding: 8px 0; }
}
@media (max-width: 720px){
  nav ul{ display:none; }
  .hamb{ display:block; }
  .nav-cta{ min-width:auto; }
  .brand{ min-width:auto; }
  .row{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .work{ grid-column: span 12; min-height: 240px; }
  .socials{ display:none; }
  .tLabel{ display:none; }
}


/* Thumbnails (cards with images) */
.thumb{ margin: 0 0 12px; }
.thumb img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* Hero cards with background images */
.hero-card{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 720px){
  .thumb img{ height: 160px; }
}


/* Brand icon colors */
.iconbtn.fb{ color:#1877F2; }
.iconbtn.ig{
  color:#E1306C;
  background: rgba(225,48,108,.08);
  border-color: rgba(225,48,108,.22);
}
.iconbtn.wa{ color:#25D366; }
.iconbtn.mail{ color:#EA4335; }

.iconbtn.fb:hover{ background: rgba(24,119,242,.10); border-color: rgba(24,119,242,.22); }
.iconbtn.wa:hover{ background: rgba(37,211,102,.10); border-color: rgba(37,211,102,.22); }
.iconbtn.mail:hover{ background: rgba(234,67,53,.10); border-color: rgba(234,67,53,.22); }

/* WhatsApp primary CTA (green + glow) */
.btn.whatsapp{
  border-color: rgba(37, 211, 102, .55);
  background: rgba(37, 211, 102, .16);
  box-shadow: 0 10px 32px rgba(0,0,0,.35), 0 0 0 rgba(37,211,102,0);
  color: rgba(255,255,255,.95);
}
.btn.whatsapp:hover{
  border-color: rgba(37, 211, 102, .75);
  background: rgba(37, 211, 102, .22);
  box-shadow: 0 10px 32px rgba(0,0,0,.35), 0 0 26px rgba(37,211,102,.26);
}
.btn.whatsapp .ico{ fill: currentColor; }

/* Contact info color bullets */
.bul.fb{ background:#1877F2 !important; }
.bul.wa{ background:#25D366 !important; }
.bul.mail{ background:#EA4335 !important; }

/* Hero image inside cards */
.hero-visual{
  width:100%;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
  margin-top: 12px;
}
.hero-visual img{
  width:100%;
  height: 210px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.92);
  display:block;
}


/* ===== Interactive Reveal Background ===== */
:root{ --mx: 50%; --my: 20%; }
.bg-reveal{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .92;
}
.bg-reveal::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(520px 520px at var(--mx) var(--my),
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,.06) 22%,
      rgba(0,0,0,0) 56%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,0) 40%),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.05), transparent 60%);
  filter: blur(0px);
  transition: opacity .25s ease;
}
.bg-reveal::after{
  content:"";
  position:absolute; inset:-2px;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .25;
  mix-blend-mode: screen;
  mask-image: radial-gradient(360px 360px at var(--mx) var(--my),
    rgba(0,0,0,.95) 0%,
    rgba(0,0,0,.55) 25%,
    rgba(0,0,0,0) 62%);
}

/* ===== 3D Mockups ===== */
.mockups{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.mock{
  grid-column: span 4;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  overflow:hidden;
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
  position:relative;
  min-height: 250px;
}
.mock:hover{ border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.mock .glare{
  position:absolute; inset:-40px;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 55%);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
  mix-blend-mode: screen;
}
.mock .mock-top{
  padding: 16px 16px 10px;
  display:flex; align-items:center; justify-content:space-between;
}
.dots{ display:flex; gap:6px; }
.dots i{ width:8px; height:8px; border-radius:99px; background: rgba(255,255,255,.16); display:inline-block;}
.mock .screen{
  margin: 0 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: #0b0b0b;
  overflow:hidden;
  position:relative;
}
.mock .screen img{
  width:100%;
  height: 150px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.92);
  display:block;
}
.mock .cap{ padding: 12px 16px 16px; }
.mock .cap h3{ margin:0 0 6px; font-size: 16px; }
.mock .cap p{ margin:0; color: var(--muted); font-size: 13px; }

/* responsive */
@media (max-width: 980px){
  .mock{ grid-column: span 6; }
}
@media (max-width: 640px){
  .mock{ grid-column: span 12; }
}

/* ===== Vector Animation ===== */
.vec-draw path, .vec-draw line, .vec-draw polyline, .vec-draw polygon, .vec-draw circle, .vec-draw rect{
  stroke: rgba(255,255,255,.80);
  stroke-width: 2;
  fill: transparent;
  transition: stroke-dashoffset 1.2s cubic-bezier(.2,.9,.2,1);
}
.vec-draw.draw-on path, .vec-draw.draw-on line, .vec-draw.draw-on polyline, .vec-draw.draw-on polygon, .vec-draw.draw-on circle, .vec-draw.draw-on rect{
  stroke-dashoffset: 0;
}

/* ===== Creative Navigation underline ===== */
nav a{
  position: relative;
}
nav a::after{
  content:"";
  position:absolute; left:10px; right:10px; bottom: -8px;
  height:1px;
  background: rgba(255,255,255,.0);
  transform: scaleX(.35);
  transform-origin: 50% 50%;
  transition: transform .22s ease, background .22s ease;
}
nav a:hover::after{
  background: rgba(255,255,255,.28);
  transform: scaleX(1);
}


/* ===== Button contrast system (requested) ===== */
.btn{
  background: rgba(255,255,255,.92);
  color: #0b0b0b;
  border-color: rgba(255,255,255,.55);
}
.btn:hover{
  background: rgba(255,255,255,.98);
  border-color: rgba(255,255,255,.70);
}
.btn.ghost{
  background: transparent;
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.22);
}
.btn.ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.32);
}
.btn.primary{
  background: rgba(255,255,255,.92);
  color:#0b0b0b;
  border-color: rgba(255,255,255,.55);
}
.btn.primary:hover{
  background: rgba(255,255,255,.98);
  border-color: rgba(255,255,255,.70);
}



body:hover .bg-reveal::after{
  opacity: .38;
}



/* ===== Button sheen + micro motion ===== */
.btn{
  position: relative;
  overflow:hidden;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-1px) scale(1.01); }
.btn::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:40%;
  height:180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(18deg);
  opacity: 0;
}
.btn:hover::before{
  animation: sheen .9s ease;
}
@keyframes sheen{
  0%{ transform: translateX(0) rotate(18deg); opacity: 0; }
  10%{ opacity: .35; }
  100%{ transform: translateX(520%) rotate(18deg); opacity: 0; }
}


/* ===== Background reveal: tiled logo OUTLINE + "electric trace" ===== */
:root{ --mx: 50%; --my: 20%; }
.bg-reveal{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
}
.bg-reveal::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 720px at 50% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 520px at 20% 70%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(900px 520px at 80% 75%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, #070707, #0b0b0b 60%, #070707);
}

/* base tiled outline across page (very subtle) */
.bg-reveal::after{
  content:"";
  position:absolute; inset:-3px;
  background-image: url("logo-outline.png");
  background-repeat: repeat;
  background-size: 140px 140px;
  opacity: .10;
  mix-blend-mode: screen;
}

/* revealed + electrified tile layer (on hover/move) */
.bg-reveal .tileGlow{
  position:absolute; inset:-3px;
  background-image:
    url("logo-outline.png"),
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 22px);
  background-repeat: repeat, repeat, repeat;
  background-size: 140px 140px, 220px 220px, 260px 260px;
  opacity: .40;
  mix-blend-mode: screen;

  mask-image: radial-gradient(420px 420px at var(--mx) var(--my),
    rgba(0,0,0,.98) 0%,
    rgba(0,0,0,.60) 30%,
    rgba(0,0,0,0) 72%);
  animation: evTrace 6s linear infinite;
  filter: brightness(1.08) contrast(1.10);
}

/* electric movement */
@keyframes evTrace{
  0%   { background-position: 0 0, 0 0, 0 0; }
  50%  { background-position: 70px 70px, 110px -140px, -160px 180px; }
  100% { background-position: 140px 140px, 220px -280px, -320px 360px; }
}

50%{ transform: translate(-50%,-50%) scale(1.08); opacity:1; }
}

body:hover .bg-reveal .tileGlow{ opacity: .40; }

.cursor-active .bg-reveal .tileGlow{ opacity: .40; }


/* ===== Electric circuit border (runs along the outline) ===== */
.card, .work, .step, .hero-card{
  position: relative;
  transform-style: preserve-3d;
}
.card::before, .work::before, .step::before, .hero-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  padding: 1px;
  /* small bright pulses that move like electricity */
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255,255,255,0) 0 10deg,
    rgba(255,255,255,.90) 10deg 12deg,
    rgba(255,255,255,0) 12deg 22deg
  );
  opacity: .70;
  pointer-events:none;
  animation: evBorderRun 1.25s linear infinite, evBorderFlicker 1.9s steps(2,end) infinite;

  /* border-only mask */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  /* glow that hugs the edge (not outside blur cloud) */
  filter: drop-shadow(0 0 6px rgba(255,255,255,.22)) drop-shadow(0 0 12px rgba(255,255,255,.10));
  mix-blend-mode: screen;
}
@keyframes evBorderRun{ to{ transform: rotate(360deg); } }
@keyframes evBorderFlicker{
  0%,100%{ opacity:.62; }
  50%{ opacity:.88; }
}
.card:hover::before, .work:hover::before, .step:hover::before, .hero-card:hover::before{
  opacity: .95;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.26)) drop-shadow(0 0 20px rgba(255,255,255,.14));
}


/* ===== Cursor light (less bright, not a circle): cross + streaks ===== */
.bg-reveal .spark{
  position:absolute;
  left: var(--mx);
  top: var(--my);
  width: 220px;
  height: 220px;
  transform: translate(-50%,-50%);
  opacity: .55;
  pointer-events:none;
  mix-blend-mode: screen;
  animation: sparkPulse 1.8s ease-in-out infinite;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.12) 0%, rgba(255,255,255,.05) 18%, rgba(0,0,0,0) 62%),
    linear-gradient(90deg, rgba(0,0,0,0), rgba(255,255,255,.14), rgba(0,0,0,0)),
    linear-gradient(0deg, rgba(0,0,0,0), rgba(255,255,255,.14), rgba(0,0,0,0)),
    linear-gradient(45deg, rgba(0,0,0,0), rgba(255,255,255,.07), rgba(0,0,0,0)),
    linear-gradient(-45deg, rgba(0,0,0,0), rgba(255,255,255,.07), rgba(0,0,0,0));
}
@keyframes sparkPulse{
  0%,100%{ transform: translate(-50%,-50%) scale(1); opacity:.48; }
  50%{ transform: translate(-50%,-50%) scale(1.05); opacity:.66; }
}


/* WhatsApp buttons: SOLID GREEN */
.btn.whatsapp{
  background: #25D366;
  color: rgba(255,255,255,.98);
  border-color: rgba(37,211,102,.95);
  box-shadow: 0 10px 32px rgba(0,0,0,.35), 0 0 28px rgba(37,211,102,.18);
}
.btn.whatsapp:hover{
  background: #1FCE5E;
  border-color: rgba(37,211,102,1);
  box-shadow: 0 10px 32px rgba(0,0,0,.35), 0 0 34px rgba(37,211,102,.24);
}


/* ===== DISABLE CURSOR SPARK (requested) ===== */
.bg-reveal .spark{ display:none !important; opacity:0 !important; }

/* SUBTLE TILEGLOW */
.bg-reveal .tileGlow{ opacity: .32 !important; }
body:hover .bg-reveal .tileGlow{ opacity: .38 !important; }
.cursor-active .bg-reveal .tileGlow{ opacity: .40 !important; }

/* ===== NO TRANSPARENCY ON HOVER (requested) ===== */
.card:hover, .work:hover, .step:hover, .hero-card:hover{
  background: rgba(255,255,255,.045) !important;
  opacity: 1 !important;
}
.work:hover{ background: rgba(255,255,255,.03) !important; } /* keep gallery consistent */
.step:hover{ background: rgba(255,255,255,.04) !important; }
.hero-card:hover{ background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)) !important; }

.btn, .btn:hover, .btn:active{
  opacity: 1 !important;
}

/* ===== LED OUTLINE BORDER (slow, bright colors) ===== */
.card::before, .work::before, .step::before, .hero-card::before{
  inset:-1px !important;
  padding: 1px !important;
  opacity: .92 !important;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(0,0,0,0) 0 8deg,
    rgba(0,255,255,.95) 8deg 10deg,
    rgba(0,0,0,0) 10deg 18deg,
    rgba(255,0,255,.95) 18deg 20deg,
    rgba(0,0,0,0) 20deg 28deg,
    rgba(0,255,120,.95) 28deg 30deg,
    rgba(0,0,0,0) 30deg 38deg,
    rgba(255,220,0,.95) 38deg 40deg,
    rgba(0,0,0,0) 40deg 48deg,
    rgba(0,140,255,.95) 48deg 50deg,
    rgba(0,0,0,0) 50deg 58deg
  ) !important;
  animation: ledRun 12s linear infinite !important;
  filter: drop-shadow(0 0 7px rgba(255,255,255,.18)) drop-shadow(0 0 16px rgba(0,255,255,.10)) !important;
  mix-blend-mode: screen !important;
}
@keyframes ledRun{ to{ transform: rotate(360deg); } }

/* keep hover stable; only slight intensity */
.card:hover::before, .work:hover::before, .step:hover::before, .hero-card:hover::before{
  opacity: 1 !important;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.22)) drop-shadow(0 0 22px rgba(0,255,255,.12)) !important;
}


/* ===== V13: LED underglow (UNDER elements) + slow hover activation ===== */

/* Create stacking context so ::after can sit UNDER the element */
.card, .work, .step, .hero-card, .btn, .chip, .iconbtn, .tMarquee{
  position: relative;
  z-index: 0;
  isolation: isolate;
}

/* Border "electric" outline should activate slowly on hover (NOT always on) */
.card::before, .work::before, .step::before, .hero-card::before{
  opacity: 0 !important;
  transition: opacity 1.05s ease;
}
.card:hover::before, .work:hover::before, .step:hover::before, .hero-card:hover::before{
  opacity: 1 !important;
}

/* Under-glow ring (sits below, hugs contour, LED colors) */
.card::after, .work::after, .step::after, .hero-card::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius: inherit;
  pointer-events:none;
  z-index: -1;

  background: conic-gradient(from 0deg,
    rgba(0,255,255,.0),
    rgba(0,255,255,.85),
    rgba(255,0,255,.85),
    rgba(0,255,120,.85),
    rgba(255,220,0,.85),
    rgba(0,140,255,.85),
    rgba(0,255,255,.0)
  );

  opacity: 0;
  filter: blur(16px) saturate(1.05);
  transform: translateZ(-1px);
  transition: opacity 1.05s ease;
}

/* Activate slowly on hover */
.card:hover::after, .work:hover::after, .step:hover::after, .hero-card:hover::after{
  opacity: .55;
  animation: ledUnderSpin 14s linear infinite;
}
@keyframes ledUnderSpin{ to{ transform: translateZ(-1px) rotate(360deg); } }

/* Buttons: keep existing sheen, add underglow as ::after */
.btn{
  z-index: 0;
  isolation: isolate;
}
.btn::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius: 999px;
  pointer-events:none;
  z-index:-1;

  background: conic-gradient(from 0deg,
    rgba(0,255,255,.0),
    rgba(255,0,255,.85),
    rgba(0,255,120,.85),
    rgba(255,220,0,.85),
    rgba(0,140,255,.85),
    rgba(0,255,255,.0)
  );

  opacity: 0;
  filter: blur(14px) saturate(1.05);
  transition: opacity 1.05s ease;
}
.btn:hover::after{
  opacity: .52;
  animation: ledUnderSpinBtn 16s linear infinite;
}
@keyframes ledUnderSpinBtn{ to{ transform: rotate(360deg); } }

/* WhatsApp button: also gets LED underglow, but keep it solid */
.btn.whatsapp::after{
  border-radius: 999px;
}
.btn.whatsapp:hover::after{
  opacity: .62;
}

/* Ensure NO transparency changes on hover (keep solid) */
.card:hover, .work:hover, .step:hover, .hero-card:hover{
  opacity: 1 !important;
}
.btn:hover{ opacity: 1 !important; }

/* ===== Background logo-outline animation: slower + more "3D texture" feel ===== */
.bg-reveal::after{
  /* slow drift + subtle rotate/scale for different "forms" */
  transform-origin: 50% 50%;
  animation: bgOutlineDrift 34s ease-in-out infinite;
  filter: contrast(1.06) brightness(1.03);
}
@keyframes bgOutlineDrift{
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1);     background-position: 0 0; }
  33%  { transform: translate3d(10px,-14px,0) rotate(0.6deg) scale(1.02); background-position: 70px 40px; }
  66%  { transform: translate3d(-12px,10px,0) rotate(-0.4deg) scale(1.01); background-position: 140px 110px; }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1);     background-position: 210px 160px; }
}

/* Make the revealed layer slower and with extra shading for 3D texture */
.bg-reveal .tileGlow{
  background-image:
    url("logo-outline.png"),
    radial-gradient(ellipse at 25% 20%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(ellipse at 75% 85%, rgba(0,0,0,.34), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 22px);
  background-repeat: repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: 140px 140px, 1200px 800px, 1200px 800px, 220px 220px, 260px 260px;

  animation: evTraceSlow 26s linear infinite;
  filter: contrast(1.12) brightness(1.06);
}
@keyframes evTraceSlow{
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  50%  { background-position: 70px 70px, 40px 10px, -40px -10px, 110px -140px, -160px 180px; }
  100% { background-position: 140px 140px, 0 0, 0 0, 220px -280px, -320px 360px; }
}


/* ===== V14: LINE-ONLY LED around elements (no inner, no big glow) ===== */

/* Keep backgrounds stable (no transparency shifts) */
.card, .work, .step, .hero-card{
  background: rgba(255,255,255,.045);
}
.work{ background: rgba(255,255,255,.03); }
.step{ background: rgba(255,255,255,.04); }
.hero-card{ background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); }
.card:hover, .work:hover, .step:hover, .hero-card:hover{ opacity:1 !important; }

/* Remove underglow blur for cards/buttons */
.card::after, .work::after, .step::after, .hero-card::after,
.btn::after{
  filter: none !important;
  background: none !important;
  opacity: 0 !important;
  animation: none !important;
}

/* LED line on hover - OUTSIDE ring */
.card::before, .work::before, .step::before, .hero-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg,
    rgba(0,255,255,.0),
    rgba(0,255,255,.95),
    rgba(255,0,255,.95),
    rgba(0,255,120,.95),
    rgba(255,220,0,.95),
    rgba(0,140,255,.95),
    rgba(0,255,255,.0)
  );
  opacity: 0;
  pointer-events:none;
  transition: opacity 1.05s ease;
  animation: ledLineSpin 18s linear infinite;

  /* border-only mask */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  /* subtle outer glow only (shadow) */
  box-shadow: 0 0 14px rgba(255,255,255,.08);
  mix-blend-mode: screen;
}
.card:hover::before, .work:hover::before, .step:hover::before, .hero-card:hover::before{
  opacity: 1;
}
@keyframes ledLineSpin{ to{ transform: rotate(360deg); } }

/* Buttons: LED line as ::after (keep existing ::before sheen) */
.btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 999px;
  padding: 2px;
  pointer-events:none;
  opacity: 0;
  transition: opacity 1.05s ease;
  background: conic-gradient(from 0deg,
    rgba(0,255,255,.0),
    rgba(255,0,255,.95),
    rgba(0,255,120,.95),
    rgba(255,220,0,.95),
    rgba(0,140,255,.95),
    rgba(0,255,255,.0)
  );
  animation: ledLineSpinBtn 22s linear infinite;

  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  box-shadow: 0 0 12px rgba(255,255,255,.08);
  mix-blend-mode: screen;
}
.btn:hover::after{ opacity: 1; }
@keyframes ledLineSpinBtn{ to{ transform: rotate(360deg); } }

/* WhatsApp solid green stays solid */
.btn.whatsapp{ background:#25D366 !important; }
.btn.whatsapp:hover{ background:#1FCE5E !important; }


/* ===== V14: Background outline slower + varied motion ===== */
.bg-reveal::after{
  animation-duration: 70s !important;
}
.bg-reveal .tileGlow{
  animation-duration: 52s !important;
}
.bg-reveal .emboss{
  position:absolute; inset:-3px;
  background-image: url("logo-outline.png");
  background-repeat: repeat;
  background-size: 140px 140px;
  opacity: .06;
  mix-blend-mode: overlay;
  filter: blur(0.2px) contrast(1.1);
  transform-origin: 50% 50%;
  animation: embossDrift 80s ease-in-out infinite;
}
@keyframes embossDrift{
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); background-position: 0 0; }
  40%  { transform: translate3d(-16px,12px,0) rotate(-0.8deg) scale(1.02); background-position: 110px 70px; }
  70%  { transform: translate3d(18px,-10px,0) rotate(0.5deg) scale(1.01); background-position: 180px 120px; }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); background-position: 260px 180px; }
}


/* ===== V15: LED line BEHIND cards/buttons (above page background, below elements) ===== */

/* Ensure cards/buttons create a stacking context so ring can sit behind them */
.card, .work, .step, .hero-card, .btn{
  position: relative;
  z-index: 0;
  isolation: isolate;
}

/* Disable top ring (if any) */
.card::before, .work::before, .step::before, .hero-card::before{
  opacity: 0 !important;
  animation: none !important;
}

/* Cards: LED ring behind (z-index:-1) */
.card::after, .work::after, .step::after, .hero-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  padding: 2px;
  pointer-events:none;
  z-index:-1;

  background: conic-gradient(from 0deg,
    rgba(0,255,255,.0),
    rgba(0,255,255,.95),
    rgba(255,0,255,.95),
    rgba(0,255,120,.95),
    rgba(255,220,0,.95),
    rgba(0,140,255,.95),
    rgba(0,255,255,.0)
  );

  /* border-only mask */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  opacity: 0;
  transition: opacity 1.05s ease;
  animation: ledBehindSpin 22s linear infinite;
  box-shadow: 0 0 12px rgba(255,255,255,.08);
  mix-blend-mode: screen;
}

.card:hover::after, .work:hover::after, .step:hover::after, .hero-card:hover::after{
  opacity: 1;
}

@keyframes ledBehindSpin{ to{ transform: rotate(360deg); } }

/* Buttons: LED ring behind (keep existing sheen ::before) */
.btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 999px;
  padding: 2px;
  pointer-events:none;
  z-index:-1;

  background: conic-gradient(from 0deg,
    rgba(0,255,255,.0),
    rgba(255,0,255,.95),
    rgba(0,255,120,.95),
    rgba(255,220,0,.95),
    rgba(0,140,255,.95),
    rgba(0,255,255,.0)
  );

  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  opacity: 0;
  transition: opacity 1.05s ease;
  animation: ledBehindSpinBtn 26s linear infinite;
  box-shadow: 0 0 10px rgba(255,255,255,.08);
  mix-blend-mode: screen;
}
.btn:hover::after{ opacity: 1; }
@keyframes ledBehindSpinBtn{ to{ transform: rotate(360deg); } }

/* Keep card backgrounds solid (no transparency) */
.card, .work, .step, .hero-card{
  opacity: 1 !important;
}
.card:hover, .work:hover, .step:hover, .hero-card:hover{
  opacity: 1 !important;
}


/* ===== V16: No transparency on cards ===== */
.card{ background: #101010 !important; }
.work{ background: #0e0e0e !important; }
.step{ background: #0f0f0f !important; }
.hero-card{ background: #0f0f0f !important; }
.card:hover, .work:hover, .step:hover, .hero-card:hover{ background: inherit !important; opacity:1 !important; }


/* ===== V16: Brand buttons ===== */
.btn.whatsapp{ background:#25D366 !important; border-color:#25D366 !important; color:#fff !important; }
.btn.whatsapp:hover{ background:#1FCE5E !important; border-color:#1FCE5E !important; }

.btn.facebook{ background:#1877F2 !important; border-color:#1877F2 !important; color:#fff !important; }
.btn.facebook:hover{ background:#1366d6 !important; border-color:#1366d6 !important; }

.btn.instagram{ background:#E1306C !important; border-color:#E1306C !important; color:#fff !important; }
.btn.instagram:hover{ background:#c82459 !important; border-color:#c82459 !important; }

.btn.mail{ background:#EA4335 !important; border-color:#EA4335 !important; color:#fff !important; }
.btn.mail:hover{ background:#d93a2d !important; border-color:#d93a2d !important; }


/* ===== V23: Image color reveal on hover (cursor mask) ===== */
.imgfx-onhover{ --reveal-x: 50%; --reveal-y: 50%; --reveal-r: clamp(120px, 28%, 220px); }

.imgColorReveal{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  transition: opacity .18s ease;
  background-image: var(--img-url);
  background-size: var(--reveal-fit, cover);
  background-position: center;
  background-repeat: no-repeat;

  /* mask: reveal only under cursor */
  -webkit-mask-image: radial-gradient(circle var(--reveal-r) at var(--reveal-x) var(--reveal-y),
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,.98) 36%,
    rgba(0,0,0,.18) 72%,
    rgba(0,0,0,0) 92%);
          mask-image: radial-gradient(circle var(--reveal-r) at var(--reveal-x) var(--reveal-y),
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,.98) 36%,
    rgba(0,0,0,.18) 72%,
    rgba(0,0,0,0) 92%);
}

/* only show on hover */
.imgfx-onhover.imgfx-hot .imgColorReveal{ opacity:1; }

/* keep text overlays above the reveal */
.work .meta{ z-index: 3; }

/* modal wrapper sizing */
.imgfx-wrap .imgColorReveal{
  background-position: center;
}


/* touch/no-hover devices: keep image in color for usability */
@media (hover: none), (pointer: coarse){
  .work img{ filter: none; }
  .imgColorReveal{ display:none; }
}
