/* ==== Pixels Studio — agency style (web) ==== */
@font-face { font-family: "GE SS Two"; src: url("fonts/GESSTwo-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "GE SS Two"; src: url("fonts/GESSTwo-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }

:root {
  --g: #8dc63f; --gd: #5e9422; --k: #000; --w: #fff; --c: #0f1412; --lime: #c9ff8a;
  --wrap: 1200px; --r: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1); --back: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "GE SS Two", "Segoe UI", Tahoma, sans-serif; font-weight: 500; background: var(--k); color: var(--w);
  line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.bg-g { background: var(--g); color: var(--k); } .bg-k { background: var(--k); color: var(--w); }
.bg-w { background: var(--w); color: var(--k); } .bg-c { background: var(--c); color: var(--w); }
.ink-k { color: var(--k); } .ink-w { color: var(--w); } .ink-g { color: var(--g); } .ink-gd { color: var(--gd); }

.bar { display: block; height: 12px; border-radius: 6px; transform-origin: 100% 50%; transform: scaleX(0); transition: transform .7s var(--ease) .25s; }
.bar-k { background: var(--k); } .bar-g { background: var(--g); } .bar-w { background: var(--w); }
.in .bar, .in.bar, .reveal.in ~ .bar { transform: scaleX(1); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 18px;
  border: 3px solid transparent; transition: transform .25s var(--back), background .2s, color .2s; cursor: pointer; font-family: inherit; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: scale(.97); }
.btn-g { background: var(--g); color: var(--k); } .btn-g:hover { background: var(--lime); }
.btn-k { background: var(--k); color: var(--g); } .btn-k:hover { background: #151a17; }
.btn-ghost-k { border-color: var(--k); color: var(--k); } .btn-ghost-k:hover { background: var(--k); color: var(--w); }
.btn-wide { width: 100%; justify-content: center; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ===== NAV ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, padding .3s; padding: 18px 0; }
.nav.solid { background: rgba(0,0,0,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 10px 0; }
.nav-in { display: flex; align-items: center; gap: 28px; }
.nav-logo { background: var(--k); border-radius: 14px; padding: 6px 10px; }
.nav-logo img { width: 112px; height: auto; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-weight: 700; font-size: 17px; }
.nav-links a { color: var(--k); position: relative; padding: 6px 0; transition: color .2s; }
.nav.solid .nav-links a { color: var(--w); }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav.solid .nav-links a:hover { color: var(--g); }
.nav-cta { padding: 11px 22px; font-size: 16px; background: var(--k); color: var(--g); }
.nav.solid .nav-cta { background: var(--g); color: var(--k); }
.nav-burger { display: none; margin-inline-start: auto; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--k); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 2px; background: var(--g); transition: transform .3s var(--ease); }
.nav-burger span:first-child { top: 18px; } .nav-burger span:last-child { top: 27px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.eyebrow { font-weight: 700; font-size: 18px; letter-spacing: .02em; margin-bottom: 14px; }
.hero .eyebrow { display: inline-block; background: var(--k); color: var(--g); padding: 6px 16px; border-radius: 999px; }
.hero-h { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 30px; }
.hero-l1 { font-size: clamp(36px, 5vw, 64px); }
.flip { display: block; font-size: clamp(64px, 11vw, 150px); line-height: 1.25; min-height: 1.25em; white-space: nowrap; }
.flip-w { display: inline-block; }
.flip-w.slam { animation: slam .5s var(--ease) both; }
.flip-w.out { animation: slamOut .22s ease-in both; }
@keyframes slam { from { transform: scale(1.6); filter: blur(14px); opacity: 0; } to { transform: none; filter: none; opacity: 1; } }
@keyframes slamOut { to { transform: translateX(-60px) skewX(12deg); opacity: 0; filter: blur(6px); } }
.hero-bar { width: min(360px, 70%); height: 16px; border-radius: 8px; margin-top: 14px; }
.hero-sub { font-size: clamp(19px, 2vw, 24px); max-width: 560px; margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.hero-tile { width: 100%; height: 100%; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.hx-px rect { transform-box: fill-box; transform-origin: center; animation: pxPop 2s var(--back) infinite; }
.hx-px rect:nth-child(2) { animation-delay: .15s; } .hx-px rect:nth-child(3) { animation-delay: .3s; } .hx-px rect:nth-child(4) { animation-delay: .45s; }
@keyframes pxPop { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 35% { transform: scale(.9); } }
.hero-chip { position: absolute; background: var(--w); color: var(--k); font-weight: 700; font-size: 18px; padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25); animation: floaty 5s ease-in-out infinite; }
.chip-1 { top: 6%; right: -6%; } .chip-2 { bottom: 14%; right: -10%; animation-delay: -1.6s; background: var(--k); color: var(--g); }
.chip-3 { bottom: -2%; left: 4%; animation-delay: -3s; }

.pixels i { position: absolute; width: var(--s); height: var(--s); left: var(--x); top: var(--y); background: var(--k); opacity: .12;
  animation: drift 7s ease-in-out var(--d) infinite; }
@keyframes drift { 50% { transform: translateY(-22px) rotate(8deg); } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 30px; height: 50px; border: 3px solid var(--k); border-radius: 16px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: var(--k); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ===== MARQUEE ===== */
.marquee { overflow: hidden; padding: 26px 0; border-block: 4px solid var(--g); }
.mq-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: mq 28s linear infinite; }
.mq-track span { font-weight: 700; font-size: clamp(30px, 4vw, 52px); color: var(--g); white-space: nowrap; }
.mq-track span:nth-of-type(even) { color: var(--w); }
.mq-track b { width: 18px; height: 18px; background: var(--g); flex: none; }
@keyframes mq { to { transform: translateX(50%); } }

/* ===== SECTIONS ===== */
section { scroll-margin-top: 70px; }
.services, .why, .how { padding: 120px 0; }
.services { background: var(--w); color: var(--k); }
.sec-head { text-align: center; margin-bottom: 64px; display: flex; flex-direction: column; align-items: center; }
.sec-h { font-size: clamp(44px, 7vw, 92px); }
.sec-bar { width: 140px; margin: 16px 0 22px; transform-origin: 50% 50%; }
.sec-sub { font-size: 21px; opacity: .8; }

/* service cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { border-radius: var(--r); padding: 36px 30px 38px; display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform .4s var(--back), box-shadow .4s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: 0 40px 60px -20px rgba(0,0,0,.4); }
.card.bg-w { box-shadow: inset 0 0 0 3px #e6ebe3; }
.card .tile { width: 220px; height: 220px; margin-bottom: 32px; }
.card h3 { font-size: 40px; margin-bottom: 10px; }
.card p { font-size: 18px; opacity: .85; max-width: 300px; }

/* glossy tiles (from the kit) */
.tile { position: relative; border-radius: 26%; overflow: hidden; }
.tile.dark { background: linear-gradient(150deg, #2c3631 0%, #0f1412 55%, #030504 100%);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -14px 34px rgba(0,0,0,.6), 0 30px 60px rgba(0,0,0,.35), 0 0 0 3px rgba(141,198,63,.75); }
.tile.light { background: linear-gradient(150deg, #fff 0%, #eef2ec 55%, #cdd5ca 100%);
  box-shadow: inset 0 3px 0 #fff, inset 0 -14px 34px rgba(0,0,0,.18), 0 30px 60px rgba(0,0,0,.5); }
.tile.metal { background: repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px),
  linear-gradient(130deg, #8c9392 0%, #e4e7e6 36%, #a1a8a7 54%, #eef0ef 72%, #8f9695 100%);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.8), 0 30px 60px rgba(0,0,0,.6); }
.tile .gloss { position: absolute; left: 7%; top: 4%; width: 86%; height: 42%; border-radius: 50% 50% 50% 50% / 60% 60% 26% 26%;
  background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0)); pointer-events: none; z-index: 2; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* tile icon animations: run while the card is on screen */
.card .tile * { animation-play-state: paused; }
.card.in .tile * { animation-play-state: running; }
.ic-sheet { transform-origin: 240px 128px; animation: unroll 3.2s var(--ease) infinite; }
@keyframes unroll { 0% { transform: scaleY(0); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.ic-peel { transform-origin: 380px 380px; animation: peel 3s ease-in-out infinite; }
@keyframes peel { 0%, 15% { transform: scale(.25); } 50%, 75% { transform: scale(1.35); } 100% { transform: scale(.25); } }
.ic-star { stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px #8dc63f) drop-shadow(0 0 16px #8dc63f); animation: trace 3s linear infinite; }
@keyframes trace { 0% { stroke-dashoffset: 100; } 65%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ic-engclip { transform-origin: 240px 120px; animation: engrave 3.2s linear infinite; }
@keyframes engrave { 0% { transform: scaleY(0); } 70%, 92% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.ic-scan { filter: drop-shadow(0 0 8px #8dc63f); animation: scan 3.2s linear infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(240px); opacity: 1; } 71%, 100% { opacity: 0; transform: translateY(240px); } }
.ic-sheen { animation: sheen 2.8s ease-in-out infinite; }
@keyframes sheen { 0%, 20% { transform: rotate(20deg) translateX(-160px); } 70%, 100% { transform: rotate(20deg) translateX(420px); } }
.ic-l1, .ic-l2, .ic-l3 { animation: glow 2.4s steps(1) infinite; }
.ic-l2 { animation-delay: .2s; } .ic-l3 { animation-delay: .4s; }
@keyframes glow { 0% { opacity: .15; } 8% { opacity: 1; } 12% { opacity: .3; } 16%, 85% { opacity: 1; filter: drop-shadow(0 0 10px #8dc63f); } 100% { opacity: .15; } }

/* ===== CLAIM ===== */
.claim { padding: 140px 0; text-align: center; overflow: hidden; }
.claim-in { display: flex; flex-direction: column; align-items: center; }
.claim p { font-weight: 700; line-height: 1.25; }
.claim-a, .claim-c { font-size: clamp(56px, 10vw, 140px); }
.claim-b { font-size: clamp(38px, 6.5vw, 92px); margin: 6px 0; }
.claim-bar { width: 220px; height: 16px; margin-top: 28px; transform-origin: 50% 50%; }
.claim-in > p { opacity: 0; transform: translateY(40px) scale(1.15); filter: blur(10px); transition: all .7s var(--ease); }
.claim-in.in > p { opacity: 1; transform: none; filter: none; }
.claim-in.in > p:nth-child(2) { transition-delay: .15s; } .claim-in.in > p:nth-child(3) { transition-delay: .3s; }
.claim-in.in .bar { transition-delay: .55s; }

/* ===== WHY ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { padding: 34px 26px; border-radius: var(--r); background: #f4f7f1; transition: background .3s, color .3s, transform .4s var(--back); }
.why-item:hover { background: var(--k); color: var(--w); transform: translateY(-8px); }
.why-item h3 { font-size: 26px; margin: 22px 0 8px; }
.why-item p { font-size: 17px; opacity: .8; }
.why-px { display: flex; align-items: flex-end; gap: 6px; height: 40px; }
.why-px i { background: var(--g); display: block; transition: transform .4s var(--back); }
.why-px i:nth-child(1) { width: 34px; height: 34px; } .why-px i:nth-child(2) { width: 24px; height: 24px; margin-bottom: 18px; } .why-px i:nth-child(3) { width: 14px; height: 14px; margin-bottom: 34px; }
.why-item:hover .why-px i { transform: translateY(-6px) rotate(-8deg); }

/* ===== HOW ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--k); color: var(--w); border-radius: var(--r); padding: 30px 26px 34px; position: relative; transition: transform .4s var(--back); }
.step:hover { transform: translateY(-8px) rotate(-1deg); }
.step-n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--g); color: var(--k); font-weight: 700; font-size: 34px; margin-bottom: 22px; }
.step h3 { font-size: 26px; color: var(--g); margin-bottom: 6px; }
.step p { font-size: 17px; opacity: .85; }

/* ===== CONTACT ===== */
.contact { padding: 130px 0 110px; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.endcard { display: flex; flex-direction: column; align-items: center; text-align: center; }
.end-logo { width: min(300px, 80%); height: auto; margin-bottom: 36px; }
.end-hi { font-weight: 700; font-size: clamp(54px, 8vw, 96px); line-height: 1.3; }
.end-branch { font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); display: flex; align-items: center; gap: 12px; margin: 6px 0 26px; }
.pin { width: 28px; height: 34px; animation: pinBounce 1.6s var(--back) infinite; }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
.end-phone { font-weight: 700; font-size: clamp(44px, 6.4vw, 80px); line-height: 1.2; transition: color .2s; }
.end-phone:hover { color: var(--g); }
.num { direction: ltr; display: inline-flex; gap: .28em; }

.quote { background: var(--c); border-radius: 32px; padding: 40px 36px; box-shadow: 0 0 0 3px rgba(141,198,63,.5); display: flex; flex-direction: column; gap: 16px; }
.quote h2 { font-size: clamp(32px, 4vw, 44px); }
.q-note { opacity: .7; margin-top: -8px; }
.quote label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 17px; }
.quote input, .quote select, .quote textarea { font: inherit; font-weight: 500; font-size: 17px; color: var(--w); background: #000; border: 2px solid #2b3530;
  border-radius: 14px; padding: 14px 16px; transition: border-color .2s; width: 100%; }
.quote textarea { resize: vertical; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--g); }
.quote select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8dc63f 50%), linear-gradient(135deg, #8dc63f 50%, transparent 50%);
  background-position: 22px 50%, 16px 50%; background-size: 6px 6px; background-repeat: no-repeat; }

/* ===== FOOTER ===== */
.foot { border-top: 1px solid #1f2622; padding: 26px 0; font-size: 15px; opacity: .75; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--g); display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.35); transition: transform .3s var(--back); }
.wa-float svg { width: 32px; height: 32px; fill: var(--k); }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--g); animation: ring 2s ease-out infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(3n+2), .why-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.grid .reveal:nth-child(3n), .why-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.why-grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .3s; }
.claim-in.reveal { opacity: 1; transform: none; }
.sec-head.in .bar { transform: scaleX(1); }
.hero-h .bar { transform: scaleX(1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; text-align: right; }
  .hero-art { width: min(300px, 70%); order: -1; margin-bottom: 10px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-in { grid-template-columns: 1fr; gap: 70px; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 0; background: var(--k); flex-direction: column; justify-content: center; align-items: center; gap: 30px; font-size: 32px;
    opacity: 0; pointer-events: none; transition: opacity .3s; margin: 0; }
  .nav-links a { color: var(--w) !important; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-cta { display: none; }
  .nav-burger { display: block; z-index: 2; }
  .nav { padding: 12px 0; }
  .hero { padding: 100px 0 90px; }
  .hero-art { width: 220px; }
  .chip-1 { right: -18%; } .chip-2 { right: -22%; }
  .hero-btns .btn { flex: 1 1 100%; justify-content: center; }
  .services, .why, .how { padding: 84px 0; }
  .sec-head { margin-bottom: 44px; }
  .grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .card .tile { width: 190px; height: 190px; }
  .claim { padding: 100px 0; }
  .contact { padding: 90px 0 110px; }
  .quote { padding: 30px 22px; }
  .foot-in { justify-content: center; text-align: center; }
  .wa-float { width: 56px; height: 56px; left: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .claim-in > p { opacity: 1 !important; transform: none !important; filter: none !important; }
  .bar { transform: scaleX(1) !important; }
  .ic-sheet, .ic-engclip { transform: none !important; } .ic-star { stroke-dashoffset: 0 !important; } .ic-scan { display: none; }
}
