Skip to content
AmbotAmbot
AmbotAmbot
Home
Services
Industries
Insights
Our work
About us
Talk to our team

Instructions.

How Ambot is put together, and how to make it yours: the pages, the CMS, the colours and type, the parts, the forms and the animations.

Start here

Ambot is the site of an advisory firm: its practices and industries, its client stories, its partners’ writing, its people, careers and offices. The demo firm is called Ambot: change its name in the Navbar and Footer components, in each page’s title and in the CMS items.

Three homepages come with it: Home, Home 2 and Home 3, each with a dark copy. Home 2 is dark itself: take theme-dark off its Body for its light look. Keep the one you like as Home and delete the others, or keep them as landing pages.

Every page wears the same frame: the Navbar above and the Footer below, each a component, so an edit to one reaches every page. Home 2 wears Navbar Index, its own header, whose menu fills the screen. To give every page that header, swap the Navbar instance for Navbar Index on each page.

There is no loader, no wipe between pages and no site search. Visitors have no light and dark switch: a page is dark when you give it the class theme-dark.

The CMS

Four collections hold what repeats, six items each: Stories (client results, each with one figure and its partner), Insights (articles, reports and episodes of Minutes, the podcast), Partners (the heads of practice) and Roles (the open roles and the graduate programme). Each has a template page, at /story, /insight, /partner and /role: change an item and every page that lists it follows.

Each field says what it holds in its help text. A partner’s page lists the stories in their Work field and the writing in their Writing field, so a new story needs its Partner, the lead named on its card, and a place in each partner’s Work. An insight names who to ask beside it in Ask name, Ask role and Ask label; its portrait comes from Author partner, when one is set, and a second author who is a partner, in Co-author, gets a card under it.

Some sections show only when their field is filled. A report lays its figures over the foot of its photograph from Figure 1 to Figure 3 and their labels, the first on red; leave Figure 1 empty for none. A story adds its team under the partner who led it, for the partners in its On the work field. Under an insight, More from the partners lists the four in its Related field, in the order they are listed there: those on the same practice first.

The figures the pages print about the firm, 310 partners, 21 offices and 140 graduate places among them, are words on the page, not counts of the items: change them where they are written.

Stories, Insights and Partners each have a Tags field: the filter chips the item answers to, by their values, separated by spaces, such as deals tax Article for an insight, or a practice and a region for a partner, deals uk. Each list item’s data-tags attribute is bound to the field, and the filters on Our work, Insights and People read it, so a new item shows under its chips once its Tags are filled. A chip’s value is its data-value attribute in the Designer; to add one, see Interactive parts.

Every item has an SEO description field of 150 to 160 characters, which its template page uses for search and link previews.

Practice and industry pages

The six practice pages and the six industry pages are ordinary pages, each with its own hero and sections, so you can see and edit every design by clicking on it. To add a practice or an industry, duplicate the page closest to it and change its words and pictures.

Colours, type and space

Every colour, size, space and corner is a variable, in the Variables panel. Palette holds the colours themselves, each with a Light and a Dark value: change one there, in both modes, and the whole site follows. Colour holds what each colour does (Text, Surface, Border, Accent and the rest), and the classes use those.

Type and Space have a mode for each breakpoint, Desktop, Tablet, Mobile Landscape and Mobile Portrait, so headlines and gaps step down on smaller screens by themselves. Shape holds the corners, all square; Detail the hairlines, opacities and layers. The typeface is Archivo, uploaded in Site settings → Fonts (one variable file, listed once for each weight the site uses, 300 to 700) and named in Type → Family/Body and Family/Display: to change it, add your font there and put its name in those two variables.

Red is the one colour that acts: the main button, the lit tile, the Lit Square and the closing band. Keep it to those jobs. The Style Guide shows every colour with its job.

Dark pages and grounds

A page is dark when its Body wears the class theme-dark, as Home 2 and the three dark homepages do: it sets Palette to its Dark mode and Colour to Base. Give the class to any page’s Body, or to a Div Block of its own round one section, to make only that part dark.

A section on a ground of its own wears that ground’s Colour mode on its class (Style panel → Variable modes): Ink for the ink block and the footer, Dusk for the dusk bands, Tint for the mullion, glow, sky and rose, Photo for a section over a photograph, and Base for the page and for a white card inside a dark section. Every word, line and button inside it re-colours itself to read on it, and on Ink, Dusk and Photo the focus ring turns light.

Components

Navbar, Navbar Index and Footer are the frame. Closing Band is the red close at the foot of most pages: set its Heading, Button Label and Button Link. Its line, the number and the three steps are the band’s own, the same on every page.

Button is every link that looks like a button. Set its Label, its Link and Show Arrow, and its Variant by the ground it stands on: Primary, Secondary and Link on the page; On Ink and Link On Ink on ink and in the footer; On Photo over a photograph and on the red band, with Link On Red. A form’s send button belongs to its form and wears the same look.

The Lit Floor, the Lit Square and the partner card are classes, not components. The Lit Floor’s count and place change from page to page: restyle its classes once and every floor follows. The partner card is a Collection List of Partners, so a partner is edited once, in the CMS.

Photographs, logos and drawings

Each photograph keeps the crop it was made for in its class: one whose name holds focus-high keeps the top of the picture, focus-low its foot. Replace a picture in the Assets panel and keep its class, or change the class to move the crop.

The icons, the client logos and the office map are SVG code in Code Embeds, drawn in the colour of the words around them (currentColor), so they follow the ground, the pointer and dark pages. To recolour one, change the colour of the element that holds it, not the SVG.

To use your own client logos, paste each logo’s SVG into its embed and delete any fill colours inside it, so it takes the wall’s muted colour and darkens under the pointer.

The office map is one SVG: the hairlines of longitude and latitude, each office a square at its place in per cent with its city named beside it. To move an office, give its square and its name the same new x and y; to add one, copy both.

The Ambot logo in the Navbar and the Footer is two image files, one for light grounds and one for dark: replace both in the Assets panel.

Interactive parts

No script runs the menus, the tabs or the filters. Everything you press, open or choose is a Webflow element, and what it does is an Interaction in the Interactions panel, named for its part (Menu · opens, Accordion · row 2, Filter · Practice · tax). They find their parts by class or attribute on every page, so a section you copy keeps working.

  • Menus. Each menu in the Navbar is a Dropdown that opens under the pointer and shuts a moment after it leaves; Webflow gives it the keys, Escape and its open state. The name’s red rule is the Open state of its class, bar-header_menu; the panel unrolling and its links rising are Menu · opens. The link to the page you are on is red by its class’s Current state, and the menu of its section wears is-here by a Here · menu Interaction that runs as the page loads, scoped to that section’s pages: add a new page to its section’s scope.
  • The full-screen menu, the phone menu in the Navbar and the index menu in Navbar Index, is a Modal. Its Menu button is a Link Block that opens it (Element settings → Link → Modal), its Close one that shuts it; Escape shuts it too, and Lock scrolling while open holds the page. It slides in by Sheet · slides in (Index menu · unrolls on Home 2), and each group in it is a details element whose chevron turns by Sheet · a group turns its chevron.
  • Accordions. Each row is a details element, and the rows of one accordion share one name attribute, so one row is open at a time; the first row carries open. Accordion · row 1, 2, 3… turns that row’s title, square and plus to their open look and eases its answer open.
  • Tabs and choosers: the question tabs, the practices on the red plate, the industries, the partner finder, the question index, the stories, the clients’ words and Home 2’s practices. Every option is on the page. Choice · option 1, 2, 3… plays when that option’s pick is pressed: it puts is-on on the option’s elements, takes it off the others and hides their parts with is-hidden, the photograph opening floor by floor over the last one and the words rising. The floors are the layer class’s own clip-path, drawn from the number variable Detail → Swap/Progress: the Interaction runs it from 0 to 1 on the new layer, and the last layer hides once it is covered. Each option’s Next and Previous are picks of the options beside it. On Home 2, Choice · the practices take turns moves to the next practice every 6 seconds and waits while the pointer is over them.
  • Chips and filters on Our work, Insights and People. Each chip has its Interaction, Filter · its group · its value: pressing it presses the chip, lets the group’s other chips go and puts is-out-<value> on every item whose data-tags lacks the value, which hides it; pressing it again lets it go. Two groups combine. To add a value, duplicate a chip and give it the value, duplicate its Interaction and write the value in its targets, and add the is-out-<value> combo (Display none) to the list item’s class and to the Style Guide’s States block.
  • Home 3’s industries are a Slider: its two arrows, over the row’s right end, move it a card at a time and hide at each end (swipe is off in its settings, so the arrows are the only way). To add an industry, add a slide and put a card in it. The rows on Our work and on Technology and Industrials name the row under the pointer in red and step the others back (is-back), by Follow rows · row 1, 2, 3…

A part shows its state with a combo class: is-on (open, chosen, lit), is-hidden (out of sight), is-here (the menu of the section you are on), is-out-<value> (filtered out) and is-back (stepped back). Each is styled in the Designer on its element’s class. The Style Guide keeps one element wearing each on its hidden States block (style-guide_states), so Clean up in the Style selectors never deletes them: leave it in place, and add any state you style yourself.

The first section of each page arrives by the First screen Interactions in the Interactions panel, one for each kind of arrival and its place: a Scroll trigger that plays as each part comes into view, so what is on screen arrives as the page opens and Webflow keeps it hidden until then, and on a phone the parts below the fold arrive as they are scrolled to. Everything below the first section arrives by the Arrivals script. To change the first section’s arrival, edit those Interactions; to stop it, delete them and it simply shows.

Forms

The contact form, the newsletter sign-up in the Footer and the close on Home 2 are Webflow forms with their own success and error messages. Submissions arrive in Site settings → Forms; add the address they go to under Form notifications.

On the published site Webflow adds its bot check inside each form. The fields sit in a block of their own inside the form, so the check never opens a gap: keep a new field inside that block.

On Talk to our team and in Home 2’s close the practice chips are radio buttons named Practice, so the practice chosen is sent with the form. Choosing one shows the line under the card that names that practice’s head (Form chip · its practice; one line for each practice, data-practice): to change a head, change the words of that practice’s line.

The Password page and the 404 are Utility pages. The Password page keeps Webflow’s own form: its field’s name stays pass, which Webflow’s password check reads.

How to Edit GSAP Animations

Everything that moves on its own is GSAP: short scripts in Site settings → Custom code → Footer code, one for each part, and a few in the Page settings of the one to three pages that use them (Custom code → Before </body> tag). They only animate: nothing in them opens, chooses or filters. Each script starts with a comment that names its part, as /* Arrivals · … */, and keeps its numbers in one settings object at its top.

The scripts use GSAP with ScrollTrigger and SplitText: keep both on in Site settings → GSAP. No other library is used. Each part finds its elements by a custom attribute (Element settings → Custom attributes) or a class, so a section you copy keeps its motion. Under reduced motion every part shows its finished state, and the canvas always holds the finished page.

The element map: each part by its name, the elements it finds, where its script is, and what it does.

The frame: the header.

  • Header · header[data-js="site-header"] · Footer code. Slides up while the page scrolls down and comes back on the way up; never near the top, never while a menu is open, back when anything in it takes focus.

Arrivals and the scroll: what arrives as it reaches the screen, and what the scroll drives.

  • Arrival cycles · .w-dyn-items > [data-reveal-cycle] · Footer code. The items of a Collection List marked data-reveal-cycle (4, say) take their places in a row of that many for their arrival, so a row of cards arrives left to right.
  • Arrivals shown later · [data-watch], [data-reveal] · Footer code. An arrival ([data-reveal]) whose group is not on view when the page opens arrives once it is. That is a group not drawn yet (an option of a choice not chosen, a panel still shut) or one off the screen sideways (a card further along a row that is pulled or swiped across).
  • Arrivals · [data-watch], [data-reveal] · Footer code. Each thing below the first screen arrives as its group crosses the arrival line, 8% above the foot of the screen.
  • Counts · [data-count-to] · Footer code. A figure counts up to itself once, as it reaches the arrival line (on the first screen, as the page opens).
  • Floors · [data-floors] · Page settings of Home, Home Dark. Tower's first photograph arrives floor by floor as the page opens (1.1, React's FloorsIn). The frame is cut into FLOORS.count floors and each slides in from the right, the bottom floor first, a FLOORS.gap apart, while the picture settles from a little closer.
  • Unveil · [data-unveil] · Footer code. The page's first photograph opens out from a band across its middle as the page opens, the picture (the frame's first child) settling from a little closer (1.18).
  • Parallax · [data-parallax] · Footer code. A full-bleed photograph drifts with the scroll as its frame crosses the screen — from 7% above its place to 7% below, a little closer than its frame (1.16) so its edges never show.
  • Scrub words · [data-scrub-words] · Footer code. A statement fills word by word as the reader scrolls through it, each word from a dim SCRUB.dim to full in reading order, its red closing words last, and scrolling back dims them again.
  • Track · [data-scrub-stage] · Page settings of Deals, People And Organisation, Energy And Utilities. A pinned stage (data-scrub-stage, the step tracks on Deals, People and Organisation, and Energy). While the reader scrolls through the stage, TRACK.length tall, the screen inside it holds still at the top of the window and the row of cards is pulled sideways by exactly its overflow, so the last card reaches the right edge as the stage lets go.
  • Image reveal · [data-image-reveal] · Footer code. A photograph's frame opens from its foot ("bottom") or from its left edge ("left") as it reaches the arrival line (on the first screen, as the page opens), and the picture inside settles from a little closer (1.18), its own easing held off meanwhile.
  • Assemble · [data-assemble-how] · Footer code. A group arrives piece by piece ([data-assemble]), each piece as it crosses the arrival line. Pieces crossing together follow each other ASSEMBLE.step apart (ASSEMBLE.openStep for frames), a long run of them inside one arrival.
  • Measure · img[loading="lazy"] · Footer code. Lazy photographs and web fonts move what is below them once they are in. The arrival lines of Arrivals, Counts, Image reveal and Assemble are measured again a moment after (MEASURE.after seconds, one measure for many).
  • Drift · [data-motion~="animate-drift"] · Footer code. The hero photograph's slow loop (data-motion animate-drift, on the heroes of Home, Home 2, About, Careers, Strategy, four industries and the stories).

The parts: the production line under the Industrials hero, and the photograph that follows the pointer over a list.

  • Belt · [data-motion~="animate-belt"] · Page settings of Industrials And Manufacturing. A row that runs sideways for ever (data-motion animate-belt, the production line along the foot of the Industrials hero).
  • Follower · [data-js="follow-rows"] · Page settings of Work, Technology, Industrials And Manufacturing. The photograph frame of a list the photograph follows (data-js follow-rows). Fixed at the window's top left, it follows the pointer over the list a beat behind, FOLLOW.lag seconds on FOLLOW.ease.

The heroes: the practice and industry pages’ first screens that the scroll draws.

  • Window · [data-progress] > [data-ground="photo"] · Page settings of Energy And Utilities. The Energy hero photograph opening to the full bleed with the scroll. The photograph starts as a window set in by WINDOW.inset from both sides of the screen, the picture WINDOW.closer than its frame, and as the reader scrolls from the data-start line to the data-end line of its wrapper it opens to the edges while the picture comes down to its place.
  • Crown · [data-progress] div[role="img"] · Page settings of Technology. The Technology hero, eleven systems gathered into one. Eleven squares, each a system with its name, start scattered at CROWN.from (left and top, in percent of the drawing) and, as the reader scrolls from the data-start line to the data-end line of the hero, they fall into the middle and fade to CROWN.faded while the Crown, the one red square, grows from CROWN.small and lights up.
  • Process line · ol[data-progress] · Page settings of Technology, Industrials And Manufacturing, Strategy, Public Sector And Infrastructure. The steps down a hairline (an ordered list marked data-progress, on Strategy, Technology, Industrials and Public sector).
  • Store grid · [data-progress] > span[role="img"] · Page settings of Consumer And Retail. One square for every store (the squares of a grid marked data-progress, after its screen-reader label, on Consumer).

Change a part’s timing in its settings object: durations and delays in seconds, rises in pixels, eases by GSAP’s names, and where a part starts in ScrollTrigger’s words. Save, then publish. The Arrivals part, for one, starts like this:

const ARRIVE = {
  duration: 0.8,
  ease: "power3.out",
  start: "top 92%",
  step: 0.07,
  …
};

Duration: 0.8 seconds for each arrival. Write 0.6 for quicker ones. Keep a timed move between 0.15 and 0.8 seconds; a part the scroll drives (scrub) has no duration.

Delay: a thing waits by its place in its group. A data-reveal-index of 3 on an element holds it back three steps of 0.07 seconds, 0.21 seconds in all. Change step to space every group out, or the attribute to move one thing.

<div data-reveal="rise" data-reveal-index="3">

Ease: "power3.out" starts fast and settles. Write another of GSAP’s eases: "expo.out" settles softer, "power2.inOut" eases both ends, "none" keeps one speed.

ScrollTrigger: start "top 92%" starts a part as its top passes 92% of the way down the screen, the arrival line. "top 75%" starts it later, "top bottom" as soon as it shows. A part the scroll drives takes its start and end from its own data-start and data-end attributes, and its settings when they are not set (the Scrub words part: "top 85%" to "bottom 40%").

<span data-scrub-words data-start="top 85%" data-end="bottom 40%">

Every part’s settings, as they read at the top of each script:

The frame.

/* Header · Footer code */
const HEADER = {
  duration: context.conditions.still ? 0.01 : 0.3,
  ease: "power2.out",
  from: 2,
  transitions: "color, background-color, border-color, box-shadow",
};

Arrivals and the scroll.

/* Arrivals shown later · Footer code */
const SHOWN = {
  duration: 0.8,
  settle: 0.8,
  ease: "power3.out",
  start: "top 92%",
  step: 0.07,
  wordStep: 0.025,
  rise: 24,
  scale: 0.94,
  closer: 1.05,
  room: "0.14em",
};
const FROM = {
  rise: { y: SHOWN.rise, opacity: 0 },
  scale: { scale: SHOWN.scale, opacity: 0 },
  settle: { scale: SHOWN.closer },
};

/* Arrivals · Footer code */
const ARRIVE = {
  duration: 0.8,
  settle: 0.8,
  ease: "power3.out",
  start: "top 92%",
  step: 0.07,
  wordStep: 0.025,
  rise: 24,
  scale: 0.94,
  closer: 1.05,
  room: "0.14em",
};
const FROM = {
  rise: { y: ARRIVE.rise, opacity: 0 },
  scale: { scale: ARRIVE.scale, opacity: 0 },
  settle: { scale: ARRIVE.closer },
};

/* Counts · Footer code */
const COUNT = {
  duration: 0.8,
  ease: "power3.out",
  start: "top 92%",
};

/* Floors · Page settings of Home, Home Dark */
const FLOORS = {
  count: 6,
  duration: 0.8,
  gap: 0.07,
  ease: "expo.out",
  closer: 1.05,
  wait: 1.6,
};

/* Unveil · Footer code */
const UNVEIL = {
  duration: 0.8,
  settle: 0.8,
  ease: "expo.out",
  band: "inset(38% 12% 38% 12%)",
  open: "inset(0% 0% 0% 0%)",
  closer: 1.18,
  wait: 1.6,
};

/* Parallax · Footer code */
const PARALLAX = {
  closer: 1.16,
  travel: 7,
};

/* Scrub words · Footer code */
const SCRUB = {
  dim: 0.16,
  start: "top 85%",
  end: "bottom 40%",
};

/* Track · Page settings of Deals, People And Organisation, Energy And Utilities */
const TRACK = {
  length: "260svh",
  screen: "100svh",
};

/* Image reveal · Footer code */
const IMAGE = {
  duration: 0.8,
  late: 0.6,
  settle: 0.8,
  ease: "expo.out",
  start: "top 92%",
  closer: 1.18,
  wait: 1.6,
  bottom: "inset(100% 0% 0% 0%)",
  left: "inset(0% 100% 0% 0%)",
  open: "inset(0% 0% 0% 0%)",
};

/* Assemble · Footer code */
const ASSEMBLE = {
  duration: 0.8,
  open: 0.8,
  late: 0.4,
  ease: "expo.out",
  start: "top 92%",
  step: 0.105,
  openStep: 0.14,
  within: 0.8,
  rise: 24,
  far: 56,
};
const FROM = {
  rise: { y: ASSEMBLE.rise, opacity: 0 },
  slide: { x: -ASSEMBLE.far, opacity: 0 },
  drop: { y: -ASSEMBLE.far, opacity: 0 },
  open: { clipPath: "inset(0% 50% 0% 50%)" },
  scale: { scaleX: 0, transformOrigin: "left center" },
};
const TO = {
  rise: { y: 0, opacity: 1 },
  slide: { x: 0, opacity: 1 },
  drop: { y: 0, opacity: 1 },
  open: { clipPath: "inset(0% 0% 0% 0%)" },
  scale: { scaleX: 1 },
};

/* Measure · Footer code */
const MEASURE = {
  after: 0.25,
};

/* Drift · Footer code */
const DRIFT = {
  closer: 1.05,
  lap: 30,
  ease: "power1.out",
};

The parts.

/* Belt · Page settings of Industrials And Manufacturing */
const BELT = {
  lap: 30,
};

/* Follower · Page settings of Work, Technology, Industrials And Manufacturing */
const FOLLOW = {
  lag: context.conditions.still ? 0.01 : 0.8,
  ease: "expo.out",
};

The heroes.

/* Window · Page settings of Energy And Utilities */
const WINDOW = {
  inset: 12,
  closer: 1.18,
};

/* Crown · Page settings of Technology */
const CROWN = {
  from: [[2, 4], [30, 0], [60, 6], [84, 2], [8, 32], [74, 30], [0, 62], [30, 84], [58, 86], [86, 60], [86, 86]],
  to: 43,
  faded: 0.05,
  small: 0.2,
  lit: 1 / 1.4,
};

/* Process line · Page settings of Technology, Industrials And Manufacturing, Strategy, Public Sector And Infrastructure */
const LINE = {
  from: 0,
  origin: "50% 0%",
};

/* Store grid · Page settings of Consumer And Retail */
const STORES = {
  dim: 0.1,
};

Remove a part, or all of them, step by step:

  • Open Site settings → Custom code → Footer code; for a part a page carries, that page’s Page settings → Custom code.
  • Find the part by its comment: each <script> holds one part and starts with its name, as /* Arrivals · … */.
  • Delete that <script> and everything in it, to its </script>. To try the site without it first, write <script type="text/plain"> in its place: the browser keeps the code and runs none of it.
  • Save changes, then publish. Keep GSAP on in Site settings → GSAP even with no script left: the Interactions run on it.

What the page is without them. Without the arrivals, the scroll parts and the heroes, every word and photograph is in place from the start: the figures show their values, the statements read in full, the photographs stand still, the Energy window is open, the Crown gathered, the stores filled and the red line drawn, and the step tracks scroll sideways under the hand. Without the Header script the header stays at the top. The menus, the full-screen menu, the accordions, the choosers, the filters and the contact desk are not scripts, and work without any.

Before you publish

Change the favicon and webclip (Site settings → General), the share image (each page’s Open Graph settings), and every page’s title and description in its SEO settings.