.faq{position:relative;z-index:2;background:#000;padding:clamp(2rem,4vw,3.5rem) var(--pad-x) clamp(5rem,10vw,9rem)}
  .faq-wrap{max-width:1600px;margin:0 auto}
  .faq-eyebrow{font-family:'JetBrains Mono',monospace;font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gray);display:inline-flex;align-items:center;gap:.6rem;margin-bottom:1.4rem}
  .faq-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(108,255,11,.15)}
  .faq-title{font-family:'Space Grotesk','Space Grotesk Fallback',system-ui,sans-serif;font-weight:500;font-size:clamp(2.4rem,6vw,4.6rem);line-height:1;letter-spacing:-.03em;margin:0}
  .faq-master{border-top:1px solid var(--grey-line-strong)}
  .faq-master-sum{list-style:none;cursor:pointer;display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;padding:clamp(2rem,4vw,3rem) 0}
  .faq-master-sum::-webkit-details-marker{display:none}
  .faq-head{display:flex;flex-direction:column}
  .faq-master-ic{position:relative;flex:0 0 auto;width:46px;height:46px;border:1px solid var(--grey-line-strong);border-radius:50%;transition:border-color .25s ease}
  .faq-master-sum:hover .faq-master-ic{border-color:var(--green)}
  .faq-master-ic::before,.faq-master-ic::after{content:"";position:absolute;top:50%;left:50%;background:var(--green);transition:transform .3s ease}
  .faq-master-ic::before{width:18px;height:2px;transform:translate(-50%,-50%)}
  .faq-master-ic::after{width:2px;height:18px;transform:translate(-50%,-50%)}
  .faq-master[open] .faq-master-ic::after{transform:translate(-50%,-50%) scaleY(0)}
  .faq-body{padding-bottom:1rem}
  .faq-intro{max-width:60ch;font-size:1.05rem;line-height:1.6;color:rgba(255,255,255,.72);margin:0 0 3rem}
  .faq-group{display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(2rem,4vw,4.5rem);align-items:start;border-top:1px solid var(--grey-line);padding-top:2.2rem;margin-top:2.2rem}
  .faq-group:first-of-type{border-top:0;margin-top:0;padding-top:0}
  .faq-cat{grid-column:1/-1;font-family:'JetBrains Mono',monospace;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--green);margin-bottom:.2rem}
  .faq-item{border-bottom:1px solid var(--grey-line)}
  .faq-item:last-child{border-bottom:0}
  .faq-sum{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem 0}
  .faq-sum::-webkit-details-marker{display:none}
  .faq-q{font-family:'Space Grotesk','Space Grotesk Fallback',system-ui,sans-serif;font-weight:500;font-size:1.2rem;letter-spacing:-.01em;margin:0;color:#fff;transition:color .25s ease}
  .faq-sum:hover .faq-q{color:var(--green)}
  .faq-item[open] .faq-q{color:var(--green)}
  .faq-ic{position:relative;flex:0 0 auto;width:22px;height:22px}
  .faq-ic::before,.faq-ic::after{content:"";position:absolute;top:50%;left:50%;background:var(--green);transition:transform .3s ease}
  .faq-ic::before{width:15px;height:2px;transform:translate(-50%,-50%)}
  .faq-ic::after{width:2px;height:15px;transform:translate(-50%,-50%)}
  .faq-item[open] .faq-ic::after{transform:translate(-50%,-50%) scaleY(0)}
  .faq-a{font-size:1rem;line-height:1.65;color:rgba(255,255,255,.72);max-width:72ch;padding-bottom:1.5rem}
  .faq-a a{color:var(--green);text-decoration:none;border-bottom:1px solid rgba(108,255,11,.35);transition:border-color .25s ease}
  .faq-a a:hover{border-bottom-color:var(--green)}
  .faq-updated{margin-top:3.2rem;font-family:'JetBrains Mono',monospace;font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.4)}
  @media(max-width:760px){.faq-group{grid-template-columns:1fr;column-gap:0}}
  @media(max-width:640px){.faq-q{font-size:1.06rem}}

  /* ===================== PORTFOLIO (Work wall + Instagram fan) ===================== */
/* ============ SCROLL PORTRAIT WALL (ported 1:1 from ruixen.ui) ============ */
  .spw{position:relative;width:100%;background:transparent;color:var(--light)}

  /* scroll hint - fades out as the wall comes in */
  .spw-hint{position:absolute;left:50%;top:60vh;transform:translateX(-50%);
    display:grid;justify-items:center;gap:1.5rem;text-align:center;pointer-events:none;z-index:5}
  .spw-hint span{position:relative;max-width:14ch;font-family:'JetBrains Mono';font-size:.7rem;
    letter-spacing:.18em;text-transform:uppercase;line-height:1.3;color:var(--muted)}
  .spw-hint span::after{content:"";position:absolute;left:50%;top:100%;width:1px;height:4rem;
    background:linear-gradient(to bottom,transparent,rgba(255,255,255,.4))}

  /* sticky centred title - mix-blend so it inverts over the videos */
  .spw-title{position:sticky;top:50%;transform:translateY(-50%);z-index:20;
    text-align:center;color:#fff;mix-blend-mode:exclusion;pointer-events:none;padding:0 var(--pad-x)}
  .spw-title h2{font-weight:600;letter-spacing:-.04em;line-height:.9;
    font-size:clamp(3rem,12vw,9rem)}
  .spw-title p{margin-top:.5rem;font-family:'JetBrains Mono';font-size:clamp(.7rem,1vw,.9rem);
    letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.6)}

  /* the scattered wall */
  .spw-wall{position:relative;z-index:0;margin-top:25vh;margin-bottom:45vh}   /* extra tail so the LAST card (Saint Slurp) finishes its scale-down "closing scene" before the CTA arrives (desktop; mobile overrides this below) */
  .spw-all{display:flex;justify-content:center;padding:0 var(--pad-x);margin:-4vh 0 14vh;position:relative;z-index:20}
  @media(max-width:900px){ .spw-all{margin:9vh 0 12vh} }   /* mobile: sit clearly BELOW the landed "Selected Work" title with a decent min padding (no overlap) */
  .spw-row{display:flex;width:100%}
  .spw-cell{flex:1 1 0;aspect-ratio:16/9;padding:10px}   /* 16:9 to match the landscape recordings · 10px per side → 20px gap */
  .spw-item{position:relative;display:block;height:100%;width:100%;transform:scale(0);cursor:none}
  .spw-media{position:absolute;inset:0;overflow:hidden;
    transition:transform .5s cubic-bezier(.16,1,.3,1)}
  .spw-media video,.spw-media img{height:100%;width:100%;object-fit:contain;display:block}   /* show the FULL frame, no crop (bars invisible on black) */
  .spw-item:hover{z-index:10}                              /* hovered card lifts above its neighbours */
  /* the +60% card zoom is set in JS (mouseenter) so it compensates for the scroll-reveal scale →
     EVERY card zooms to the same 1.6x of its normal size, wherever it sits in the scroll */
  .spw-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;justify-content:space-between;gap:.5rem;
    padding:.9rem 1rem;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,0));
    font-family:'JetBrains Mono';font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:#fff;
    opacity:0;transform:translateY(6px);transition:opacity .3s ease,transform .3s ease}
  @media (hover:hover){.spw-item:hover .spw-cap{opacity:1;transform:none}}
  .spw-cap .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .spw-cap .rl{flex-shrink:0;color:var(--green)}

  /* hover badge - WebGL orb + rotating "go to project" ring, follows the cursor over a panel */
  #projBadge{position:fixed;top:0;left:0;z-index:60;width:150px;height:150px;margin:-75px 0 0 -75px;
    pointer-events:none;opacity:0;transform:scale(.4);
    transition:opacity .28s ease,transform .3s cubic-bezier(.2,.9,.3,1);will-change:transform,opacity}
  #projBadge.on{opacity:1;transform:scale(1)}
  #projBadge::before{content:"";position:absolute;inset:-14%;border-radius:50%;z-index:-1;
    background:radial-gradient(closest-side,rgba(0,0,0,.6),rgba(0,0,0,0))}
  #projBadge .ring{position:absolute;inset:0;width:100%;height:100%;animation:spwspin 9s linear infinite}
  #projBadge .ring text{font-family:'JetBrains Mono';font-size:9px;letter-spacing:.28em;fill:#fff;text-transform:uppercase}
  #projBadge .orbc{position:absolute;left:50%;top:50%;width:78px;height:78px;transform:translate(-50%,-50%)}
  #projBadge .orbc canvas{width:100%;height:100%;display:block}
  @keyframes spwspin{to{transform:rotate(360deg)}}

  @media (prefers-reduced-motion:reduce){ .spw-item{transform:scale(1) !important} #projBadge .ring{animation:none} }

  /* mobile/tablet: turn the scattered scroll-wall into a clean single-column portfolio */
  @media(max-width:900px){
    /* mobile: KEEP the "Selected Work" title travelling (sticky-centred, cards scroll behind it),
       just in solid white (iOS-safe). A tall black run after the last card lets the centred title
       land cleanly BELOW the gallery at the end instead of overlapping the last project. */
    .spw-title h2{-webkit-text-fill-color:#fff; color:#fff; background:none}
    .spw-wall{margin-top:6vh; margin-bottom:52vh}
    .spw-row{flex-direction:column}                     /* stack every card → ALL full-width (no 2-up shrink) */
    .spw-cell:empty{display:none}                       /* drop the scatter gaps */
    .spw-cell{flex-basis:auto;padding:0 16px;margin-bottom:clamp(7rem,26vw,12rem)}   /* big BLACK gap (doubled) between cards so each entrance reads on its own */
    .spw-item{transform:scale(1) !important;cursor:pointer}  /* always visible (no scroll-scale reliance) */
    .spw-media video,.spw-media img{object-fit:cover}                  /* fill the card, no letterbox bars on small screens */
    .spw-cap{opacity:1;transform:none;font-size:.6rem;padding:.6rem .7rem}  /* captions always on (no hover on touch) */
    .spw-hint{top:30vh}
    .spw-title h2{font-size:clamp(3rem,21vw,6.5rem);font-weight:700}   /* near full-width + bold */
    #projBadge{display:none}                             /* cursor-follow badge is pointless on touch */
    /* entrance: each card emerges FROM BLACK (opacity 0) while sliding in from an ALTERNATING side
       (right, then left, descending) + a small rise/scale. Re-arms on exit → replays up/down.
       JS adds .rv + sets --rvx per card. Big gaps above mean each entrance is seen on its own. */
    .spw-wall.rv .spw-cell{opacity:0;transform:translateX(var(--rvx,90px)) translateY(36px) scale(.9);
      transition:opacity .6s ease, transform .8s cubic-bezier(.2,1,.32,1);will-change:transform,opacity}
    .spw-wall.rv .spw-cell.rv-in{opacity:1;transform:translateX(0) translateY(0) scale(1)}
  }

  /* ===== Instagram - card fan carousel (ported 1:1 from aayush-duhan/card-fan-carousel) ===== */
  .fan-section{display:flex;flex-direction:column;align-items:center;width:100%;padding:3.5rem var(--pad-x) 8rem;position:relative;z-index:20}
  .fan-head{text-align:center;margin-bottom:3rem}
  .fan-head .eyebrow{font-family:'JetBrains Mono';font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);display:inline-flex;align-items:center;gap:.5rem}
  .fan-head .eyebrow .mk{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block}
  .fan-head h2{margin-top:1rem;font-weight:700;font-size:clamp(2.4rem,7vw,5.5rem);line-height:.95;letter-spacing:-.03em}   /* DESKTOP original */
  .fan-head h2 .ft-a, .fan-head h2 .ft-b{display:inline;font-size:inherit}   /* desktop: one line "Feeds that convert." (mobile splits below) */
  .fan-layout{--cw:15rem;--ch:38.87rem;position:relative;display:flex;justify-content:center;align-items:center;width:100%;max-width:80rem;height:calc(var(--ch) + 11rem)}
  .fan-card{position:absolute;left:calc(50% - var(--cw)/2);top:calc(50% - var(--ch)/2);width:var(--cw);height:var(--ch);
    border-radius:18px;overflow:hidden;border:1px solid var(--grey-line);background:linear-gradient(160deg,#0c0c12,#050506);
    box-shadow:0 24px 60px rgba(0,0,0,.55);cursor:pointer;display:block;opacity:0;will-change:transform}
  .fan-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;z-index:10}
  .fan-card .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
    font-family:'JetBrains Mono';font-size:1.3rem;letter-spacing:.1em;color:rgba(255,255,255,.28)}
  .fan-dots{display:flex;align-items:center;justify-content:center;gap:1.2rem;margin-top:2.5rem;z-index:30}
  .fan-arrow{width:2.75rem;height:2.75rem;display:flex;align-items:center;justify-content:center;border-radius:50%;
    border:1.5px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
    color:rgba(255,255,255,.55);cursor:pointer;transition:color .3s,border-color .3s;outline:none}
  .fan-arrow:hover{color:#fff;border-color:rgba(255,255,255,.25)}
  .fan-arrow svg{width:1.1rem;height:1.1rem}
  .fan-dotrow{display:flex;align-items:center;gap:.55rem}
  .fan-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.28);
    transition:background .35s ease,transform .35s ease,box-shadow .35s ease}
  .fan-dot.on{background:var(--green);transform:scale(1.35);box-shadow:0 0 0 5px rgba(108,255,11,.15)}
  .fan-dot.hit{animation:fanDotPulse .55s ease-out}
  @keyframes fanDotPulse{
    0%   {transform:scale(1);   box-shadow:0 0 0 0   rgba(108,255,11,.6)}
    35%  {transform:scale(2.4); box-shadow:0 0 0 18px rgba(108,255,11,.32)}
    100% {transform:scale(1.35);box-shadow:0 0 0 5px rgba(108,255,11,.15)}
  }
  @media(max-width:768px){ .fan-layout{--cw:10rem;--ch:26.16rem} }
  @media(max-width:480px){ .fan-layout{--cw:8rem;--ch:20.93rem} }
  /* ===== MOBILE (<=900px): the absolute-positioned fan can't work on a phone. Show ALL grids as a
     scattered 2-column masonry with gaps; each reveals on scroll; tap opens the lightbox. ===== */
  @media(max-width:900px){
    .fan-section{padding:2.5rem var(--pad-x) 4.5rem}
    .fan-head{margin-bottom:2rem}
    /* MOBILE ONLY: stack + symmetric widths ("Feeds" sized to match "that convert" width) */
    .fan-head h2{font-size:clamp(1.92rem,6vw,3.6rem)}   /* +20% vs before (ft-a/ft-b scale with it, symmetry kept) */
    .fan-head h2 .ft-a{display:block;font-size:3.35em;line-height:.85}
    .fan-head h2 .ft-b{display:block;font-size:1.5em;line-height:1}
    /* same animated white/green/blue coloring as the SERVICES title (so it isn't static) */
    .fan-head h2 .ft-a, .fan-head h2 .ft-b{
      background:linear-gradient(100deg,#ffffff 0%,#ffffff 22%,#6cff0b 38%,#ffffff 52%,#0c15bf 68%,#ffffff 82%,#ffffff 100%);
      background-size:300% 100%; background-position:100% 50%;
      -webkit-background-clip:text; background-clip:text; color:transparent;
      animation:svcTitleSwirl 9s linear infinite}
    .fan-layout{display:block;height:auto !important;max-width:100%;width:100%;columns:2;column-gap:12px;padding:0}
    .fan-dots{display:none !important}
    .fan-card{position:static !important;left:auto !important;top:auto !important;
      width:100% !important;height:auto !important;break-inside:avoid;margin:0 0 12px;display:block;
      border-radius:12px;overflow:hidden;cursor:pointer;box-shadow:none;opacity:1;
      transform:rotate(var(--rot,0deg))}
    .fan-card .ph{display:none}                              /* hide the big index placeholder */
    .fan-card img{position:static !important;width:100% !important;height:auto !important;display:block;border-radius:12px}
    /* FIRM, GROUPED entrance: ONE decisive move (triggered once on scroll-in, NOT scroll-linked → it
       never trembles). All cards swing the SAME way (not mirrored/opposite) from a lean into place. */
    /* entrance on scroll = ONE quick, FIRM rotational flick (no slide/translate → never relocates).
       All grids swing the SAME way (grouped, not mirrored) toward their resting tilt as they scroll in. */
    /* entrance = card FADES (opacity), image SLIDES + ZOOMS inside it. The motion is on the IMG (child),
       so the .fan-card box the observer watches never moves -> visible motion, NO vibration/feedback loop.
       Fades + slides in AND out on scroll (both directions). Image clipped by the card's overflow:hidden. */
    .fan-layout.fan-firm .fan-card{opacity:0; transform:rotate(var(--rot,0deg));
      transition:opacity .5s ease; will-change:opacity}
    .fan-layout.fan-firm .fan-card img{transform:translateY(30px) scale(1.16);
      transition:transform .75s cubic-bezier(.2,1,.32,1); will-change:transform}
    .fan-layout.fan-firm .fan-card.fan-in{opacity:1}
    .fan-layout.fan-firm .fan-card.fan-in img{transform:none}
    /* lightbox close = a clear, IMMEDIATE X top-right (not the 2s-delayed WebGL orb) */
    .ig-lb-orb{position:fixed !important;left:auto !important;right:.9rem !important;top:.9rem !important;
      margin:0 !important;width:44px !important;height:44px !important;
      opacity:1 !important;transform:none !important;pointer-events:auto !important;z-index:2120}
    .ig-lb-orbc{display:none}
    .ig-lb-close{position:static !important;transform:none !important;width:44px;height:44px;
      background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.3);border-radius:50%;color:#fff;
      font-size:1.5rem;line-height:1;pointer-events:auto}
    .ig-lb-close:hover{transform:none !important}
  }

  /* Instagram grid lightbox - click a card to see the whole layout at size */
  .ig-lb{position:fixed;inset:0;z-index:2100;background:rgba(0,0,0,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);   /* above the header (1000) + cookie orb (2000) so nothing overlaps the open grid */
    display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;cursor:zoom-out;overflow:hidden}
  .ig-lb[hidden]{display:none}
  .ig-lb-inner{position:relative;display:flex;flex-direction:column;align-items:center;cursor:auto;
    transform:scale(.85);opacity:0;transition:transform .38s cubic-bezier(.2,.9,.3,1),opacity .3s ease}
  .ig-lb.on .ig-lb-inner{transform:scale(1);opacity:1}
  /* the whole grid scaled to FIT the screen - height-constrained (grids are tall) */
  .ig-lb-inner img{max-height:86vh;max-width:92vw;width:auto;height:auto;display:block;border-radius:14px;border:1px solid var(--grey-line);box-shadow:0 30px 80px rgba(0,0,0,.6)}
  .ig-lb-cap{margin-top:.9rem;font-family:'JetBrains Mono';font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);text-align:center}
  /* close × lives inside a WebGL orb that opens 2s after the image, 150px right of it */
  .ig-lb-orb{position:fixed;left:calc(50% + 22vw);top:50%;margin-top:-168px;z-index:2120;width:336px;height:336px;pointer-events:none;
    opacity:0;transform:scale(.2);transition:opacity .5s ease,transform .6s cubic-bezier(.2,.9,.3,1)}
  .ig-lb-orb.open{opacity:1;transform:scale(1)}
  .ig-lb-orbc{position:absolute;inset:0;width:100%;height:100%;display:block}
  .ig-lb-close{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    width:3.4rem;height:3.4rem;display:flex;align-items:center;justify-content:center;
    border:none;background:none;color:#fff;font-size:2.6rem;line-height:1;cursor:pointer;pointer-events:auto;z-index:2;
    text-shadow:0 1px 10px rgba(0,0,0,.75);transition:transform .2s ease}
  .ig-lb-close:hover{transform:translate(-50%,-50%) scale(1.18)}
  /* prev / next arrows - so it's obvious you can jump grids without lateral scroll */
  .ig-lb-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2110;
    width:3.4rem;height:3.4rem;display:flex;align-items:center;justify-content:center;
    border:1px solid var(--grey-line);border-radius:50%;background:rgba(0,0,0,.45);
    color:#fff;font-size:1.9rem;line-height:1;padding-bottom:.15em;cursor:pointer;pointer-events:auto;
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    opacity:0;transition:opacity .3s ease,transform .2s ease,background .2s ease}
  .ig-lb.on .ig-lb-nav{opacity:.9}
  @media (hover:hover){.ig-lb-nav:hover{opacity:1;background:rgba(255,255,255,.14);transform:translateY(-50%) scale(1.12)}}
  .ig-lb-nav.prev{left:1rem}
  .ig-lb-nav.next{right:1rem}
  @media (max-width:640px){ .ig-lb-nav{width:2.9rem;height:2.9rem;font-size:1.55rem} .ig-lb-nav.prev{left:.5rem} .ig-lb-nav.next{right:.5rem} }
