back Next DC Website

Next DC · Agency site · 2023

Next DC’s Website

The website of an independent creative agency based in Sofia.

Role
Front-end developer
Tech
GSAP (ScrollTrigger, ScrollSmoother, CustomEase), Tailwind CSS, Sass, Swiper, Vanilla JS, Webpack 5
Credits
Next DC

Concept

Next DC’s client portfolio spans global giants like PUMA, BMW, Carlsberg, WWF, and Twitter. This platform serves as the studio’s own digital flagship. Because the layout design remains quiet on purpose, the responsibility of commanding the user’s attention falls entirely on high-performance motion choreography.

How it moves

  1. The Curtain Rig (Top & Bottom Reveals)

    The platform opens and closes on a simulated theater curtain effect. At the top of the timeline, the hero layout stays structurally pinned while the project grid slides directly over it. At the bottom, the viewport content lifts away to uncover a hidden footer that was sitting underneath the layout stack all along.

    The footer is the hack. It’s position: relative with bottom set to its own height and z-index: -30, so it paints 600 px higher, behind the last screen of content, while its own slot stays in the layout. That empty slot is exactly the scroll the reveal needs: a ScrollTrigger pins the footer for those 600 px with pinSpacing: false, and the content scrolls off it.

    Left, the homepage as you scroll it; right, the page as it’s laid out, with the footer painted above its own dashed slot. Drag to scroll, or let it play.

  2. The Drifting Project Grid

    To prevent the work grids from looking like a sterile, static spreadsheet, the middle layout column is scrubbed directly to the scroll timeline, causing it to dynamically drift from -100px to +100px against the main scroll direction. Interacting with a project tile triggers a compound state transition: the static preview scales upward smoothly (×1.2), the border-radius interpolates from 0px to 24px, and a looping inline preview video fades into center focus.

    The middle column is .preview:nth-child(3n − 1), scrubbed to the scroll. Hover a tile, or watch them take turns.

  3. Inertia Cursor Labels

    One cursor element trails the mouse, closing 20% of the gap each frame, corrected for frame time so the lag feels the same on any screen. It says whatever the thing underneath declares in its data- attributes: SCROLL over the hero, VIEW PROJECT over the video, a client and project, a date and title, a name and bio on the Team page. The longer labels open from the bottom up with a clip-path.

    The labels are the ones in my templates. Move the pointer over the box, or watch the cursor tour it.

  4. Text that rolls

    To achieve an elite, seamless typography rolling transition without the complication of text-splitting libraries, every animated string is written twice inside an explicit overflow-hidden container exactly one line tall.

    GSAP interpolates the paired blocks upward along a highly customized easing curve (text-ease), staggered exactly 0.1s apart. The first text string rolls out of the top boundary while the second copy rolls in from the bottom. Because this relies on native CSS text layout, any copy that anyone types behaves flawlessly. If an administrator rewrites a subtitle to wrap across four lines instead of three, the structural translation loop executes without breaking the animation container.

    The subtitle as I shipped it, on the site’s own text-ease curve. Show the window to see the box each line is clipped to and the copies parked around it.

  5. Light and dark

    Click the sun in the hero’s corner and the whole site turns over: the light hero goes dark while the dark work goes light, the red Garamond headline turns green, and every section fades over 0.3 s. The catch was the header, which takes the colour of the section behind it, so a dark header has to go light too. That’s the extra html.dark #header.dark rule.

    In Next DC’s own colours. Click the sun.

  6. And a lot of small things

    Most of the hovers are CSS alone, and a few hide a joke. The eye next to “Today’s inspiration feed” has a V inside it: on hover the eye fades, the V slides out and I, E, W follow 50 ms apart. The footer says LET’S TAL and the logo’s X, which rolls over into a K. And project titles roll over into a twin in another typeface.

    Six of them, rebuilt from the site’s stylesheets at its own timings. Hover one, or watch them take turns.

Three years on

I built the site between February and April 2023 and handed it over when I went on maternity leave. In September 2026 it’s still running on next-dc.com: the curtains, the cursor, the rolling text and the sun in the corner.