/* =========================================================
   Faisal Aziz — portfolio recreation
   v1.3
   ========================================================= */

:root{
  --blue:#272FFE;
  --blue-2:#2448FF;
  --yellow:#F2DA05;
  --yellow-2:#F2C705;
  --ink:#000;
  --muted:#A6A6A6;
  --line:#C9C9C9;
  --panel-a:#FAFAFA;
  --panel-b:#F5F5F5;
  --radius:35px;
  --shell:1240px;

  /* the recurring “embossed panel” treatment used all over the original */
  --emboss: inset 0 -8px .5px 0 rgba(188,188,188,.3), inset 0 2px .5px 0 #fff;
  --panel-shadow: var(--emboss), 0 3px 3px 0 rgba(0,0,0,.1);
  --blue-glow: 0 72px 29px 0 rgba(255,129,19,.02), 0 40px 24px 0 rgba(38,45,255,.08),
               0 18px 18px 0 rgba(38,45,255,.14), 0 4px 10px 0 rgba(38,45,255,.16);
  --yellow-glow: 0 72px 29px 0 rgba(242,219,5,.02), 0 40px 24px 0 rgba(242,219,5,.08),
                 0 18px 18px 0 rgba(242,219,5,.14), 0 4px 10px 0 rgba(242,219,5,.17);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.04em;line-height:1.2}
p{margin:0}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

.shell{width:100%;max-width:var(--shell);margin-inline:auto;padding-inline:20px}

/* ---------- faint square grid used behind panels ---------- */
.panel__grid,.hero__grid{
  position:absolute;inset:0;
  background-image:url("assets/img/iCrEiyCzicNXp4giZVHPJq4rCS0.svg");
  background-position:center;background-repeat:repeat;
  opacity:.9;pointer-events:none;
  -webkit-mask-image:radial-gradient(120% 90% at 50% 45%,#000 25%,transparent 78%);
          mask-image:radial-gradient(120% 90% at 50% 45%,#000 25%,transparent 78%);
}
.hero__grid{background-image:url("assets/img/jsZyLtq1mmOBexZ6WrusocDKUIs.svg")}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:15px 22px;border-radius:15px;
  font-size:15px;font-weight:600;letter-spacing:-.01em;line-height:1;
  white-space:nowrap;
  transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s,filter .25s;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn--blue{background:linear-gradient(#272FFE,#2448FF);color:#fff;box-shadow:var(--blue-glow)}
.btn--yellow{background:linear-gradient(#F2DA05,#F2C705);color:#000;box-shadow:var(--yellow-glow)}
.btn--green{background:linear-gradient(#22C55E,#16A34A);color:#fff;box-shadow:0 18px 18px 0 rgba(22,163,74,.14),0 4px 10px 0 rgba(22,163,74,.18)}
.btn__dot{width:8px;height:8px;border-radius:50%;background:#fff;flex:none}
.btn--yellow .btn__dot{background:#000}
.btn__wa{font-size:11px;line-height:1}
.btn__arrow{transition:transform .3s cubic-bezier(.22,1,.36,1)}
.btn:hover .btn__arrow{transform:translateX(4px)}

/* =========================================================
   NAV
   ========================================================= */
.nav-wrap{position:fixed;top:20px;left:0;right:0;z-index:60;display:flex;flex-direction:column;align-items:center;pointer-events:none}
.nav{
  pointer-events:auto;
  width:min(800px,calc(100% - 40px));
  display:flex;align-items:center;gap:20px;
  padding:20px 25px;
  background:linear-gradient(#F2E205 0%,#F2CB05 100%);
  border:1px solid #C9C9C9;
  border-bottom-width:2px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08),inset 0 -5px .5px 0 rgba(188,188,188,.3);
  transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .3s;
}
.nav-wrap.is-hidden .nav{transform:translateY(-160%)}
.nav__logo{flex:none;display:block}
.nav__logo svg{display:block;height:34px;width:auto}
.nav__links{display:flex;gap:26px;margin-inline:auto}
.nav__links a{font-size:16px;font-weight:500;letter-spacing:-.02em;position:relative}
.nav__links a::after{
  content:"";position:absolute;left:0;right:100%;bottom:-4px;height:2px;background:var(--blue);
  transition:right .3s cubic-bezier(.22,1,.36,1);
}
.nav__links a:hover::after{right:0}
.nav__cta{padding:13px 18px;font-size:14px}
.nav__burger{display:none;width:34px;height:34px;flex-direction:column;justify-content:center;gap:6px}
.nav__burger span{display:block;height:2px;background:#000;border-radius:2px;transition:transform .3s}
.nav__mobile[hidden]{display:none}
.nav__mobile{
  pointer-events:auto;margin-top:10px;width:min(800px,calc(100% - 40px));
  background:linear-gradient(#F2E205 0%,#F2CB05 100%);
  border:1px solid #C9C9C9;border-bottom-width:2px;
  border-radius:20px;padding:14px 25px;
  display:flex;flex-direction:column;gap:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.08),inset 0 -5px .5px 0 rgba(188,188,188,.3);
}
.nav__mobile a{font-weight:600}

/* =========================================================
   REVEAL / DRAW ANIMATIONS
   ========================================================= */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1)}
.reveal.is-in{opacity:1;transform:none}

.split .w{display:inline-block;opacity:0;transform:translateY(30px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
.split.is-in .w{opacity:1;transform:none}

/* pop-in: the original scales its floating photos and emoji from 0.5 → 1 */
.pop{opacity:0;transform:rotate(var(--tilt,0deg)) scale(.5);transition:opacity .5s ease,transform .85s cubic-bezier(.22,1,.36,1)}
.pop.is-in{opacity:1;transform:rotate(var(--tilt,0deg)) scale(1)}

/* zoom-out: project screenshots settle from 1.1 → 1 */
.zoom img{transform:scale(1.1);transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.zoom.is-in img{transform:scale(1)}

/* hand-drawn strokes draw themselves in */
.draw path{stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s cubic-bezier(.22,1,.36,1) .15s}
.is-in .draw path,.draw.is-in path{stroke-dashoffset:0}

@media (prefers-reduced-motion:reduce){
  .reveal,.split .w,.pop{opacity:1;transform:none;transition:none}
  .zoom img{transform:none}
  .draw path{stroke-dashoffset:0;transition:none}
  .marquee__track{animation:none !important}
}

/* =========================================================
   HERO
   ========================================================= */
.hero{padding-top:0}
.hero__panel{
  position:relative;
  padding:172px 0 0;
  border-radius:var(--radius);
  border:1px solid #C9C9C9;
  border-bottom-width:2px;
  background:linear-gradient(rgba(255,255,255,0),#F0F0F0);
  box-shadow:var(--emboss);
  text-align:center;
  overflow:hidden;
}
.hero__eyebrow,.hero__title,.hero__sub,.hero__cta{padding-inline:20px}
.hero__eyebrow{font-size:20px;letter-spacing:-.04em;line-height:1.6;margin-bottom:6px}
.hero__title{position:relative;font-size:72px;letter-spacing:-.04em;line-height:1.2;max-width:1000px;margin-inline:auto}
.hero__title{padding-bottom:14px}
.hero__title .line{display:block;width:fit-content;margin-inline:auto}
.hero__title .w{margin-inline:.04em}
.hero__title .blue{color:var(--blue)}
.hero__avatar{vertical-align:middle;margin-inline:.1em}
.hero__avatar img{
  width:82px;height:52px;object-fit:cover;border-radius:26px;display:inline-block;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
}
/* the original swaps the portrait for the yellow logo pill on small screens */
.hero__avatar img.hero__avatar-mark{display:none}
.hero__scribble{position:absolute;left:-4%;top:-14%;width:60px;height:50px;transform:rotate(-6deg)}
.hero__scribble svg{width:100%;height:100%;overflow:visible}

/* yellow underline that sits under “Selangor.” */
.mark{position:absolute;left:0;right:0;bottom:-.06em;height:.28em;pointer-events:none}
.hero__place{position:relative}
.hero__place .mark{left:0;right:0;bottom:.5em;height:.22em}
.mark svg{width:100%;height:100%;overflow:visible}
.mark--blue{bottom:.5em;height:.3em}
.mark--wide{left:38%;right:-4%}

.hero__sub{font-size:24px;font-weight:600;letter-spacing:-.01em;margin-top:22px}
.hero__cta{display:flex;justify-content:center;gap:14px;margin-top:26px;flex-wrap:wrap}

/* hero marquee band — lives inside the hero panel and is clipped by it */
.hero__marquee{margin-top:46px;padding-block:26px;border-top:1px solid rgba(0,0,0,.04);background:linear-gradient(#FCFCFC,#F7F7F7)}
.marquee{position:relative;overflow:hidden;width:100%}
.marquee--fade,.hero__marquee{
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee__track{display:flex;gap:20px;width:max-content;animation:marquee var(--dur,40s) linear infinite}
.marquee[data-reverse] .marquee__track{animation-direction:reverse}
.marquee:hover .marquee__track{animation-play-state:paused}
@keyframes marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

.marquee__track img{
  width:370px;height:288px;object-fit:cover;object-position:top center;flex:none;
  border-radius:14px;border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.marquee__track--logos img{width:auto;height:44px;border:0;box-shadow:none;border-radius:0;opacity:.85;filter:grayscale(1);margin-inline:26px}
.marquee__track--thumbs img{width:210px;height:118px;border-radius:10px}
.marquee__track--wall img{width:320px;height:180px;border-radius:12px}

/* =========================================================
   ABOUT
   ========================================================= */
.about{padding:0 0 120px;text-align:center}
.about__stage{position:relative;height:560px;margin-top:80px;margin-bottom:10px}
.float-card{
  position:absolute;margin:0;
  border-radius:22px;padding:10px;background:#fff;
  box-shadow:0 24px 50px rgba(0,0,0,.16);
}
/* Scroll-linked travel: the element starts offset + half size up in the hero and
   flies into place as the About block scrolls in (measured off the original). */
.travel{
  transform:translate(var(--tx,0px),var(--ty,0px)) rotate(var(--tilt,0deg)) scale(var(--tsc,1));
  will-change:transform;
}
.float-card img{border-radius:14px}
/* both photo cards are the same size in the original; man sits ~110px higher and
   its centre lands 90px left of the page centre, desk's 90px right */
.float-card--man{left:50%;top:120px;width:300px;margin-left:-240px;--tilt:-9deg}
.float-card--desk{left:50%;top:218px;width:320px;margin-left:-70px;--tilt:-6deg}
.float-card--desk .float-card__badge{
  position:absolute;right:-40px;bottom:-26px;width:104px;padding:0;border-radius:0;
  box-shadow:none;background:none;
}
/* ---------- "Hire me" cursor: its own looping timer, independent of scroll ----------
   Measured on the original: the whole group slides +128px / +21px over ~0.9s,
   waits ~3s, slides back over ~1.1s, waits ~3s. Period ≈ 8s. */
.hire{
  position:absolute;left:50%;margin-left:-515px;top:-344px;width:137px;height:64px;z-index:5;
  animation:hire-move 8s ease-in-out infinite;
}
.hire__pill{
  position:absolute;left:47px;top:24px;width:70px;height:35px;
  display:grid;place-items:center;white-space:nowrap;
  background:rgba(255,255,255,.65);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  border-radius:50px 10px 50px 50px;
  box-shadow:0 8px 14px rgba(113,130,5,.31);
  font-family:Manrope,Inter,sans-serif;font-weight:700;font-size:14px;color:#000;
}
.hire__cursor{position:absolute;left:108px;top:0;width:29px;height:32px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}

@keyframes hire-move{
  0%,  100% { transform:translate(0,0) }
  11%,  48% { transform:translate(128px,21px) }
  62%       { transform:translate(0,0) }
}
@keyframes hire-move-sm{
  0%,  100% { transform:translate(0,0) }
  11%,  48% { transform:translate(56px,9px) }
  62%       { transform:translate(0,0) }
}
@media (prefers-reduced-motion:reduce){ .hire{animation:none} }
.deco{position:absolute}
/* the star is genuinely static in the original — it never travels */
.deco--star{left:50%;margin-left:-291px;top:154px;width:44px;height:56px}
.deco--star svg{width:100%;height:100%;overflow:visible}
.deco--emoji{left:50%;margin-left:218px;top:298px;width:96px}

.h-section{font-size:72px;letter-spacing:-.04em;line-height:1.2;text-align:center}
/* width:fit-content keeps the hand-drawn underline hugging the words, not the row */
.h-section .line{display:block;width:fit-content;margin-inline:auto;position:relative}
.about__copy{max-width:640px;margin:34px auto 0;display:grid;gap:26px}
.about__copy p{font-weight:600;font-size:16px;letter-spacing:-.01em;line-height:1.55}

/* =========================================================
   FEATURED IN
   ========================================================= */
.featured{padding:0 0 90px;text-align:center}
.featured__label{color:var(--muted);font-size:15px;font-weight:500;margin-bottom:26px}

/* =========================================================
   SHARED PANEL
   ========================================================= */
.panel{
  position:relative;overflow:hidden;
  border-radius:var(--radius);
  border:1px solid #C9C9C9;
  border-bottom-width:2px;
  background:linear-gradient(var(--panel-a),var(--panel-b));
  box-shadow:var(--panel-shadow);
}
.eyebrow-emoji{display:flex;justify-content:center;margin-bottom:14px}
.eyebrow-emoji img{width:50px;height:50px}
.eyebrow-emoji img:first-child{transform:rotate(-10deg) translateX(9px)}
.eyebrow-emoji img:last-child{transform:rotate(8deg) translateX(-9px)}

/* =========================================================
   WORKS
   ========================================================= */
.works{padding:20px 0 120px}
.stack{margin-top:56px;display:grid;gap:40px}
.work{
  display:grid;grid-template-columns:340px 1fr;gap:30px;align-items:center;
  padding:20px 20px 20px 50px;min-height:520px;
}
.work__body{position:relative;z-index:1;padding-block:20px}
.work__body h3{font-size:34px;letter-spacing:-.03em}
.work__tag{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:14px;font-weight:600}
.chip{
  display:grid;place-items:center;width:30px;height:30px;border-radius:5px;font-size:14px;
  background:linear-gradient(#fff,#FAFAFA);
  box-shadow:0 3px 3px rgba(0,0,0,.1),inset 0 -4.47px .45px rgba(188,188,188,.3),0 1.79px .45px #fff;
}
.work__label{margin-top:26px;font-size:13px;font-weight:700}
.work__desc{margin-top:14px;font-size:14px;line-height:1.7;color:#222;max-width:300px}
.work .btn{margin-top:28px}
.work__shot{position:relative;z-index:1;border-radius:25px;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,.12)}
.work__shot img{width:100%;height:480px;object-fit:cover;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.work:hover .work__shot img{transform:scale(1.04)}

/* =========================================================
   SALESPAGE — pinned card deck that fans out on scroll
   ========================================================= */
.deck-section{height:280vh;position:relative}
.deck-section__pin{position:sticky;top:0;height:100vh;display:flex;align-items:center}
.deck-section__pin .shell{text-align:center;width:100%}
.deck__panel{padding:60px 20px 40px}
.deck__panel > *{position:relative;z-index:1}

.deck{
  position:relative;height:min(52vh,420px);margin-top:34px;
  display:flex;align-items:center;justify-content:center;
}
/* each card peels off the stack: rotates to -70deg and flies straight up (matches the original) */
.deck__card{
  position:absolute;margin:0;top:0;
  width:min(231px,52vw);aspect-ratio:231/397;
  border-radius:18px;overflow:hidden;background:#fff;
  box-shadow:0 30px 60px rgba(0,0,0,.18);
  transform:translate3d(0,var(--dy,0px),0) rotate(var(--rot,var(--rest,0deg)));
  will-change:transform;
}
.deck__card img{width:100%;height:100%;object-fit:cover}

/* =========================================================
   REDESIGN CHALLENGE
   ========================================================= */
.challenge{padding:120px 0}
.challenge__panel{
  margin-top:56px;display:grid;grid-template-columns:340px 1fr;gap:30px;align-items:center;
  padding:40px 0 40px 50px;
}
.challenge__body{position:relative;z-index:1;max-width:300px}
.challenge__body h3{font-size:26px}
.challenge__body p{margin-top:16px;font-size:14px;line-height:1.7}
.challenge__body .btn{margin-top:26px}
.challenge__rail{position:relative;z-index:1;display:grid;gap:16px;overflow:hidden}

/* =========================================================
   SERVICES
   ========================================================= */
.services{padding:0 0 120px}
.services__lead{max-width:660px;margin:30px auto 0;text-align:center;font-weight:600;font-size:17px;line-height:1.6}
.services__panel{margin-top:56px;padding:40px 40px 46px}
.services__cards{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:26px}
.card{
  position:relative;overflow:hidden;
  background:#fff;border-radius:25px;padding:32px 32px 0;min-height:470px;
  border:1px solid #C9C9C9;
  border-bottom-width:2px;
  box-shadow:0 3px 3px rgba(0,0,0,.06),inset 0 -8px .5px rgba(188,188,188,.25),inset 0 2px .5px #fff;
}
.card h3{font-size:22px}
.card p{margin-top:8px;font-size:13px;color:#444;max-width:330px}
.pile{position:absolute;inset:auto 12px 0 12px;height:330px}
.pile img{
  position:absolute;left:var(--x);top:var(--y);width:var(--w);height:auto;
  transform:rotate(var(--r)) translateY(-40px);opacity:0;
  transition:transform .9s cubic-bezier(.34,1.4,.5,1),opacity .5s ease;
}
.pile.is-in img{transform:rotate(var(--r)) translateY(0);opacity:1}

.services__tools-label{position:relative;z-index:1;text-align:center;margin-top:34px;font-size:13px;color:#555}
.tools{position:relative;z-index:1;display:flex;justify-content:center;gap:22px;margin-top:18px;flex-wrap:wrap}
.tool{
  width:70px;height:70px;border-radius:20px;display:grid;place-items:center;position:relative;
  box-shadow:0 10px 20px rgba(0,0,0,.08),inset 0 -6px .5px rgba(0,0,0,.06),inset 0 2px .5px rgba(255,255,255,.9);
  transition:transform .35s cubic-bezier(.22,1,.36,1);
}
.tool:hover{transform:translateY(-6px) scale(1.05)}
.tool b{font-size:26px;font-weight:700;font-style:italic;letter-spacing:-.02em}
.tool svg{width:26px;height:34px}
.tool span{
  position:absolute;bottom:-26px;left:50%;transform:translateX(-50%);
  font-size:11px;color:#666;white-space:nowrap;opacity:0;transition:opacity .25s;
}
.tool:hover span{opacity:1}
.tool--figma{background:linear-gradient(#FFE4E9,#FFC9D4);color:#F24E1E}
.tool--framer{background:linear-gradient(#DCE9FF,#BBD6FF);color:#2448FF}
.tool--ai{background:linear-gradient(#FFEED2,#FFDCA8);color:#FF9A00}
.tool--ae{background:linear-gradient(#EFE1FF,#DCC6FF);color:#9A5CFF}
.tool--ps{background:linear-gradient(#DAE7FF,#B9D2FF);color:#2E7BFF}

/* =========================================================
   PLAYGROUND
   ========================================================= */
.playground{padding:0 0 120px}
.playground__panel{position:relative;min-height:700px;display:grid;place-items:center;padding:0}
.playground__field{
  position:absolute;inset:-14% -12%;
  display:grid;gap:22px;align-content:center;
  transform:rotate(-8deg) scale(1.12);
  -webkit-mask-image:radial-gradient(60% 55% at 50% 50%,transparent 38%,#000 74%);
          mask-image:radial-gradient(60% 55% at 50% 50%,transparent 38%,#000 74%);
}
.playground__card{
  position:relative;z-index:2;text-align:center;max-width:520px;padding:44px 40px;
  background:rgba(255,255,255,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-radius:28px;
}
.playground__card p{font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.6}
.playground__cta{display:flex;justify-content:center;gap:14px;margin-top:24px;flex-wrap:wrap}

/* =========================================================
   FAQ
   ========================================================= */
.faq{padding:0 0 120px}
.faq__panel{margin-top:56px;padding:36px}
.acc{position:relative;z-index:1;display:grid;gap:12px}
.acc__item{
  background:#fff;border-radius:16px;overflow:hidden;
  box-shadow:0 2px 3px rgba(0,0,0,.05),inset 0 -5px .5px rgba(188,188,188,.25),inset 0 2px .5px #fff;
  transition:box-shadow .3s;
}
.acc__item.is-open{box-shadow:0 12px 26px rgba(0,0,0,.08)}
.acc__head{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:22px 26px;text-align:left;font-size:17px;font-weight:600;letter-spacing:-.02em;
}
.acc__icon{position:relative;width:16px;height:16px;flex:none}
.acc__icon::before,.acc__icon::after{
  content:"";position:absolute;left:50%;top:50%;background:#111;border-radius:2px;
  transform:translate(-50%,-50%);transition:transform .35s cubic-bezier(.22,1,.36,1),opacity .3s;
}
.acc__icon::before{width:16px;height:1.8px}
.acc__icon::after{width:1.8px;height:16px}
.acc__item.is-open .acc__icon::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0}
.acc__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.22,1,.36,1)}
.acc__item.is-open .acc__body{grid-template-rows:1fr}
.acc__body>p{overflow:hidden;margin:0;padding:0 26px;font-size:15px;line-height:1.7;color:#444;transition:padding .45s}
.acc__item.is-open .acc__body>p{padding-bottom:24px}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{padding:0 0 40px}
.footer__panel{padding:80px 40px 30px;text-align:center}
.footer__marks{position:relative;z-index:1;display:grid;justify-items:center;margin-bottom:14px}
.footer__marks svg{width:30px;height:38px;overflow:visible}
.footer__marks svg:last-child{width:44px;height:40px;margin-top:-6px}
.footer__mail{position:relative;z-index:1;display:inline-block;font-size:64px;font-weight:600;letter-spacing:-.045em;line-height:1.1}
.footer__copy{position:relative;z-index:1;max-width:560px;margin:18px auto 0;font-size:15px;line-height:1.6}
.footer__cta{position:relative;z-index:1;display:flex;justify-content:center;gap:14px;margin-top:26px;flex-wrap:wrap}
.footer__note{position:relative;z-index:1;margin-top:30px;font-size:13px;color:var(--muted)}
.footer__bar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:80px;flex-wrap:wrap}
.footer__links{display:flex;gap:20px;font-size:14px;font-weight:500}
.footer__links a:hover{color:var(--blue)}
.socials{display:flex;gap:12px}
.social{
  width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  box-shadow:0 6px 14px rgba(0,0,0,.08),inset 0 -5px .5px rgba(0,0,0,.06),inset 0 2px .5px rgba(255,255,255,.9);
  transition:transform .3s cubic-bezier(.22,1,.36,1);
}
.social:hover{transform:translateY(-4px)}
.social svg{width:20px;height:20px}
.social--tiktok{background:linear-gradient(#F2F2F2,#E4E4E4);color:#111}
.social--fb{background:linear-gradient(#D8E6FF,#B7D0FF);color:#1877F2}
.social--wa{background:linear-gradient(#D6F7E2,#AFEDC6);color:#25D366}
.social--ig{background:linear-gradient(#FFE0E9,#FFC5D8);color:#E1306C}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1080px){
  .hero__title,.h-section{font-size:56px}
  .work,.challenge__panel{grid-template-columns:1fr;padding:30px}
  .work{min-height:0}
  .work__desc{max-width:none}
  .work__shot img{height:340px}
  .footer__mail{font-size:44px}
}

@media (max-width:820px){
  .nav-wrap{top:12px}
  .nav__links,.nav__cta{display:none}
  .nav__burger{display:flex}
  .nav{justify-content:space-between;padding:16px 20px}

  /* the original drops the hand-drawn underlines on small screens */
  .mark{display:none}

  .hero__panel{padding:120px 0 0}
  .hero__title,.h-section{font-size:38px}
  .hero__title{padding-bottom:0}
  .hero__sub{font-size:17px}
  .hero__eyebrow{font-size:15px}
  .hero__avatar img.hero__avatar-face{display:none}
  .hero__avatar img.hero__avatar-mark{display:inline-block;width:66px;height:36px;object-fit:cover;border-radius:10px;box-shadow:none}
  .hero__scribble{left:2%;top:-24%;width:46px;height:38px}
  /* stacked, full-width CTAs — same as the original mobile layout */
  .hero__cta{flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}
  .hero__cta .btn{width:100%;justify-content:center}

  .hero__marquee{margin-top:30px;padding-block:18px}
  .marquee__track{gap:12px}
  .marquee__track img{width:180px;height:116px}
  .marquee__track--logos img{width:auto;height:34px;margin-inline:16px}
  .marquee__track--wall img{width:200px;height:112px}
  .marquee__track--thumbs img{width:150px;height:84px}

  .about{padding-bottom:70px}
  /* no scroll-travel on mobile — the original just groups them in place */
  .about__stage{height:390px;margin-top:20px}
  .float-card--man{left:50%;margin-left:-155px;top:0;width:195px}
  .float-card--desk{left:50%;margin-left:-20px;top:105px;width:185px}
  .float-card--desk .float-card__badge{right:-24px;bottom:-16px;width:62px}
  .deco--star{left:50%;margin-left:-182px;top:36px;width:34px;height:44px}
  .deco--emoji{left:50%;margin-left:118px;top:160px;width:46px}
  /* on mobile the pill sits on the card (no travel), so it lives in the stage */
  .hire{left:50%;margin-left:-158px;top:128px;width:110px;height:52px;animation-name:hire-move-sm}
  .hire__pill{left:38px;top:20px;width:62px;height:31px;font-size:12px}
  .hire__cursor{left:88px;width:24px;height:26px}
  .about__copy{margin-top:24px;gap:18px}

  /* works + challenge flip to image-on-top, text below */
  .work{grid-template-columns:1fr;gap:16px;padding:16px}
  .work__shot{order:-1}
  .work__shot img{height:210px}
  .work__body{padding-block:0 8px}
  .work__body h3{font-size:22px}
  .work .btn,.challenge__body .btn{width:100%;justify-content:center;margin-top:20px}
  .stack{gap:24px;margin-top:34px}

  .challenge{padding:70px 0}
  .challenge__panel{grid-template-columns:1fr;gap:16px;padding:16px}
  .challenge__rail{order:-1}
  .challenge__body{max-width:none}

  .services__lead{font-size:15px}
  .services__panel{padding:16px 16px 28px}
  .services__cards{grid-template-columns:1fr}
  .card{min-height:430px;padding:24px 20px 0}
  .pile{height:300px}

  .deck-section{height:250vh}
  .deck__panel{padding:40px 16px 30px}
  .deck{height:min(46vh,340px);margin-top:24px}

  .playground__panel{min-height:560px}
  .playground__card{padding:28px 20px;margin-inline:14px}
  .playground__card p{font-size:15px}
  .playground__cta{flex-direction:column;align-items:stretch}
  .playground__cta .btn{justify-content:center}

  .faq__panel{padding:16px}
  .acc__head{font-size:15px;padding:18px 20px}

  .footer__panel{padding:48px 18px 24px}
  .footer__mail{font-size:15px;font-weight:600;letter-spacing:-.01em}
  .footer__copy{font-size:14px}
  .footer__cta{flex-direction:column;align-items:center;gap:10px}
  .footer__bar{flex-direction:column;justify-content:center;gap:18px;margin-top:26px}
  .footer__links{justify-content:center}
}

@media (max-width:520px){
  .hero__title,.h-section{font-size:32px}
  .tools{gap:12px}
  .tool{width:56px;height:56px}
}
