/*
 * Rembox site styles.
 *
 * Sizes are in rem against a fluid root (see Root size below). The design is
 * 1920 wide, so a design px value converts as px / 19.2.
 */

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--color-text: #211F1D;
	--color-navy: #171D32;
	--color-dark: #30323A;
	--color-dark-soft: #46464D;
	--color-yellow: #FFBB29;
	--color-orange: #FFAA29;
	--color-bg: #F9F9F9;
	--color-bg-warm: #FAF7F4;
	--color-grey: #EBE8E7;
	--color-white: #FFFFFF;
	--color-ink: #44464D;
	--color-ink-muted: rgba(68, 70, 77, 0.3);
	--color-amber: #F5A623;
	--color-cream: #FFFCF9;
	--color-grey-light: #D0D0D0;
	--color-line: #A29FA5;
	--color-amber-bright: #FEB400;
	--color-card: #F9F6F3;
	--gradient-ink: linear-gradient(90deg, #1E1E1E 0%, #30323A 100%);
	--gradient-ink-faint: linear-gradient(90deg, rgba(30, 30, 30, 0.3) 0%, rgba(48, 50, 58, 0.3) 100%);
	--color-map-glow: rgba(255, 207, 17, 0.4);
	--color-sun: #FFCF11;
	--color-white-70: rgba(255, 255, 255, 0.7);
	--color-white-40: rgba(255, 255, 255, 0.4);

	/* 1610px content width at 1920 */
	--container-width: 83.854rem;
	--gutter: 1.5rem;

	/* Logo height plus the header's padding above and below */
	--header-height: 8.105rem;
}

/* ==========================================================================
   Root size
   1rem = 19.2px above 1920, 1vw from 1025 to 1920, 1.2vw on tablet,
   16px on mobile.
   ========================================================================== */

html {
	font-size: 19.2px;
}

@media (max-width: 1920px) {
	html {
		font-size: 1vw;
	}
}

@media (max-width: 1024px) {
	html {
		font-size: 1.2vw;
	}
}

@media (max-width: 766px) {
	html {
		font-size: 16px;
	}

	:root {
		--gutter: 1rem;
		--header-height: 4.75rem;
	}
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
}

/* Lenis smooth scrolling (base rules from lenis.css) */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

.container {
	width: min(var(--container-width), 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 100;
	background: var(--color-bg);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.031rem;
	padding-block: 2.969rem;
}

/* Logo: 214.379 x 41.615 */
.site-logo {
	display: block;
	flex-shrink: 0;
	width: 11.166rem;
	height: 2.167rem;
}

.site-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Menu: 33.147px / 39.777px, items 39px apart */
.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.726rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
	color: var(--color-orange);
}

.site-nav__list a:focus-visible,
.site-header__toggle:focus-visible,
.site-logo:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 4px;
}

/* English: the logo on the left, the menu in spaced capitals, #30323A */
[dir="ltr"] .site-logo {
	order: -1;
}

@media (min-width: 767px) {

	[dir="ltr"] .site-nav__list {
		gap: 2.344rem;
	}
}

[dir="ltr"] .site-nav__list a {
	letter-spacing: 0.069rem;
	text-transform: uppercase;
	color: var(--color-dark);
}

[dir="ltr"] .site-nav__list a:hover,
[dir="ltr"] .site-nav__list .current-menu-item > a {
	color: var(--color-orange);
}

/* Burger: mobile only */
.site-header__toggle {
	display: none;
}

@media (max-width: 766px) {

	.site-header__inner {
		padding-block: 1rem;
	}

	.site-header__toggle {
		position: relative;
		display: block;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		background: none;
		border: 0;
		color: var(--color-text);
		cursor: pointer;
	}

	.site-header__toggle-bar,
	.site-header__toggle-bar::before,
	.site-header__toggle-bar::after {
		position: absolute;
		left: 50%;
		width: 1.75rem;
		height: 2px;
		margin-left: -0.875rem;
		background: currentColor;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.site-header__toggle-bar {
		top: 50%;
		margin-top: -1px;
	}

	.site-header__toggle-bar::before,
	.site-header__toggle-bar::after {
		content: '';
		left: 0;
		margin-left: 0;
	}

	.site-header__toggle-bar::before {
		top: -0.5rem;
	}

	.site-header__toggle-bar::after {
		top: 0.5rem;
	}

	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar {
		background: transparent;
	}

	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar::before {
		transform: translateY(0.5rem) rotate(45deg);
	}

	.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar::after {
		transform: translateY(-0.5rem) rotate(-45deg);
	}

	/* Menu under the header row: the panel wipes down from the header with
	   rounded lower corners, then the links rise in one after another, each
	   drawing a thin line under itself; closing plays it back quickly. The
	   links move, not their items, which play the page's own entrance. */
	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		padding: 0.25rem var(--gutter) 1.75rem;
		border-radius: 0 0 1.5rem 1.5rem;
		background: var(--color-bg);
		box-shadow: 0 1.5rem 2rem rgba(33, 31, 29, 0.1);
		visibility: hidden;
		pointer-events: none;
		clip-path: inset(0 0 100% 0 round 0 0 1.5rem 1.5rem);
		transition: clip-path 0.45s cubic-bezier(0.7, 0, 0.84, 0) 0.1s, visibility 0s linear 0.55s;
	}

	.site-nav.is-open {
		visibility: visible;
		pointer-events: auto;
		clip-path: inset(0 0 -3rem 0 round 0 0 1.5rem 1.5rem);
		transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list a {
		position: relative;
		padding-block: 0.85rem;
		font-size: 1.75rem;
		opacity: 0;
		transform: translateY(1.25rem);
		transition: color 0.2s ease, opacity 0.25s ease, transform 0.3s ease;
	}

	.site-nav__list a::after {
		content: '';
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		height: 1px;
		background: rgba(48, 50, 58, 0.12);
		transform: scaleX(0);
		transform-origin: right;
		transition: transform 0.3s ease;
	}

	[dir="ltr"] .site-nav__list a::after {
		transform-origin: left;
	}

	.site-nav.is-open .site-nav__list a {
		opacity: 1;
		transform: none;
		transition: color 0.2s ease, opacity 0.5s ease var(--menu-delay, 0.15s), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--menu-delay, 0.15s);
	}

	.site-nav.is-open .site-nav__list a::after {
		transform: none;
		transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--menu-delay, 0.15s) + 0.1s);
	}

	.site-nav__list > li:nth-child(2) a { --menu-delay: 0.21s; }
	.site-nav__list > li:nth-child(3) a { --menu-delay: 0.27s; }
	.site-nav__list > li:nth-child(4) a { --menu-delay: 0.33s; }
	.site-nav__list > li:nth-child(5) a { --menu-delay: 0.39s; }
	.site-nav__list > li:nth-child(6) a { --menu-delay: 0.45s; }
	.site-nav__list > li:nth-child(n+7) a { --menu-delay: 0.5s; }

	/* Without scripts (no .js, set in <head>) the menu just shows */
	:root:not(.js) .site-nav {
		visibility: visible;
		pointer-events: auto;
		clip-path: none;
	}

	:root:not(.js) .site-nav__list a,
	:root:not(.js) .site-nav__list a::after {
		opacity: 1;
		transform: none;
	}

	:root:not(.js) .site-header__toggle {
		display: none;
	}
}

@media (max-width: 766px) and (prefers-reduced-motion: reduce) {

	.site-nav,
	.site-nav.is-open,
	.site-nav__list a,
	.site-nav__list a::after,
	.site-nav.is-open .site-nav__list a,
	.site-nav.is-open .site-nav__list a::after {
		transition: visibility 0s, color 0.2s ease;
	}
}

/* The home page opens straight into the hero, so the header sits over it */
.is-front-page .site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
}

/* Hero switched off: the header takes its own room above the first section */
.is-front-page.has-no-hero .site-header {
	position: relative;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

/* 20.868px bold, white on #30323A, padding 0 42px 0 43px, 51px tall */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.656rem;
	padding: 0 2.188rem 0 2.24rem;
	font-family: var(--font-heading);
	font-size: 1.087rem;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.005rem;
	text-box: trim-both cap alphabetic;
	color: var(--color-white);
	text-decoration: none;
	background: var(--color-dark);
	border-radius: 6.038rem;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
	background: var(--color-text);
	transform: translateY(-0.104rem);
}

.button:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 4px;
}

/* With an arrow (the hero button): on hover the pill turns #FFAA29 and an
   #FFAA29 arrow pill pops out 6px beyond it. The arrow sits outside the
   flow, so the label doesn't move, and inside the link, so it still counts
   as the button. */
.button--arrow {
	position: relative;
	transition: background-color 0.3s ease;
}

.button--arrow:hover,
.button--arrow:focus-visible {
	background: var(--color-orange);
	transform: none;
}

.button__arrow {
	position: absolute;
	top: 0;
	inset-inline-start: calc(100% + 0.313rem);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.229rem;
	height: 100%;
	border-radius: 6.038rem;
	background: var(--color-orange);
	opacity: 0;
	transform: scale(0.5);
	transform-origin: 100% 50%;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}

[dir="ltr"] .button__arrow {
	transform-origin: 0 50%;
}

.button__arrow img {
	display: block;
	width: max(0.729rem, 11px);
	height: max(0.729rem, 11px);
	transform: translate(0.5rem, 0.5rem);
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s;
}

/* The arrow is drawn pointing up and back for RTL; mirror it for LTR */
[dir="ltr"] .button__arrow img {
	transform: scaleX(-1) translate(0.5rem, 0.5rem);
}

.button--arrow:hover .button__arrow,
.button--arrow:focus-visible .button__arrow {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.button--arrow:hover .button__arrow img,
.button--arrow:focus-visible .button__arrow img {
	transform: none;
}

[dir="ltr"] .button--arrow:hover .button__arrow img,
[dir="ltr"] .button--arrow:focus-visible .button__arrow img {
	transform: scaleX(-1);
}

/* Touch screens have no hover to reveal it; the plain pill is enough */
@media (hover: none) {

	.button__arrow {
		display: none;
	}
}

/* ==========================================================================
   Home: hero + intro screen
   Without the animation (no JS, or reduced motion) the two sections stack.
   home.js adds .is-animated, which pins the screen while the page scrolls.
   ========================================================================== */

.home-stage {
	position: relative;
}

.home-stage__screen {
	position: relative;
	overflow: hidden;
	background: var(--color-bg);
}

/* Blob: 1011.24 x 1014.756, rotated 0.695deg, 80px in from the left and
   376px down at 1920. Tied to the container so it stays put above 1920. */
.home-stage__blob {
	position: absolute;
	z-index: 1;
	top: 19.583rem;
	left: calc(50% - 45.833rem);
	width: 52.669rem;
	height: 52.852rem;
	pointer-events: none;
}

.home-stage__blob-svg {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	overflow: visible;
	fill: var(--color-yellow);
	transform: rotate(0.695deg);
}

/* Hero */
.home-hero {
	position: relative;
	z-index: 2;
}

.home-hero__inner {
	display: flex;
	flex-direction: column;
	min-height: 49.323rem;
	padding-top: calc(var(--header-height) + 2.552rem);
	padding-bottom: 4rem;
}

/* Title: 196.432px / 87%, bold, #30323A */
.home-hero__title {
	margin: 0;
	padding-inline-start: 1.927rem;
	font-family: var(--font-heading);
	font-size: 10.231rem;
	font-weight: 700;
	line-height: 0.87;
	text-transform: uppercase;
	color: var(--color-dark);
}

/* Description and button sit at the far end of the row, under the title */
.home-hero__body {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	align-self: flex-end;
	width: 50.5rem;
	max-width: 100%;
	margin-top: 6.927rem;
}

/* Description: 46.862px / 120%, demibold, #46464D */
.home-hero__description {
	width: 100%;
	margin: 0;
	font-family: var(--font-heading);
	font-size: 2.441rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--color-dark-soft);
}

/* Each line sits in a mask the load animation raises it through. The mask
   is padded out past the tight 0.87 line height so tall letters and the
   descenders of ן and ק are not clipped, then pulled back so lines keep
   their spacing. */
.home-hero__line {
	display: block;
	overflow: hidden;
	padding-block: 0.12em 0.16em;
	margin-block: -0.12em -0.16em;
}

.home-hero__line-inner {
	display: block;
}

.home-hero__text {
	width: 100%;
}

.home-hero__action {
	margin-top: 1.354rem;
}

/* The button sits at the container's edge and its hover arrow opens beyond
   it; where the gutter is too narrow for that, keep room for the arrow */
@media (max-width: 1024px) and (hover: hover) {

	.home-hero__action {
		padding-inline-end: 3.6rem;
	}
}

/*
 * Page load intro. A script in <head> adds .js-intro before first paint, so
 * these start hidden rather than flashing up before home.js plays them in.
 */
.js-intro .home-hero__line-inner,
.js-intro [data-hero-intro],
.js-intro .home-stage__blob-svg,
.js-intro .site-header .site-logo,
.js-intro .site-header__toggle,
.js-intro .site-nav__list > li {
	opacity: 0;
}

/* Intro */
.home-intro {
	position: relative;
	z-index: 3;
}

.home-intro__bg {
	position: absolute;
	inset: 0;
	background: var(--color-yellow) url('../img/second-section_bg.svg') center / cover no-repeat;
}

.home-intro__inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 52.083rem;
	padding-block: 6rem;
}

/* Text: 66.508px / 160%, demibold */
.home-intro__text {
	margin: 0;
	padding-inline: 2.24rem 0.521rem;
	font-family: var(--font-heading);
	font-size: 3.464rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--color-ink);
}

/* Typing effect: home.js wraps every letter, words stay unbroken */
.type-word {
	white-space: nowrap;
}

/* Animated: the screen pins while the stage scrolls past underneath it */
.home-stage.is-animated {
	height: calc(100vh + var(--home-stage-scroll, 300vh));
}

.home-stage.is-animated .home-stage__screen {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
}

.home-stage.is-animated .home-hero,
.home-stage.is-animated .home-hero__inner {
	height: 100%;
	min-height: 0;
}

/* The intro layer covers the hero, so let clicks through to the hero button
   until the intro's own content shows (hidden content takes no clicks) */
.home-stage.is-animated .home-intro {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.home-stage.is-animated .home-intro__inner {
	pointer-events: auto;
}

.home-stage.is-animated .home-intro__inner {
	height: 100%;
	min-height: 0;
}

.home-stage.is-animated .home-intro__bg,
.home-stage.is-animated .home-intro__inner {
	visibility: hidden;
	opacity: 0;
}

.home-stage.is-animated .type-char {
	color: var(--color-ink-muted);
	transition: color 0.25s ease;
}

.home-stage.is-animated .type-char.is-typed {
	color: var(--color-ink);
}

@media (max-width: 766px) {

	.home-hero__inner {
		min-height: 100vh;
		min-height: 100svh;
		padding-top: calc(var(--header-height) + 2.5rem);
		padding-bottom: 3rem;
	}

	.home-hero__title {
		padding-inline-start: 0;
		font-size: 4.75rem;
	}

	/* Description and button drop to the foot of the screen, over the blob */
	.home-hero__body {
		align-items: flex-start;
		width: 100%;
		margin-top: auto;
		padding-top: 2.5rem;
	}

	.home-hero__description {
		font-size: 1.6rem;
	}

	.home-hero__action {
		margin-top: 1.25rem;
	}

	.home-stage__blob {
		top: calc(100vh - 28rem);
		top: calc(100svh - 28rem);
		left: -11rem;
		width: 38rem;
		height: 38.15rem;
	}

	.home-intro__inner {
		min-height: 100vh;
		min-height: 100svh;
		padding-block: 4rem;
	}

	.home-intro__text {
		padding-inline: 0;
		font-size: 2.1rem;
	}

	/* A shorter scroll through the opening screen, so the next section
	   comes sooner */
	.home-stage.is-animated {
		--home-stage-scroll: 160vh;
	}
}

/* ==========================================================================
   Home: video
   Full width at the design's 1920 x 1074, at every screen size.
   ========================================================================== */

.home-video {
	position: relative;
	background: var(--color-dark);
}

.home-video__media {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1920 / 1074;
	object-fit: cover;
}

/* Phones: square */
@media (max-width: 766px) {

	.home-video__media {
		aspect-ratio: 1;
	}
}

/* ==========================================================================
   Home: clients
   ========================================================================== */

.home-clients {
	padding: 4.688rem 0 5.26rem;
	background: var(--color-cream);
}

.home-clients__header {
	margin-bottom: 3.281rem;
}

/* Title: 94.783px / 115%, bold, #30323A */
.home-clients__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 4.937rem;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-dark);
}

/* Subtitle: 60px / 100%, demibold, #F5A623, 1.2px tracking */
.home-clients__subtitle {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 3.125rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-amber);
}

/* Four square tiles a row, 15px apart, fill the container */
.logos-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.781rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.logos-grid__item {
	display: flex;
}

/* Tile: radius 22.686px, rgba(48, 50, 58, 0.10), padding 8.507 17.014 8.507 8.507 */
.logo-tile {
	position: relative;
	isolation: isolate;
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	padding: 0.443rem 0.886rem 0.443rem 0.443rem;
	overflow: hidden;
	border-radius: 1.182rem;
	background: rgba(48, 50, 58, 0.1);
	transition: background-color 0.35s ease;

	/* Hover look, set per colour below */
	--tile-bg: var(--color-orange);
	--tile-lines: url('../img/tiles/yellow_bg.svg');
	--tile-logo-filter: brightness(0) invert(1);
}

.logo-tile--dark {
	--tile-bg: var(--color-dark-soft);
	--tile-lines: url('../img/tiles/dark_grey_bg.svg');
}

/* Light enough that the logo stays dark */
.logo-tile--grey {
	--tile-bg: var(--color-grey-light);
	--tile-lines: url('../img/tiles/light_grey_bg.svg');
	--tile-logo-filter: brightness(1) invert(0);
}

/* The line graphic (drawn 310 x 257 for the foot of a 310 tile) sweeps in
   from slightly oversized as the tile fills */
.logo-tile::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--tile-lines) center bottom / 100% auto no-repeat;
	opacity: 0;
	transform: scale(1.25);
	transform-origin: 80% 75%;
	transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.logo-tile__logo {
	display: block;
	max-height: 66%;
	height: auto;
	object-fit: contain;
	filter: brightness(1) invert(0);
	transition: filter 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.logo-tile:hover,
.logo-tile:focus-visible {
	background: var(--tile-bg);
}

.logo-tile:hover::before,
.logo-tile:focus-visible::before {
	opacity: 1;
	transform: scale(1);
}

.logo-tile:hover .logo-tile__logo,
.logo-tile:focus-visible .logo-tile__logo {
	filter: var(--tile-logo-filter);
	transform: scale(1.04);
}

.logo-tile:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

/* Four rows, then "Load more" (home/clients.php): 4, 3 or 2 a row */
.logos-grid.is-limited .logos-grid__item:nth-child(n+17):not(.is-shown) {
	display: none;
}

.logos-grid__item.is-arriving {
	animation: logos-arrive 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logos-arrive {
	from {
		opacity: 0;
		transform: translateY(1.5rem) scale(0.96);
	}
}

.logos-grid__actions {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.logos-grid__actions[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce) {

	.logos-grid__item.is-arriving {
		animation: none;
	}
}

@media (max-width: 1024px) {

	.logos-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.logos-grid.is-limited .logos-grid__item:nth-child(n+13):not(.is-shown) {
		display: none;
	}
}

@media (max-width: 766px) {

	.home-clients {
		padding: 3.5rem 0 4rem;
	}

	.home-clients__header {
		margin-bottom: 2rem;
	}

	.home-clients__title {
		font-size: 2.8rem;
	}

	.home-clients__subtitle {
		margin-top: 0.5rem;
		font-size: 1.6rem;
		line-height: 1.2;
	}

	.logos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	.logos-grid.is-limited .logos-grid__item:nth-child(n+9):not(.is-shown) {
		display: none;
	}

	.logos-grid__actions {
		margin-top: 2rem;
	}

	.logo-tile {
		border-radius: 0.875rem;
	}
}

/* ==========================================================================
   Home: team and map
   ========================================================================== */

.home-team {
	position: relative;
	overflow: hidden;
	min-height: 46rem;
	padding: 10.26rem 0 6rem;
	background: var(--color-bg-warm);
}

/* Map: 1182 x 850 from the section's top left at 1920, tied to the
   container so it holds its place on wider screens */
.home-team__map {
	position: absolute;
	top: 0;
	left: calc(50% - 50rem);
	width: 61.563rem;
	aspect-ratio: 1182 / 850;
}

.home-team__map-img {
	display: block;
	width: 100%;
	height: 100%;
}

/* Location: a 60px yellow circle with a 17px orange square, both sized as a
   share of the map so they scale with it. Placed by its centre. */
.map-point {
	position: absolute;
	width: 5%;
	aspect-ratio: 1;
	margin: -2.5% 0 0 -2.5%;
	border-radius: 50%;
	background: var(--color-map-glow);
}

/* The pulse: a ring that swells out from the circle and fades, staggered
   so neighbouring points don't beat in step */
.map-point::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--color-map-glow);
	animation: rembox-map-pulse 4.5s cubic-bezier(0.25, 0.5, 0.35, 1) infinite;
	animation-delay: calc(var(--i, 0) * -1.1s);
}

.map-point::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 29%;
	height: 29%;
	margin: -14.5% 0 0 -14.5%;
	background: var(--color-orange);
}

@keyframes rembox-map-pulse {
	0% {
		opacity: 0.45;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: scale(2.4);
	}
}

@media (prefers-reduced-motion: reduce) {

	.map-point::before {
		animation: none;
		opacity: 0;
	}
}

.home-team__inner {
	position: relative;
	z-index: 1;
}

/* The lines run 13px past the container's edge, as in the design, so the
   block steps out by that much and the text steps back in */
.home-team__content {
	width: 45.417rem;
	max-width: 100%;
	margin-inline-start: -0.677rem;
}

/* Title: 87.148px / 100%, demibold, 1.743px tracking */
.home-team__title {
	margin: 0 0 1.615rem;
	padding-inline-start: 0.677rem;
	font-family: var(--font-heading);
	font-size: 4.539rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-dark);
}

.team-features {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Line: 1px #A29FA5 */
.team-features__line {
	display: block;
	height: 1px;
	background: var(--color-line);
}

/* Feature title: 45px / 115%, demibold, #FFAA29 */
.team-features__title {
	margin: 1.302rem 0 0;
	padding-inline-start: 0.677rem;
	font-family: var(--font-heading);
	font-size: 2.344rem;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-orange);
}

/* Feature description: Heebo 18px / 120%, medium, 70% #30323A */
.team-features__description {
	margin: 0.625rem 0 1.146rem;
	padding-inline-start: 0.677rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
	color: rgba(48, 50, 58, 0.7);
}

/* Tablet and down: the map would sit under the text, so the two stack, the
   text first and the map below it */
@media (max-width: 1024px) {

	.home-team {
		display: flex;
		flex-direction: column;
		min-height: 0;
		padding: 4rem 0 2rem;
	}

	.home-team__inner {
		order: 1;
	}

	.home-team__map {
		position: relative;
		order: 2;
		left: auto;
		width: 100%;
		margin-top: 2rem;
	}

	.home-team__content {
		width: 100%;
		margin-inline-start: 0;
	}
}

@media (max-width: 766px) {

	/* The drawing ends at 1015 of the map's 1182, so the map is drawn that
	   much wider for its land to reach the screen's right edge (the rest is
	   cut off); its left edge stays at the screen's */
	.home-team__map {
		width: calc(100% * 1182 / 1015);
		margin-right: calc(100% - 100% * 1182 / 1015);
		margin-left: 0;
	}

	.home-team__title {
		margin-bottom: 1.25rem;
		padding-inline-start: 0;
		font-size: 2.25rem;
	}

	.team-features__title {
		margin-top: 1rem;
		padding-inline-start: 0;
		font-size: 1.8rem;
	}

	.team-features__description {
		margin-bottom: 1rem;
		padding-inline-start: 0;
		font-size: 1rem;
		line-height: 1.4;
	}
}

/* ==========================================================================
   Home: areas slider
   ========================================================================== */

.home-areas {
	overflow: hidden;
	padding: 7.292rem 0 3.75rem;
	background: var(--color-bg-warm);
}

/* Title: 95px / 90%, demibold, ink gradient */
.home-areas__title {
	width: fit-content;
	margin: 0 0 2rem;
	font-family: var(--font-heading);
	font-size: 4.948rem;
	font-weight: 600;
	line-height: 0.9;
	text-transform: uppercase;
	background: var(--gradient-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* The row starts at the container's edge and runs on past the other one to
   the edge of the screen, so the next cards peek in. The clip keeps the
   cards already scrolled past from showing beyond the starting edge. */
/* (Specific enough to beat owl.carousel.css, which loads after this file.
   The 0.4rem lets an open card's slight zoom show in full; the card
   scrolled past sits a whole gap further out, so it stays hidden.) */
.home-areas .areas-slider .owl-stage-outer {
	overflow: visible;
	clip-path: inset(-2rem -100vw -2rem -0.4rem);
}

.home-areas .areas-slider.owl-rtl .owl-stage-outer {
	clip-path: inset(-2rem -0.4rem -2rem -100vw);
}

/* Without JavaScript Owl never shows the row, so it scrolls natively instead */
.no-js .areas-slider.owl-carousel {
	display: flex;
	overflow-x: auto;
}

/* Card 305px, then the 27px gap */
.areas-slider__slide {
	padding-inline-end: 1.406rem;
}

/* Card: 305 x 440. The number row floats over the top so the picture can
   rise into it, and the text keeps a reserved block at the foot. */
.area-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 15.885rem;
	height: 22.917rem;
	padding: 2.6rem 1rem 1rem;
	padding-inline-start: 0.833rem;
	border-radius: 0.625rem;
	background: var(--color-card);
	transform-origin: 50% 100%;
	transition: background-color 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
	user-select: none;
}

.area-card__top {
	position: absolute;
	top: 1.146rem;
	inset-inline: 0.833rem 1rem;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

/* Number: Heebo 40px / 115%, semibold, faint ink gradient */
.area-card__number {
	font-family: var(--font-body);
	font-size: 2.083rem;
	font-weight: 600;
	line-height: 1.15;
	background: var(--gradient-ink-faint);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Square: 12px, #FEB400, dark on hover */
.area-card__mark {
	flex-shrink: 0;
	width: 0.625rem;
	height: 0.625rem;
	margin-top: 0.26rem;
	border-radius: 0.031rem;
	background: var(--color-amber-bright);
	transition: background-color 0.35s ease;
}

/* The picture takes the height above the text block; only a description
   longer than the reserved space makes it give way */
.area-card__media {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin-bottom: 0.75rem;
}

.area-card__image {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	pointer-events: none;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Room for a two-line title, or a title and its description: closed, the
   space below the title stays empty; open, the description fills it */
.area-card__body {
	flex: none;
	min-height: 8.75rem;
}

/* Title: 60px / 90%, demibold, ink gradient */
.area-card__title {
	width: fit-content;
	margin: 0;
	font-family: var(--font-heading);
	font-size: 3.125rem;
	font-weight: 600;
	line-height: 0.9;
	text-transform: uppercase;
	background: var(--gradient-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Description: Heebo 18px / 120%, black. Folded shut until hover; the grid
   row lets it open to its own height. */
.area-card__description {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 0;
	opacity: 0;
	transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), margin-top 0.45s ease, opacity 0.3s ease;
}

.area-card__description p {
	overflow: hidden;
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.2;
	color: #000;
}

/* Open card: hover on a mouse, a tap (.is-active) on touch screens */
.area-card.is-active {
	background: var(--color-orange);
	transform: scale(1.016);
}

.area-card.is-active .area-card__mark {
	background: var(--color-dark);
}

.area-card.is-active .area-card__description {
	grid-template-rows: 1fr;
	margin-top: 0.625rem;
	opacity: 1;
}

@media (hover: hover) {

	.area-card:hover {
		background: var(--color-orange);
		transform: scale(1.016);
	}

	.area-card:hover .area-card__mark {
		background: var(--color-dark);
	}

	.area-card:hover .area-card__description {
		grid-template-rows: 1fr;
		margin-top: 0.625rem;
		opacity: 1;
	}

	.area-card:hover .area-card__image {
		transform: translateY(-0.26rem);
	}
}

/* Slider arrows, shared with the projects slider: 56 x 44. Here at the far
   end under the row. */
.slider-nav {
	display: flex;
	justify-content: flex-end;
	gap: 0.417rem;
}

.home-areas .slider-nav {
	margin-top: 1.875rem;
}

.slider-nav__button {
	display: grid;
	place-items: center;
	width: 2.917rem;
	height: 2.292rem;
	padding: 0;
	border: 0;
	border-radius: 1.146rem;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.slider-nav__button--prev {
	background: var(--color-amber-bright);
}

.slider-nav__button--next {
	background: var(--color-dark);
}

.slider-nav__button img {
	display: block;
	width: 0.833rem;
	height: 0.833rem;
}

/* The arrows are drawn for RTL; mirror them for left-to-right languages */
[dir="ltr"] .slider-nav__button img {
	transform: scaleX(-1);
}

.slider-nav__button:hover:not(:disabled) {
	filter: brightness(1.12);
	transform: translateY(-0.104rem);
}

.slider-nav__button:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

.slider-nav__button:disabled {
	opacity: 0.35;
	cursor: default;
}

@media (max-width: 766px) {

	.home-areas {
		padding: 4rem 0 3rem;
	}

	.home-areas__title {
		margin-bottom: 1.5rem;
		font-size: 2.5rem;
	}

	.areas-slider__slide {
		padding-inline-end: 0.75rem;
	}

	.area-card {
		width: 16rem;
		height: 24rem;
		padding: 2.5rem 1rem 1rem;
	}

	.area-card__top {
		top: 1rem;
		inset-inline: 1rem;
	}

	.area-card__body {
		min-height: 9rem;
	}

	.area-card__number {
		font-size: 1.5rem;
	}

	.area-card__title {
		font-size: 2rem;
	}

	.area-card__description p {
		font-size: 1rem;
		line-height: 1.35;
	}

	.home-areas .slider-nav {
		margin-top: 1.25rem;
	}
}

/* ==========================================================================
   Home: parallax image
   1920 x 752 at every size. With the parallax on (.is-parallax, home.js)
   the picture is drawn 30% taller than the strip, so it has room to drift.
   ========================================================================== */

.home-parallax {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1920 / 752;
	background: var(--color-dark);
}

.home-parallax__image {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.home-parallax.is-parallax .home-parallax__image {
	top: -15%;
	height: 130%;
	will-change: transform;
}

/* Phones: square, like the home video, on every page (the tall About one
   too, hence the doubled class) */
@media (max-width: 766px) {

	.home-parallax,
	.home-parallax.home-parallax--tall {
		aspect-ratio: 1;
	}
}

/* ==========================================================================
   Home: steps
   Numbered stages beside a video. With JavaScript (.is-scrubbing,
   home-steps.js) the panel holds on screen and the scroll plays the video;
   without it the steps are plain open content.
   ========================================================================== */

/* Rounded top corners that overlap the image above */
.home-steps {
	position: relative;
	z-index: 1;
	margin-top: -1.302rem;
	border-radius: 1.302rem 1.302rem 0 0;
	color: var(--color-white);
	background: var(--color-dark);
}

.home-steps__panel {
	display: flex;
	align-items: center;
	padding-block: 6.25rem 6.719rem;
}

/* The steps and the video are 1669px across, a little wider than the
   container: 903px of steps, a 113px gap, then the 653px video */
.home-steps__grid {
	display: grid;
	grid-template-columns: minmax(0, 47.031fr) minmax(0, 34.01fr);
	grid-template-rows: auto 1fr;
	column-gap: 5.885rem;
	align-items: center;
	width: min(86.927rem, 100% - 2 * var(--gutter));
	margin-inline: auto;
}

/* Title: 95px / 115%, bold, white; a <span> turns orange. It starts in
   line with the step titles' column and may run a little past the row. */
.home-steps__title {
	grid-column: 1 / -1;
	margin: 0 0 0.729rem;
	margin-inline: 1.771rem -2rem;
	font-family: var(--font-heading);
	font-size: 4.948rem;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-white);
}

.home-steps__title span {
	color: var(--color-orange);
}

/* Video: 653 x 480, radius 14px */
.home-steps__media {
	position: relative;
	grid-row: 2;
	grid-column: 2;
	overflow: hidden;
	aspect-ratio: 653 / 480;
	border-radius: 0.729rem;
	background: rgba(255, 255, 255, 0.04);
}

.home-steps__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Badge: Heebo 14px, medium, white, the 11.455px yellow square after the
   text, in the video's far top corner */
.home-steps__badge {
	position: absolute;
	top: 0.625rem;
	inset-inline-end: 0.729rem;
	display: flex;
	align-items: center;
	gap: 0.521rem;
	margin: 0;
	padding: 0.521rem 0.729rem;
	border-radius: 0.26rem;
	font-family: var(--font-body);
	font-size: max(0.729rem, 11px);
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	color: var(--color-white);
	background: rgba(48, 50, 58, 0.55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.home-steps__badge-mark {
	flex-shrink: 0;
	width: max(0.597rem, 9px);
	height: max(0.597rem, 9px);
	border-radius: 0.06rem;
	background: var(--color-sun);
}

/* The phone progress row; see the mobile rules */
.steps-progress {
	display: none;
}

/* Steps */
.steps-list {
	grid-row: 2;
	grid-column: 1;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* A 140px row with its title centred; bottom line 1.155px, 40% white */
.steps-list__item {
	position: relative;
	padding-block: 2.148rem;
	border-bottom: max(1px, 0.06rem) solid var(--color-white-40);
}

/* Vertical line: 1.155px, #FFAA29, between the number and the text of the
   step that is playing. It draws down as the step opens. */
.steps-list__line {
	position: absolute;
	top: 2.148rem;
	bottom: 2.148rem;
	inset-inline-start: 1.875rem;
	width: max(1px, 0.06rem);
	background: var(--color-orange);
	transform: scaleY(0);
	transform-origin: 50% 0;
	transition: transform 0.6s cubic-bezier(0.6, 0, 0.2, 1);
}

.steps-list__head {
	display: flex;
	align-items: center;
}

/* Number: Heebo 22px / 115%, semibold, 70% white; #FFAA29 when playing.
   It sits in its own 36px column, outside the line. */
.steps-list__number {
	flex: 0 0 max(1.875rem, 26px);
	font-family: var(--font-body);
	font-size: max(1.146rem, 13px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--color-white-70);
	transition: color 0.4s ease;
}

/* Title: 50px / 115%, demibold, 70% white; white when playing. 21px in
   from the line. */
.steps-list__title {
	margin: 0;
	padding-inline-start: 1.094rem;
	font-family: var(--font-heading);
	font-size: 2.604rem;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-white-70);
	transition: color 0.4s ease;
}

/* Description: Heebo 22px / 120%, medium, 70% white, under the title and
   576px at most. Folded shut unless its step is playing. */
.steps-list__description {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 0;
	padding-inline-start: calc(max(1.875rem, 26px) + 1.094rem);
	opacity: 0;
	transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), margin-top 0.5s ease, opacity 0.35s ease;
}

.steps-list__description p {
	overflow: hidden;
	max-width: 30rem;
	margin: 0;
	font-family: var(--font-body);
	font-size: max(1.146rem, 14px);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-white-70);
}

/* Static (no JavaScript, reduced motion): every step open */
.home-steps:not(.is-scrubbing) .steps-list__number {
	color: var(--color-orange);
}

.home-steps:not(.is-scrubbing) .steps-list__title {
	color: var(--color-white);
}

.home-steps:not(.is-scrubbing) .steps-list__description,
.home-steps.is-scrubbing .steps-list__item.is-active .steps-list__description {
	grid-template-rows: 1fr;
	margin-top: 0.938rem;
	opacity: 1;
}

.home-steps:not(.is-scrubbing) .steps-list__line,
.home-steps.is-scrubbing .steps-list__item.is-active .steps-list__line {
	transform: scaleY(1);
}

/* Scrubbing: the panel fills the screen while it holds */
.home-steps.is-scrubbing .home-steps__panel {
	height: 100vh;
	height: 100svh;
	padding-block: 3.646rem;
}

.home-steps.is-scrubbing [data-step-jump] {
	cursor: pointer;
}

.home-steps.is-scrubbing .steps-list__item.is-active .steps-list__number {
	color: var(--color-orange);
}

.home-steps.is-scrubbing .steps-list__item.is-active .steps-list__title {
	color: var(--color-white);
}

@media (hover: hover) {

	.home-steps.is-scrubbing .steps-list__head:hover .steps-list__title {
		color: var(--color-white);
	}
}

.home-steps [data-step-jump]:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 4px;
}

/* Wide, short windows: tighter rows so a two-line title still fits */
@media (min-width: 1025px) and (min-aspect-ratio: 19 / 10) {

	.home-steps.is-scrubbing .home-steps__panel {
		padding-block: 2.5rem;
	}

	.home-steps.is-scrubbing .steps-list__item {
		padding-block: 1.6rem;
	}

	.home-steps.is-scrubbing .steps-list__line {
		top: 1.6rem;
		bottom: 1.6rem;
	}
}

/* Tablets: the same layout, with the video a share wider */
@media (max-width: 1024px) {

	.home-steps__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 3rem;
	}

	.home-steps__title {
		margin-inline: 0;
	}

	.steps-list__item {
		padding-block: 1.75rem;
	}

	.steps-list__line {
		top: 1.75rem;
		bottom: 1.75rem;
	}
}

/* Upright tablets: the video goes full width under the title, the steps
   under it */
@media (min-width: 767px) and (max-width: 1024px) and (orientation: portrait) {

	.home-steps__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}

	.home-steps__title {
		margin-bottom: 2rem;
	}

	.home-steps__media,
	.steps-list {
		grid-row: auto;
		grid-column: 1;
	}

	.home-steps__media {
		aspect-ratio: 16 / 9;
	}

	.steps-list {
		margin-top: 1rem;
	}
}

/* Phones. Static: title, video, then the open steps. Scrubbing: the video
   holds with a row of numbered bars under it and, below that, only the step
   that is playing, which swaps as the scroll moves on. */
@media (max-width: 766px) {

	.home-steps {
		margin-top: -1rem;
		border-radius: 1rem 1rem 0 0;
	}

	.home-steps__panel {
		padding-block: 4rem;
	}

	.home-steps__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}

	.home-steps__title {
		margin-bottom: 1.5rem;
		font-size: 2.5rem;
		line-height: 1.05;
	}

	.home-steps__media,
	.steps-list {
		grid-row: auto;
		grid-column: 1;
	}

	.home-steps__media {
		aspect-ratio: 16 / 12;
		border-radius: 0.625rem;
	}

	.home-steps__badge {
		top: 0.625rem;
		inset-inline-end: 0.625rem;
		gap: 0.5rem;
		padding: 0.5rem 0.625rem;
		font-size: 0.75rem;
	}

	.home-steps__badge-mark {
		width: 0.625rem;
		height: 0.625rem;
	}

	.steps-list {
		margin-top: 1rem;
	}

	.steps-list__item {
		padding-block: 1rem;
	}

	.steps-list__line {
		top: 1rem;
		bottom: 1rem;
		inset-inline-start: 1.75rem;
	}

	.steps-list__number {
		flex-basis: 1.75rem;
		font-size: 1rem;
	}

	.steps-list__title {
		padding-inline-start: 0.75rem;
		font-size: 2.3rem;
	}

	.steps-list__description {
		padding-inline-start: 2.5rem;
	}

	.steps-list__description p {
		font-size: 1.2rem;
		line-height: 1.35;
	}

	/* Held at the top of the screen rather than in the middle */
	.home-steps.is-scrubbing .home-steps__panel {
		align-items: flex-start;
		padding-block: 1.5rem;
	}

	.home-steps.is-scrubbing .home-steps__title {
		margin-bottom: 1rem;
		font-size: 2.25rem;
	}

	.home-steps.is-scrubbing .steps-progress {
		display: flex;
		gap: 0.5rem;
		margin-top: 1rem;
	}

	.steps-progress__item {
		flex: 1 1 0;
		padding-block: 0.25rem;
	}

	.steps-progress__number {
		display: block;
		margin-bottom: 0.375rem;
		font-family: var(--font-body);
		font-size: 0.875rem;
		font-weight: 600;
		line-height: 1.15;
		color: var(--color-white-70);
		transition: color 0.4s ease;
	}

	.steps-progress__item.is-active .steps-progress__number {
		color: var(--color-orange);
	}

	.steps-progress__bar {
		display: block;
		height: 2px;
		background: var(--color-white-40);
	}

	.steps-progress__fill {
		display: block;
		height: 100%;
		background: var(--color-orange);
		transform: scaleX(var(--step-progress, 0));
		transform-origin: 100% 50%;
	}

	[dir="ltr"] .steps-progress__fill {
		transform-origin: 0 50%;
	}

	/* One step at a time, all in the same place */
	.home-steps.is-scrubbing .steps-list {
		display: grid;
		margin-top: 0.75rem;
	}

	.home-steps.is-scrubbing .steps-list__item {
		grid-area: 1 / 1;
		padding-block: 0.5rem 0;
		border-bottom: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(0.75rem);
		transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.45s;
	}

	.home-steps.is-scrubbing .steps-list__item.is-active {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0.1s, 0.1s, 0s;
	}

	.home-steps.is-scrubbing .steps-list__line,
	.home-steps.is-scrubbing .steps-list__number {
		display: none;
	}

	.home-steps.is-scrubbing .steps-list__title,
	.home-steps.is-scrubbing .steps-list__description {
		padding-inline-start: 0;
	}
}

/* ==========================================================================
   Home: projects slider
   One project at a time: the text on the reading side (805px) and the
   853 x 443 picture beside it, 36px apart. The row lines up with the
   container on the reading side and runs 79px past it on the other.
   ========================================================================== */

.home-projects {
	overflow: hidden;
	padding: 3.5rem 0 4.219rem;
	background: var(--color-bg-warm);
}

/* Title: 95px / 115%, demibold, ink gradient */
.home-projects__title {
	width: fit-content;
	margin: 0 0 1.927rem;
	font-family: var(--font-heading);
	font-size: 4.948rem;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	background: var(--gradient-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Never further than the space beside the container allows */
.home-projects__row {
	margin-inline-end: calc(-1 * min(4.115rem, max(0px, (100vw - var(--container-width)) / 2 - var(--gutter))));
}

/* Without JavaScript Owl never shows the row; the projects stack instead */
.no-js .projects-slider.owl-carousel {
	display: grid;
	gap: 3rem;
}

.project-slide {
	display: grid;
	grid-template-columns: minmax(0, 805fr) minmax(0, 853fr);
	column-gap: 1.875rem;
}

/* Text: the link sits at the foot, level with the picture's bottom */
.project-slide__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-block: 1.25rem 1.719rem;
}

/* Project title: 40px / 115%, demibold, ink gradient */
.project-slide__title {
	width: fit-content;
	margin: 0;
	font-family: var(--font-heading);
	font-size: 2.083rem;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	background: var(--gradient-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.project-slide__title a {
	text-decoration: none;
}

/* Partners: four columns, each with a 1px #FEB400 line on its far side */
.project-partners {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-self: stretch;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

/* The logo in a box of its own height, so every name below sits on the
   same line whatever the logo's shape */
.project-partners__item {
	display: grid;
	grid-template-rows: 2.865rem auto;
	align-content: center;
	justify-items: center;
	align-items: center;
	gap: 0.625rem;
	min-height: 4.792rem;
	padding: 0.25rem 0.833rem;
	border-inline-end: 1px solid var(--color-amber-bright);
	text-align: center;
}

.project-partners__logo {
	grid-row: 1;
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 2.865rem;
	object-fit: contain;
}

/* Partner name: Heebo 18px / 115%, bold, ink gradient */
.project-partners__name {
	grid-row: 2;
	font-family: var(--font-body);
	font-size: max(0.9375rem, 12px);
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	background: var(--gradient-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.project-slide__about {
	margin-top: 2.083rem;
}

/* Heading: as the partner names, after a 10px #FEB400 square */
.project-slide__label {
	display: flex;
	align-items: center;
	gap: 0.521rem;
	width: fit-content;
	margin: 0 0 0.625rem;
	font-family: var(--font-body);
	font-size: max(0.9375rem, 12px);
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-dark);
}

.project-slide__label::before {
	content: "";
	flex-shrink: 0;
	width: 0.521rem;
	height: 0.521rem;
	border-radius: 1px;
	background: var(--color-amber-bright);
}

/* Description: Heebo 18px / 120%, medium, black */
.project-slide__description {
	max-width: 28.125rem;
	margin: 0;
	font-family: var(--font-body);
	font-size: max(0.9375rem, 13px);
	font-weight: 500;
	line-height: 1.2;
	color: #000;
}

/* Link: Heebo 16px, bold, #FEB400, with the 8.75px arrow after it */
.project-slide__link {
	display: inline-flex;
	align-items: center;
	gap: 0.365rem;
	margin-top: auto;
	padding-top: 1.5rem;
	font-family: var(--font-body);
	font-size: max(0.833rem, 13px);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: var(--color-amber-bright);
	text-decoration: none;
}

.project-slide__link img {
	width: max(0.456rem, 8px);
	height: max(0.456rem, 8px);
	transition: transform 0.3s ease;
}

.project-slide__link:hover img {
	transform: translateX(-0.25rem);
}

[dir="ltr"] .project-slide__link img {
	transform: scaleX(-1);
}

[dir="ltr"] .project-slide__link:hover img {
	transform: scaleX(-1) translateX(-0.25rem);
}

/* Picture: 853 x 443, radius 16px */
.project-slide__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 853 / 443;
	border-radius: 0.833rem;
	background: var(--color-grey);
}

.project-slide__image {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* Features on the picture: Heebo 12px, medium, white, on 70% #30323A with
   a 2px blur, radius 4px; a 10px #FF0 square after the text */
.project-feature {
	position: absolute;
	inset-inline-end: 0.781rem;
	display: flex;
	align-items: center;
	gap: 0.521rem;
	max-width: calc(100% - 1.563rem);
	margin: 0;
	padding: 0.417rem 0.625rem;
	border-radius: 0.208rem;
	font-family: var(--font-body);
	font-size: max(0.625rem, 11px);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--color-white);
	background: rgba(48, 50, 58, 0.7);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.project-feature--top {
	top: 0.938rem;
}

.project-feature--bottom {
	bottom: 0.833rem;
}

.project-feature__mark {
	flex-shrink: 0;
	width: max(0.521rem, 8px);
	height: max(0.521rem, 8px);
	border-radius: 1px;
	background: #FF0;
}

/* The slide in view: its text rises in line by line, the picture settles */
.projects-slider.owl-loaded .project-slide__body > * {
	opacity: 0;
	transform: translateY(1.25rem);
	transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.projects-slider.owl-loaded .project-slide__image {
	transform: scale(1.08);
	transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.projects-slider .owl-item.is-current .project-slide__body > * {
	opacity: 1;
	transform: none;
}

.projects-slider .owl-item.is-current .project-slide__body > :nth-child(1) {
	transition-delay: 0.25s;
}

.projects-slider .owl-item.is-current .project-slide__body > :nth-child(2) {
	transition-delay: 0.35s;
}

.projects-slider .owl-item.is-current .project-slide__body > :nth-child(3) {
	transition-delay: 0.45s;
}

.projects-slider .owl-item.is-current .project-slide__body > :nth-child(4) {
	transition-delay: 0.55s;
}

.projects-slider .owl-item.is-current .project-slide__image {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {

	.projects-slider.owl-loaded .project-slide__body > *,
	.projects-slider.owl-loaded .project-slide__image {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Under the row: the button in the middle, the arrows under the picture */
.home-projects__footer {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	margin-top: 3.333rem;
}

.home-projects__button {
	grid-column: 2;
}

.home-projects__nav {
	grid-column: 3;
	justify-self: end;
}

/* Tablets: text and picture share the row evenly */
@media (max-width: 1024px) {

	.project-slide {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.project-slide__media {
		align-self: center;
	}
}

/* Phones: the picture over the text, two partners a row, the button beside
   the arrows */
@media (max-width: 766px) {

	.home-projects {
		padding: 4rem 0 3rem;
	}

	.home-projects__title {
		margin-bottom: 1.5rem;
		font-size: 2.5rem;
	}

	.project-slide {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 1.25rem;
	}

	.project-slide__media {
		order: -1;
		border-radius: 0.625rem;
	}

	.project-slide__body {
		padding: 0;
	}

	.project-slide__title {
		font-size: 1.875rem;
	}

	.project-partners {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 1rem;
		margin-top: 1.25rem;
	}

	.project-partners__item {
		min-height: 4rem;
	}

	.project-partners__item {
		grid-template-rows: 2.25rem auto;
	}

	.project-partners__logo {
		max-height: 2.25rem;
	}

	.project-partners__name,
	.project-slide__label {
		font-size: 0.9375rem;
	}

	.project-slide__about {
		margin-top: 1.5rem;
	}

	.project-slide__description {
		font-size: 1rem;
		line-height: 1.35;
	}

	.project-feature {
		inset-inline-end: 0.625rem;
		max-width: calc(100% - 1.25rem);
		font-size: 0.6875rem;
	}

	.project-feature--top {
		top: 0.625rem;
	}

	.project-feature--bottom {
		bottom: 0.625rem;
	}

	.home-projects__footer {
		grid-template-columns: auto 1fr;
		margin-top: 2rem;
	}

	.home-projects__button {
		grid-column: 1;
	}

	.home-projects__nav {
		grid-column: 2;
	}
}

/* ==========================================================================
   Home: numbers
   #FEB400, rounded top corners over the section above, an optional photo
   blended in, then a centred title and a centred row of figures.
   ========================================================================== */

.home-numbers {
	position: relative;
	z-index: 1;
	overflow: hidden;
	margin-top: -1.302rem;
	padding: 4.167rem 0 5.052rem;
	border-radius: 1.302rem 1.302rem 0 0;
	background: var(--color-amber-bright);
	isolation: isolate;
}

/* The photo keeps only its light and shade; the yellow gives the colour */
.home-numbers__image {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	opacity: 0.15;
	mix-blend-mode: luminosity;
	pointer-events: none;
}

/* Title: 104.348px / 115%, bold, white; a <span> turns #30323A */
.home-numbers__title {
	margin: 0 0 1.563rem;
	font-family: var(--font-heading);
	font-size: 5.435rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-white);

	/* Almoni's kerning tucks a full stop under a final ן ("עצמן.") */
	font-kerning: none;
}

.home-numbers__title span {
	color: var(--color-dark);
}

/* 375px columns, centred; a fifth figure and on start a new centred row */
.numbers-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.numbers-list__item {
	display: flex;
	flex: 0 0 19.531rem;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Figure: 135.573px / 115%, bold, white */
.numbers-list__figure {
	display: flex;
	justify-content: center;
	font-family: var(--font-heading);
	font-size: 7.061rem;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
	color: var(--color-white);

	/* Almoni's kerning runs some digit pairs together ("98") */
	font-kerning: none;
}

/* Label: 32.826px / 115%, demibold, #30323A, tucked under the figure */
.numbers-list__label {
	margin-top: -1rem;
	font-family: var(--font-heading);
	font-size: 1.71rem;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-dark);
}

/* Tablets: three figures a row */
@media (max-width: 1024px) {

	.numbers-list__item {
		flex-basis: 33.333%;
	}
}

/* Phones: two a row */
@media (max-width: 766px) {

	.home-numbers {
		margin-top: -1rem;
		padding: 3.5rem 0 3.5rem;
		border-radius: 1rem 1rem 0 0;
	}

	.home-numbers__title {
		margin-bottom: 1.5rem;
		font-size: 2.5rem;
	}

	.numbers-list {
		row-gap: 1.5rem;
	}

	.numbers-list__item {
		flex-basis: 50%;
	}

	.numbers-list__figure {
		font-size: 3.5rem;
	}

	.numbers-list__label {
		margin-top: -0.25rem;
		font-size: 1.125rem;
	}
}

/* ==========================================================================
   Arrow button
   Two #FFAA29 pills 2px apart, each 44px tall (padding 14 16): the label,
   then the round arrow part pointing up and away (↖ in Hebrew). On hover
   both turn #30323A and the arrow flies out towards its point while a
   second one follows it in.
   ========================================================================== */

.arrow-button {
	display: inline-flex;
	align-items: stretch;
	gap: 0.104rem;
	text-decoration: none;
}

.arrow-button__icon,
.arrow-button__label {
	display: flex;
	align-items: center;
	justify-content: center;
	height: max(2.292rem, 40px);
	padding: 0 max(0.833rem, 14px);
	border-radius: 100px;
	background: var(--color-orange);
	transition: background-color 0.35s ease;
}

/* The waiting arrow is parked well outside; clip-path keeps it clipped to the
   round shape even while it moves (overflow alone can leak at the corners) */
.arrow-button__icon {
	position: relative;
	overflow: hidden;
	clip-path: inset(0 round 100px);
	width: max(2.917rem, 50px);
}

.arrow-button__arrow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(0.625rem, 11px);
	height: max(0.625rem, 11px);
	margin: calc(-1 * max(0.3125rem, 5.5px)) 0 0 calc(-1 * max(0.3125rem, 5.5px));
	transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1);
}

.arrow-button__arrow--next {
	transform: translate(max(2.6rem, 44px), max(2.6rem, 44px));
}

/* Label: Heebo bold, white */
.arrow-button__label {
	font-family: var(--font-body);
	font-size: max(0.833rem, 14px);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: var(--color-white);
}

.arrow-button:hover .arrow-button__icon,
.arrow-button:hover .arrow-button__label,
.arrow-button:focus-visible .arrow-button__icon,
.arrow-button:focus-visible .arrow-button__label {
	background: var(--color-dark);
}

.arrow-button:hover .arrow-button__arrow,
.arrow-button:focus-visible .arrow-button__arrow {
	transform: translate(calc(-1 * max(2.6rem, 44px)), calc(-1 * max(2.6rem, 44px)));
}

.arrow-button:hover .arrow-button__arrow--next,
.arrow-button:focus-visible .arrow-button__arrow--next {
	transform: none;
}

.arrow-button:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
	border-radius: 100px;
}

/* Dark: #30323A turning #FFAA29 */
.arrow-button--dark .arrow-button__icon,
.arrow-button--dark .arrow-button__label {
	background: var(--color-dark);
}

.arrow-button--dark:hover .arrow-button__icon,
.arrow-button--dark:hover .arrow-button__label,
.arrow-button--dark:focus-visible .arrow-button__icon,
.arrow-button--dark:focus-visible .arrow-button__label {
	background: var(--color-orange);
}

/* English: the arrow on the left too, still pointing up and away (↖) */
[dir="ltr"] .arrow-button {
	flex-direction: row-reverse;
}

@media (prefers-reduced-motion: reduce) {

	.arrow-button__arrow {
		transition: none;
	}
}

/* Pill button: one #FFAA29 pill, white bold label, #30323A on hover */
.pill-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: max(2.292rem, 40px);
	padding: 0 max(1.5rem, 20px);
	border-radius: 100px;
	font-family: var(--font-body);
	font-size: max(0.833rem, 14px);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: var(--color-white);
	text-decoration: none;
	background: var(--color-orange);
	transition: background-color 0.35s ease;
}

.pill-button:hover,
.pill-button:focus-visible {
	background: var(--color-dark);
}

.pill-button:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

/* ==========================================================================
   Services page
   ========================================================================== */

.is-services-page,
.is-services-page .site-header {
	background: var(--color-white);
}

/* The hero holds still at the top (sticky within .services-intro) while the
   services section slides up over it */
.services-intro {
	position: relative;
}

.services-hero {
	position: sticky;
	top: 0;
	z-index: 0;
	overflow: hidden;
	padding: 3.125rem 0 4.271rem;
}

.services-hero__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	color: #101010;
	transform-origin: 50% 0;
}

/* Each line sits in a mask the load animation raises it through; the mask
   reaches past the tight line height to take in the letters */
.services-hero__line {
	display: block;
	overflow: hidden;
	width: fit-content;

	/* One line each, whatever the font: a wider fallback must not wrap and
	   push the services section down until the web font arrives */
	white-space: nowrap;
	padding-block: 0.42em 0.22em;
	margin-block: -0.42em -0.22em;
}

.services-hero__line-inner {
	display: block;
}

/* First line: 215px on a 111.244px line, set in a little from the reading side */
.services-hero__line--top {
	margin-inline-start: 2.031rem;
	font-size: 11.198rem;
	line-height: 5.794rem;
}

/* Second line: 300px on a 271.158px line, set in further, its baseline 215px
   under the first */
.services-hero__line--bottom {
	margin-top: calc(-0.42em - 2.448rem);
	margin-inline-start: 23.125rem;
	font-size: 15.625rem;
	line-height: 14.123rem;
}

/* --------------------------------------------------------------------------
   Services section: #FFAA29, top corners 50px
   -------------------------------------------------------------------------- */

.services-tabs {
	position: relative;
	z-index: 1;
	padding: 5.885rem 0 9.219rem;
	border-radius: 2.604rem 2.604rem 0 0;
	background: var(--color-orange);
}

/* The header and the tabs share a 1731px row: 365px of tabs, a 23px gap,
   1343px of content */
.services-tabs__header,
.services-tabs__body {
	width: min(90.156rem, 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.services-tabs__header {
	display: flex;
	align-items: center;
	gap: 2.552rem;
	margin-bottom: 3.958rem;
	padding-inline-start: 0.729rem;
}

/* Mark: 115 x 124, #171D32 */
.services-tabs__mark {
	flex-shrink: 0;
	width: 5.99rem;
	height: 6.458rem;
	fill: var(--color-navy);
}

/* Title: 95px / 70%, demibold */
.services-tabs__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 4.948rem;
	font-weight: 600;
	line-height: 0.7;
	text-transform: uppercase;
	color: var(--color-text);
}

.services-tabs__body {
	display: grid;
	grid-template-columns: minmax(0, 365fr) minmax(0, 1343fr);
	column-gap: 1.198rem;
	align-items: start;
}

/* Tabs: spread down the height of the open service */
.services-tabs__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.is-tabbed .services-tabs__list {
	align-self: stretch;
	justify-content: space-between;
}

/* Tab: radius 16px, 10% white; 36px / 39px bold white */
.services-tab {
	display: flex;
	align-items: center;
	gap: 1.198rem;
	min-height: 3.229rem;
	padding: 0.6rem 1.25rem;
	border-radius: 0.833rem;
	font-family: var(--font-heading);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 2.031rem;
	color: var(--color-white);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.1);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.services-tab:hover {
	background: rgba(255, 255, 255, 0.22);
}

.services-tab:focus-visible {
	outline: 2px solid var(--color-navy);
	outline-offset: 2px;
}

/* The arrow before the label shows on the open tab only */
.services-tab__arrow {
	display: none;
	flex-shrink: 0;
	width: 0.625rem;
	height: 0.625rem;
}

[dir="ltr"] .services-tab__arrow {
	transform: scaleX(-1);
}

/* Open tab: #FDFDFD, black text, with the arrow */
.services-tab.is-active {
	color: #000;
	background: #FDFDFD;
}

.services-tab.is-active .services-tab__arrow {
	display: block;
	animation: services-tab-arrow 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}

@keyframes services-tab-arrow {
	from {
		opacity: 0;
		transform: translate(0.4rem, 0.4rem);
	}
}

/* Without JavaScript every service shows, one under another */
.services-tabs__panels {
	display: grid;
	gap: 1.5rem;
}

/* Service: 1343 x 707, radius 28px, #F9F6F3; the 556px picture on the
   reading side, the text beside it */
.service-panel {
	display: grid;
	grid-template-columns: minmax(0, 556fr) minmax(0, 787fr);
	min-height: 36.823rem;
	overflow: hidden;
	border-radius: 1.458rem;
	background: var(--color-card);
}

.service-panel[hidden] {
	display: none;
}

/* Tabbed: the services lie on top of one another, only the chosen one
   showing, so the section keeps the tallest one's height and nothing below
   it moves when switching tabs */
.is-tabbed .services-tabs__panels > .service-panel {
	grid-area: 1 / 1;
}

.is-tabbed .service-panel:not(.is-active) {
	visibility: hidden;
}

/*
 * Entrance. The inline script after the section sets .is-in at once when the
 * section peeks into the first screen, or .is-waiting (hidden) until
 * services.js sees it scrolled to. Then the mark spins in, the title rises,
 * the tabs follow one by one and the card lifts in, its picture and text
 * playing their own entrance (below).
 *
 * On page load (.is-intro) all of it waits a second (--enter) for the hero
 * to play in first, then the section slides up from the foot of the screen,
 * as it covers the hero on scroll. (services.js re-measures the scroll
 * effects once it has landed.)
 */
.services-tabs.is-intro {
	--enter: 1s;

	/* The card's own picture and text, after it lifts in */
	--card-enter: 1.7s;
	animation: services-slide-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--enter) both;
}

@keyframes services-slide-up {
	from {
		transform: translateY(100vh);
	}
}

.services-tabs.is-waiting .services-tabs__mark,
.services-tabs.is-waiting .services-tabs__title,
.services-tabs.is-waiting .services-tab,
.services-tabs.is-waiting .services-tabs__panels {
	opacity: 0;
}

.services-tabs.is-in .services-tabs__mark {
	animation: services-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--enter, 0s) + 0.3s) both;
}

.services-tabs.is-in .services-tabs__title {
	--rise: 2rem;
	animation: services-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--enter, 0s) + 0.4s) both;
}

.services-tabs.is-in .services-tab {
	--rise: 1.25rem;
	--step: 0;
	animation: services-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--enter, 0s) + 0.55s + var(--step) * 0.06s) both;
}

.services-tabs.is-in .services-tab:nth-child(2) { --step: 1; }
.services-tabs.is-in .services-tab:nth-child(3) { --step: 2; }
.services-tabs.is-in .services-tab:nth-child(4) { --step: 3; }
.services-tabs.is-in .services-tab:nth-child(5) { --step: 4; }
.services-tabs.is-in .services-tab:nth-child(6) { --step: 5; }
.services-tabs.is-in .services-tab:nth-child(7) { --step: 6; }
.services-tabs.is-in .services-tab:nth-child(n+8) { --step: 7; }

.services-tabs.is-in .services-tabs__panels {
	--rise: 3rem;
	animation: services-rise 1s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--enter, 0s) + 0.6s) both;
}

@keyframes services-pop {
	from {
		opacity: 0;
		transform: scale(0.5) rotate(-20deg);
	}
}

@keyframes services-rise {
	from {
		opacity: 0;
		transform: translateY(var(--rise, 1.5rem));
	}
}

/*
 * Page load intro, CSS only so it plays at first paint without waiting for
 * the scripts: the header drops in, the hero lines rise through their masks.
 */
.is-services-page .services-hero__line-inner {
	animation: services-line-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.is-services-page .services-hero__line--bottom .services-hero__line-inner {
	animation-delay: 0.28s;
}

:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-header .site-logo,
:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-header__toggle,
:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li {
	animation: services-drop-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li:nth-child(2) { animation-delay: 0.35s; }
:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li:nth-child(3) { animation-delay: 0.4s; }
:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li:nth-child(4) { animation-delay: 0.45s; }
:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li:nth-child(5) { animation-delay: 0.5s; }
:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li:nth-child(6) { animation-delay: 0.55s; }
:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li:nth-child(n+7) { animation-delay: 0.6s; }

@keyframes services-line-in {
	from {
		opacity: 0;
		transform: translateY(110%) rotate(2deg);
	}
}

@keyframes services-drop-in {
	from {
		opacity: 0;
		transform: translateY(-1.5rem);
	}
}

@media (prefers-reduced-motion: reduce) {

	.services-tabs.is-intro,
	.services-tabs.is-in .services-tabs__mark,
	.services-tabs.is-in .services-tabs__title,
	.services-tabs.is-in .services-tab,
	.services-tabs.is-in .services-tabs__panels,
	.is-services-page .services-hero__line-inner,
	.is-about-page .about-hero__line-inner,
	.people-hero__line-inner,
	:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-header .site-logo,
	:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-header__toggle,
	:is(.is-services-page, .is-about-page, .is-people-page, .is-projects-page, .is-project-page, .is-contact-page) .site-nav__list > li {
		animation: none;
	}
}

.service-panel__media {
	position: relative;
	overflow: hidden;
	background: var(--color-dark);
}

.service-panel__image {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* Overlay: #30323A from 85% at the foot to clear at the top */
.service-panel__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(48, 50, 58, 0.85) 0%, rgba(48, 50, 58, 0.2) 50%, rgba(48, 50, 58, 0) 100%);
	pointer-events: none;
}

/* Word: 250px on a 110px line, bold, 15% white, top far corner */
.service-panel__word {
	position: absolute;
	top: 3.4rem;
	left: 0;
	z-index: 1;
	font-family: var(--font-heading);
	font-size: 13.021rem;
	font-weight: 700;
	line-height: 5.729rem;
	color: rgba(255, 255, 255, 0.15);
	pointer-events: none;
}

/* Square: 13.984px, radius 2px, #FFAA29, top reading corner */
.service-panel__mark {
	position: absolute;
	top: 1.146rem;
	inset-inline-start: 1.354rem;
	z-index: 1;
	width: 0.728rem;
	height: 0.728rem;
	border-radius: 0.104rem;
	background: var(--color-orange);
}

/* Text: padding 69 46, the drawing in the corner by the picture */
.service-panel__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 3.594rem 2.396rem;
	background-image: var(--drawing);
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size: 25.104rem auto;
}

[dir="ltr"] .service-panel__text {
	background-position: left bottom;
}

/* Title: 96px on a 57px line, demibold, #1E1E1E, -1.5px */
.service-panel__title {
	margin: 0;
	padding-top: 0.6rem;
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 2.969rem;
	letter-spacing: -0.078rem;
	color: #1E1E1E;
}

/* Description: Heebo 18px / 29.7px, 80% #30323A */
.service-panel__description {
	max-width: 33rem;
	margin: 1.25rem 0 0;
	font-family: var(--font-body);
	font-size: max(0.9375rem, 13px);
	font-weight: 400;
	line-height: 1.65;
	color: rgba(48, 50, 58, 0.8);
}

/* Checklist: two columns, Heebo 16px / 24px semibold, 40px apart */
.service-panel__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-self: stretch;
	gap: 0.833rem 1.25rem;
	margin: 2.344rem 0 1.042rem;
	padding: 0;
	list-style: none;
}

.service-panel__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	font-family: var(--font-body);
	font-size: max(0.833rem, 12px);
	font-weight: 600;
	line-height: 1.5;
	color: #1E1E1E;
}

.service-panel__list li::before {
	content: "";
	flex-shrink: 0;
	width: max(1.25rem, 18px);
	height: max(1.25rem, 18px);
	background: url("../img/services/check-icon.svg") center / contain no-repeat;
}

.service-panel__button {
	align-self: flex-end;
	margin-top: auto;
}

/* A tab opened: the picture settles, the text rises in line by line */
.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__image {
	animation: service-image 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) var(--card-enter, 0s) both;
}

.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__word {
	animation: service-word 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--card-enter, 0s) + 0.1s) both;
}

.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__text > * {
	animation: service-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--card-enter, 0s) both;
}

.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__text > :nth-child(2) {
	animation-delay: calc(var(--card-enter, 0s) + 0.08s);
}

.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__text > :nth-child(3) {
	animation-delay: calc(var(--card-enter, 0s) + 0.16s);
}

.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__text > :nth-child(4) {
	animation-delay: calc(var(--card-enter, 0s) + 0.24s);
}

@keyframes service-image {
	from {
		opacity: 0.4;
		transform: scale(1.08);
	}
}

@keyframes service-word {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}
}

@keyframes service-rise {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
}

@media (prefers-reduced-motion: reduce) {

	.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__image,
	.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__word,
	.is-tabbed:not(.is-waiting) .service-panel.is-active .service-panel__text > *,
	.services-tab.is-active .services-tab__arrow {
		animation: none;
	}
}

/* Chip button: 58px tall, padding 16 32 16 28, #FFAA29 with white Heebo
   16px bold and the arrow after it; #30323A on hover */
.chip-button {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	height: max(3.021rem, 44px);
	padding-block: 0;
	padding-inline: max(1.667rem, 22px) max(1.458rem, 20px);
	border-radius: 100px;
	font-family: var(--font-body);
	font-size: max(0.833rem, 14px);
	font-weight: 700;
	line-height: 1.6;
	color: var(--color-white);
	text-decoration: none;
	background: var(--color-orange);
	transition: background-color 0.3s ease;
}

.chip-button img {
	width: max(0.521rem, 9px);
	height: max(0.521rem, 9px);
	transition: transform 0.3s ease;
}

.chip-button:hover,
.chip-button:focus-visible {
	background: var(--color-dark);
}

.chip-button:hover img {
	transform: translate(-0.15rem, -0.15rem);
}

[dir="ltr"] .chip-button img {
	transform: scaleX(-1);
}

[dir="ltr"] .chip-button:hover img {
	transform: scaleX(-1) translate(-0.15rem, -0.15rem);
}

.chip-button:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Services running text: 76px #30323A strip, 70px between the words.
   The track is two or more copies of the list; each copy slides its own
   width and starts over, so the strip never shows a seam. services.js sets
   the duration from the list's width, for the same speed at any length.
   -------------------------------------------------------------------------- */

/* Left to right, so the long track starts at the left edge with its copies
   following it in; in the page's right to left flow it would line up on the
   right, show only its last copy and run empty before each loop */
.services-marquee {
	direction: ltr;
	display: flex;
	align-items: center;
	overflow: hidden;
	height: 3.958rem;
	color: var(--color-white);
	background: var(--color-dark);
}

.services-marquee__track {
	display: flex;
	flex-shrink: 0;
	width: max-content;
}

.services-marquee__group {
	display: flex;
	flex-shrink: 0;
	gap: 3.646rem;
	margin: 0;

	/* The gap after the last word, so the copies join evenly */
	padding: 0 3.646rem 0 0;
	list-style: none;
	animation: services-marquee var(--marquee-duration, 40s) linear infinite;
}

/* Toward the right: the same loop, played backwards */
.services-marquee--right .services-marquee__group {
	animation-direction: reverse;
}

/* Almoni 35px 600 on a 20px line, 4.2px tracking, capitals */
.services-marquee__item {
	font-family: var(--font-heading);
	font-size: 1.823rem;
	font-weight: 600;
	line-height: 1.042rem;
	letter-spacing: 0.219rem;
	text-transform: uppercase;
	white-space: nowrap;
}

@keyframes services-marquee {
	to {
		transform: translateX(-100%);
	}
}

/* --------------------------------------------------------------------------
   Services titles band: #FFAA29, the picture under 80% of it
   -------------------------------------------------------------------------- */

.services-banner {
	position: relative;
	overflow: hidden;
	padding: 3.802rem 0 4.063rem;
	background: var(--color-orange);
}

/* The picture is fixed to the screen, cover sized; the band is a window onto
   it (clip-path clips the fixed picture to the band, also on iOS, which
   ignores background-attachment: fixed) */
.services-banner__window {
	position: absolute;
	inset: 0;
	clip-path: inset(0);
}

.services-banner__image {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: none;
	height: 100vh;
	object-fit: cover;
}

.services-banner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 170, 41, 0.8);
}

/* Over the orange, scrolling with the band */
.services-banner__overlay {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: top;
	pointer-events: none;
}

.services-banner .container {
	position: relative;
	z-index: 2;
}

.services-banner__title {
	margin: 0;
	font-family: var(--font-heading);
	line-height: 0.9;
	color: var(--color-white);
	text-transform: uppercase;
}

/* Masks the lines rise through; they reach past the tight lines to take in
   the letters */
.services-banner__line {
	display: block;
	overflow: hidden;
	width: fit-content;
	padding-block: 0.3em 0.22em;
	margin-block: -0.3em -0.22em;
}

.services-banner__line-inner {
	display: block;
}

/* 183px 600, set in 40px from the reading side */
.services-banner__line--top {
	margin-inline-start: 2.083rem;
	font-size: 9.542rem;
	font-weight: 600;
}

/* 224px 700, set in further, tucked up under the first line */
.services-banner__line--bottom {
	margin-top: calc(-0.3em - 3.698rem);
	margin-inline-start: 22.76rem;
	font-size: 11.656rem;
	font-weight: 700;
}

/* Before the band comes into view (services.js) */
.services-banner.is-waiting .services-banner__line-inner {
	visibility: hidden;
}

/* --------------------------------------------------------------------------
   Services call to action: #FFAA29 over a still picture (80%), everything
   centred
   -------------------------------------------------------------------------- */

.services-cta {
	position: relative;
	overflow: hidden;
	padding: 6.146rem 0 5.99rem;
	text-align: center;
	background: var(--color-orange);
}

.services-cta__image {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.services-cta::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 170, 41, 0.8);
}

.services-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* White Rembox mark, 154 x 145 */
.services-cta__mark {
	display: block;
	width: 8.021rem;
	height: auto;
}

/* 117px bold on a 105px line, white; the <span> part #30323A */
.services-cta__title {
	margin: 2.4rem 0 0;
	font-family: var(--font-heading);

	/* Almoni's kerning swallows a full stop after some final letters */
	font-kerning: none;
	font-size: 6.088rem;
	font-weight: 700;
	line-height: 5.449rem;
	color: var(--color-white);
}

.services-cta__title span {
	color: var(--color-dark);
}

/* Two buttons, 51px tall, 20px apart; labels Almoni 21px bold */
.services-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.042rem;
	margin-top: 0.714rem;
}

.services-cta .pill-button,
.services-cta .arrow-button__label,
.services-cta .arrow-button__icon {
	height: max(2.656rem, 44px);
	font-family: var(--font-heading);
	font-size: max(1.087rem, 16px);
	letter-spacing: 0.005rem;
}

.services-cta .pill-button {
	padding-inline: 2.97rem;
}

.services-cta .arrow-button {
	gap: 0.26rem;
}

.services-cta .arrow-button__label {
	padding-inline: 2.24rem;
}

/* About page: no buttons, a 110px title on a 104.6px line, 564px tall */
.services-cta--plain {
	padding: 6.875rem 0 6.823rem;
}

.services-cta--plain .services-cta__title {
	margin-top: 2.6rem;
	font-size: 5.729rem;
}

/*
 * Entrance, as it comes into view (main.js, [data-reveal]): the picture
 * settles from a slight zoom, the mark spins in, the title rises, the
 * buttons follow.
 */
.services-cta {
	--rise: 2.5rem;
}

.services-cta.is-waiting .services-cta__mark,
.services-cta.is-waiting .services-cta__title,
.services-cta.is-waiting .services-cta__button {
	opacity: 0;
}

.services-cta.is-in .services-cta__image {
	animation: services-cta-settle 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-cta.is-in .services-cta__mark {
	animation: services-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.services-cta.is-in .services-cta__title {
	animation: services-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.services-cta.is-in .services-cta__button {
	--rise: 1.5rem;
	animation: services-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.services-cta.is-in .services-cta__button + .services-cta__button {
	animation-delay: 0.65s;
}

@keyframes services-cta-settle {
	from {
		transform: scale(1.12);
	}
}

@media (prefers-reduced-motion: reduce) {

	.services-cta.is-in .services-cta__image,
	.services-cta.is-in .services-cta__mark,
	.services-cta.is-in .services-cta__title,
	.services-cta.is-in .services-cta__button {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   Steps, shown from the home page: square top here, straight under the band
   -------------------------------------------------------------------------- */

.is-services-page .home-steps {
	margin-top: 0;
	border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {

	.services-marquee__group {
		animation: none;
	}
}

/* Tablets: the tabs over the service as a row of chips */
@media (max-width: 1024px) {

	.services-tabs__body {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 1.25rem;
	}

	.is-tabbed .services-tabs__list {
		flex-direction: row;
		justify-content: flex-start;
		gap: 0.5rem;
		overflow-x: auto;
		margin-inline: calc(-1 * var(--gutter));
		padding: 0.25rem var(--gutter);
		scrollbar-width: none;
	}

	.is-tabbed .services-tabs__list::-webkit-scrollbar {
		display: none;
	}

	.is-tabbed .services-tab {
		flex-shrink: 0;
		min-height: 0;
		font-size: 1.5rem;
		white-space: nowrap;
	}

	.services-banner__line--bottom {
		margin-inline-start: 8rem;
	}
}

/* Phones: the picture over the text, one column of checks */
@media (max-width: 766px) {

	.services-hero {
		padding: 1.5rem 0 4rem;
	}

	.services-hero__line--top {
		margin-inline-start: 0;
		font-size: 4.5rem;
		line-height: 3rem;
	}

	.services-hero__line--bottom {
		margin-top: calc(-0.42em + 0.25rem);
		margin-inline-start: 3rem;
		font-size: 6rem;
		line-height: 5.5rem;
	}

	.services-tabs {
		padding: 3rem 0 4rem;
		border-radius: 1.5rem 1.5rem 0 0;
	}

	.services-tabs__header {
		gap: 1rem;
		margin-bottom: 2rem;
		padding-inline-start: 0;
	}

	.services-tabs__mark {
		width: 2.75rem;
		height: 3rem;
	}

	.services-tabs__title {
		font-size: 2rem;
		line-height: 1;
	}

	.is-tabbed .services-tab {
		padding: 0.55rem 1rem;
		font-size: 1.25rem;
		line-height: 1.5rem;
	}

	/* A shorter service's text takes the spare height, not its picture */
	.service-panel {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		min-height: 0;
		border-radius: 1rem;
	}

	.service-panel__media {
		aspect-ratio: 4 / 3;
	}

	.service-panel__word {
		top: 2rem;
		font-size: 6rem;
		line-height: 3rem;
	}

	.service-panel__text {
		padding: 2rem 1.25rem 2.25rem;
		background-size: 18rem auto;
	}

	.service-panel__title {
		padding-top: 0.25rem;
		font-size: 2.75rem;
		line-height: 2.5rem;
	}

	.service-panel__description {
		font-size: 1rem;
	}

	.service-panel__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.625rem;
		margin-top: 1.5rem;
	}

	.service-panel__list li {
		font-size: 0.9375rem;
	}

	.service-panel__button {
		margin-top: 2rem;
	}

	.services-marquee {
		height: 3.25rem;
	}

	.services-marquee__group {
		gap: 2.25rem;
		padding-right: 2.25rem;
	}

	.services-marquee__item {
		font-size: 1.375rem;
		letter-spacing: 0.15rem;
	}

	.services-banner {
		padding: 3rem 0 3.5rem;
	}

	.services-banner__line--top {
		margin-inline-start: 0;
		font-size: 3.25rem;
	}

	.services-banner__line--bottom {
		margin-top: calc(-0.3em - 0.5rem);
		margin-inline-start: 1.5rem;
		font-size: 3.9rem;
	}

	.services-cta {
		padding: 3.5rem 0;
	}

	.services-cta__mark {
		width: 4.5rem;
	}

	.services-cta__title,
	.services-cta--plain .services-cta__title {
		margin-top: 1.5rem;
		font-size: 3rem;
		line-height: 2.85rem;
	}

	.services-cta__actions {
		gap: 0.625rem;
		margin-top: 1.5rem;
	}

	.services-cta .pill-button {
		padding-inline: 1.5rem;
	}

	.services-cta .arrow-button__label {
		padding-inline: 1.25rem;
	}
}

/* ==========================================================================
   About page
   ========================================================================== */

/* The header sits over the hero picture, in white */
:is(.is-about-page, .is-projects-page, .is-project-page) .site-header {
	position: absolute;
	top: 1.042rem;
	right: 0;
	left: 0;
	background: transparent;
}

:is(.is-about-page, .is-projects-page, .is-project-page) .site-header__toggle {
	color: var(--color-white);
}

@media (min-width: 767px) {

	:is(.is-about-page, .is-projects-page, .is-project-page) .site-nav__list a {
		color: var(--color-white);
	}

	:is(.is-about-page, .is-projects-page, .is-project-page) .site-nav__list a:hover,
	:is(.is-about-page, .is-projects-page, .is-project-page) .site-nav__list .current-menu-item > a {
		color: var(--color-orange);
	}
}

/*
 * Intro: the hero and the story share one picture. Each has its own frame
 * for it, so they stack as two sections; about.js (.is-animated) turns them
 * into one held screen where a travelling copy (.about-media) moves from the
 * hero's frame into the story's.
 */
.about-intro {
	position: relative;
}

/* A picture frame: 32px corners, the picture cover sized under its shade */
.about-frame,
.about-media {
	overflow: hidden;
	border-radius: 1.667rem;
	background: var(--color-dark);
}

.about-frame {
	position: relative;
}

.about-picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.about-shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.about-shade--hero {
	background: linear-gradient(178deg, rgba(26, 27, 33, 0.9) 1.35%, rgba(26, 27, 33, 0.35) 58.08%, rgba(26, 27, 33, 0.05) 100.62%, rgba(26, 27, 33, 0.5) 143.17%);
}

.about-shade--story {
	background: linear-gradient(185deg, rgba(0, 0, 0, 0.4) 49.8%, rgba(102, 102, 102, 0.4) 95.66%);
}

/* Only used while animated */
.about-media {
	display: none;
}

/* --------------------------------------------------------------------------
   Hero: the picture 20px from the top, 25px from the sides, 900px tall (less
   on short screens); the title over it
   -------------------------------------------------------------------------- */

.about-hero {
	position: relative;
	padding: 1.042rem 1.302rem 0;
}

.about-hero__frame {
	height: min(46.875rem, 100vh - 2.084rem);
	height: min(46.875rem, 100svh - 2.084rem);
}

.about-hero__content {
	position: absolute;
	z-index: 2;
	top: 10.677rem;
	right: 0;
	left: 0;
}

/* 191.5px bold on a 143.6px line, white; the <span> part #FFAA29. It reaches
   a little past the content edge, as in the design. */
.about-hero__title {
	margin: 0 -2.865rem 0 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 9.974rem;
	font-weight: 700;
	line-height: 7.48rem;
	color: var(--color-white);
}

[dir="ltr"] .about-hero__title {
	margin: 0 0 0 -2.865rem;
}

.about-hero__line-inner span {
	color: var(--color-orange);
}

/* Each line rises through a mask on page load (CSS, below) */
.about-hero__line {
	display: block;
	overflow: hidden;
	padding-block: 0.3em 0.2em;
	margin-block: -0.3em -0.2em;
}

.about-hero__line-inner {
	display: block;
}

/* --------------------------------------------------------------------------
   Story: the picture 874 x 620, 28px from the left; a full width orange
   title (white over the picture) and the text beside it, its last line level
   with the picture's foot
   -------------------------------------------------------------------------- */

.about-story {
	position: relative;
	padding-block: 7.24rem;
}

.about-story__frame {
	position: absolute;
	top: 7.24rem;
	left: 1.458rem;
	width: 45.521rem;
	height: var(--about-story-h);
}

.about-story__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: var(--about-story-h);
	padding-top: 2.5rem;
}

.about-story__heading {
	position: relative;
	align-self: stretch;
}

/* 114.6px bold, line height 100%, #FFAA29; across the picture, up to 1344px
   wide so it breaks as in the design */
.about-story__title {
	max-width: 70rem;
	margin: 0;
	font-family: var(--font-heading);

	/* Almoni's kerning swallows a full stop after some final letters */
	font-kerning: none;
	font-size: 5.97rem;
	font-weight: 700;
	line-height: 1;
	color: var(--color-orange);
}

/* The white copy, clipped by about.js to where the picture is */
.about-story__title--light {
	position: absolute;
	inset: 0;
	color: var(--color-white);
	clip-path: inset(100%);
	pointer-events: none;
}

:root:not(.js) .about-story__title--light {
	display: none;
}

/* 42.6px 600 on 130%, #46464D, 807px wide */
.about-story__text {
	width: min(42.031rem, 100%);
	margin-top: auto;
	padding-top: 0.75rem;
	font-family: var(--font-heading);
	font-size: 2.216rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.022rem;
	color: var(--color-dark-soft);
}

.about-story__text p {
	margin: 0;
}

.about-story__text p + p {
	margin-top: 0.75em;
}

/* --------------------------------------------------------------------------
   Animated (about.js): one held screen. The frames stay as the start and
   end places, unseen; the travelling picture goes between them.
   -------------------------------------------------------------------------- */

.about-intro.is-animated {
	height: 100vh;
	height: 100svh;
}

.is-animated .about-hero,
.is-animated .about-story {
	position: absolute;
	inset: 0;
}

.is-animated .about-story {
	display: flex;
	align-items: center;
	padding-block: 0;
}

.is-animated .about-story__frame {
	top: calc(50% - var(--about-story-h) / 2);
}

.is-animated .about-frame {
	visibility: hidden;
}

.is-animated .about-media {
	position: absolute;
	z-index: 0;
	display: block;
}

/* Page load: the hero lines rise, as on the Services page (CSS only, so it
   doesn't wait for the scripts) */
.is-about-page .about-hero__line-inner {
	animation: services-line-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.is-about-page .about-hero__line:nth-child(2) .about-hero__line-inner {
	animation-delay: 0.28s;
}

.is-about-page .about-hero__line:nth-child(n+3) .about-hero__line-inner {
	animation-delay: 0.46s;
}

.is-about-page {
	/* The story picture's height (874 x 620), shared by its frame, the held
	   screen and the call to action under it */
	--about-story-h: 32.292rem;
	background: var(--color-white);
}

/* --------------------------------------------------------------------------
   Call to action: centred, 112.8px 600 on 115%, capitals, #46464D; under it
   a round #FFAA29 arrow down, 44 wide x 56 tall. Plays in when reached (about.js).
   -------------------------------------------------------------------------- */

.about-cta {
	padding: 7.6rem 0 3.07rem;
	text-align: center;
}

/* With the scroll effect on, the held screen ends with the story centred and
   room under it; the call to action comes up into that room, so it sits as
   close to the story as without */
.about-intro-pin:has(.is-animated) + .about-cta {
	margin-top: calc((var(--about-story-h) - 100vh) / 2);
	margin-top: calc((var(--about-story-h) - 100svh) / 2);
}

.about-cta__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 5.872rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--color-dark-soft);
	text-transform: uppercase;
}

.about-cta__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.292rem;
	height: 2.917rem;
	margin-top: 0.73rem;
	border-radius: 100px;
	background: var(--color-orange);
	transition: background-color 0.3s ease;
}

/* 14 x 14 */
.about-cta__arrow img {
	display: block;
	width: 0.9rem;
	height: 0.9rem;
}

.about-cta__arrow:hover,
.about-cta__arrow:focus-visible {
	background: var(--color-dark);
}

.about-cta__arrow:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

.about-cta.is-waiting .about-cta__title,
.about-cta.is-waiting .about-cta__arrow {
	opacity: 0;
}

.about-cta.is-in .about-cta__title {
	--rise: 3rem;
	animation: services-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* The arrow pops in, then keeps nudging downwards */
.about-cta.is-in .about-cta__arrow {
	animation:
		services-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both,
		about-nudge 1.8s ease-in-out 1.4s infinite;
}

@keyframes about-nudge {
	50% {
		transform: translateY(0.4rem);
	}
}

/* --------------------------------------------------------------------------
   Cards. Each sticks one title band (--band) lower than the one before, so
   the next slides over it and leaves its title showing. A card is the open
   card's height (--open) plus a band for each card after it, and overlaps
   the one before by that card's extra, so their feet line up and the finished
   stack leaves as one, the next section right under it.
   -------------------------------------------------------------------------- */

.about-cards {
	--band: 10.677rem;
	--open: 26.198rem;
	display: flow-root;
}

.about-card {
	position: sticky;
	top: calc(var(--i) * var(--band));
	min-height: calc(var(--open) + (var(--count) - 1 - var(--i)) * var(--band));
	margin-top: calc(-1 * (var(--count) - var(--i)) * var(--band));
	overflow: hidden;
	border-radius: 7.031rem 7.031rem 0 0;
	color: var(--card-text, var(--color-white));
	background: var(--card-color, var(--color-dark));
}

.about-card:first-child {
	margin-top: 0;
}


.about-card__inner {
	position: relative;
	padding-top: 2.66rem;
}

/* 105px bold, in the card text colour (white by default) */
.about-card__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 5.469rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.027rem;
}

/* Under a line in the card line colour (#A29FA5 by default), 1212px wide.
   It fades as the next card covers it, leaving the title alone in its band
   (about.js). */
.about-card__body {
	width: min(63.125rem, 100%);
	margin-top: 0;
	padding-top: 0.8rem;
	border-top: 1px solid var(--card-line, #A29FA5);
}

/* 45px 600 on 115%, capitals, in the card subtitle colour (#FFAA29 by default) */
.about-card__subtitle {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 2.344rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--card-accent, var(--color-orange));
	text-transform: uppercase;
}

/* Heebo 24px 500 on 120%, in the card text colour, 890px wide */
.about-card__text {
	width: min(46.354rem, 100%);
	margin-top: 0.5rem;
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.2;
}

.about-card__text p {
	margin: 0;
}

.about-card__text p + p {
	margin-top: 0.6em;
}

/* 142 x 142, on the far side */
.about-card__icon {
	position: absolute;
	top: 13.3rem;
	inset-inline-end: 3.28rem;
	width: 7.399rem;
	height: 7.399rem;
	object-fit: contain;
}

/* Parallax picture, 1920 x 1068 */
.home-parallax--tall {
	aspect-ratio: 1920 / 1068;
}

@media (prefers-reduced-motion: reduce) {

	.about-cta.is-in .about-cta__title,
	.about-cta.is-in .about-cta__arrow {
		animation: none;
	}
}

@media (max-width: 766px) {

	.about-cta {
		padding: 4rem 0 2rem;
	}

	.about-cta__title {
		font-size: 2.75rem;
	}

	.about-cards {
		--band: 5.25rem;
		--open: 24rem;
	}

	.about-card {
		border-radius: 2rem 2rem 0 0;
	}

	.about-card__inner {
		padding-top: 1.25rem;
	}

	.about-card__title {
		font-size: 2.5rem;
	}

	.about-card__subtitle {
		font-size: 1.5rem;
	}

	.about-card__text {
		font-size: 1rem;
	}

	.about-card__icon {
		position: static;
		display: block;
		width: 4.5rem;
		height: 4.5rem;
		margin: 1.5rem 0 1.5rem auto;
	}

	[dir="ltr"] .about-card__icon {
		margin: 1.5rem auto 1.5rem 0;
	}
}

/* Tablets: the header and title kept inside the picture, a smaller story
   picture so the text still fits beside it */
@media (max-width: 1024px) {

	:is(.is-about-page, .is-projects-page, .is-project-page) .site-header .container,
	.about-hero__content.container {
		width: calc(100% - 2 * var(--gutter) - 2.604rem);
	}

	.about-hero__title,
	[dir="ltr"] .about-hero__title {
		margin: 0;
	}

	.is-about-page {
		--about-story-h: 25.53rem;
	}

	.about-story__frame {
		width: 36rem;
	}

	.about-story__text {
		width: min(38rem, 100%);
		font-size: 1.9rem;
	}
}

/* Phones: two plain sections, the story's picture over its text */
@media (max-width: 766px) {

	:is(.is-about-page, .is-projects-page, .is-project-page) .site-header {
		top: 0.75rem;
	}

	.about-hero {
		padding: 0.75rem 0.75rem 0;
	}

	.about-hero__frame {
		height: min(40rem, 100vh - 1.5rem);
		height: min(40rem, 100svh - 1.5rem);
	}

	.about-hero__content {
		top: 7rem;
	}

	.about-hero__title,
	[dir="ltr"] .about-hero__title {
		margin: 0;
		font-size: 3rem;
		line-height: 2.5rem;
	}

	.about-story {
		padding-block: 3rem;
	}

	/* The hero's picture is enough on a phone */
	.about-story__frame {
		display: none;
	}

	.about-story__inner {
		min-height: 0;
		padding-top: 0;
	}

	.about-story__title {
		font-size: 2.5rem;
	}

	.about-story__title--light {
		display: none;
	}

	.about-story__text {
		width: auto;
		margin-top: 1.25rem;
		padding-top: 0;
		font-size: 1.25rem;
	}
}

/* --------------------------------------------------------------------------
   Gallery: #30323A with the curved shape behind the title; four columns of
   tiles 11px apart, 18px from the sides. With a mouse the columns tilt in
   3D towards it (about.js, perspective 1400px from 50% 40%) and drift by
   column, and a ring trails the pointer.
   -------------------------------------------------------------------------- */

.about-gallery {
	position: relative;
	overflow: hidden;
	padding: 3.854rem 0 2.865rem;
	background: var(--color-dark) url('../img/about/gallery_bg.png') no-repeat 50% 0 / 90.625rem auto;
}

/* 105px bold on 115%, white, capitals; the <span> part #FFAA29 */
.about-gallery__title {
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 5.469rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-white);
	text-transform: uppercase;
}

.about-gallery__title span {
	color: var(--color-orange);
}

.about-gallery__stage {
	margin-top: 3.438rem;
	perspective: 1400px;
	perspective-origin: 50% 40%;
}

.about-gallery__grid {
	display: flex;
	align-items: flex-start;
	gap: 0.573rem;
	padding-inline: 0.938rem;
	transform-style: preserve-3d;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

.about-gallery__column {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.573rem;
	min-width: 0;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* A tile: its height from the design's pattern (--h), 12px corners */
.about-gallery__tile {
	position: relative;
	height: var(--h);
	margin: 0;
	overflow: hidden;
	border-radius: 0.625rem;
	background: #22232B;
}

.about-gallery__media {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-gallery__shade {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
	transition: background-color 0.4s ease;
	pointer-events: none;
}

/* Play icon on videos: 53.5px, #FEB400 with its glow */
.about-gallery__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.784rem;
	height: 2.784rem;
	margin: -1.392rem 0 0 -1.392rem;
	border-radius: 50%;
	background: #FEB400;
	box-shadow: 0 0.994rem 1.243rem -0.249rem rgba(254, 180, 0, 0.4), 0 0.398rem 0.497rem -0.298rem rgba(254, 180, 0, 0.4);
	transition: transform 0.3s ease;
	pointer-events: none;
}

.about-gallery__play img {
	width: 0.938rem;
	height: 0.938rem;
	margin-inline-start: 0.1rem;
}

[dir="rtl"] .about-gallery__play img {
	margin: 0 0.1rem 0 0;
}

.about-gallery__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 0.833rem;
	font-family: var(--font-body);
	font-size: 0.729rem;
	letter-spacing: 0.1em;
	color: var(--color-white);
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(0.5rem);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

/* The whole tile opens the popup */
.about-gallery__open {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: none;
	cursor: pointer;
}

.about-gallery__open:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: -2px;
}

.about-gallery__tile:hover .about-gallery__media,
.about-gallery__tile:focus-within .about-gallery__media {
	transform: scale(1.08);
}

.about-gallery__tile:hover .about-gallery__shade,
.about-gallery__tile:focus-within .about-gallery__shade {
	background-color: rgba(0, 0, 0, 0.4);
}

.about-gallery__tile:hover .about-gallery__play {
	transform: scale(1.1);
}

.about-gallery__tile:hover .about-gallery__caption,
.about-gallery__tile:focus-within .about-gallery__caption {
	opacity: 1;
	transform: none;
}

/* A ring that trails the pointer (which stays as it is) and opens up over a
   tile */
.about-gallery__cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease;
}

.about-gallery.is-pointing .about-gallery__cursor {
	opacity: 1;
}

.about-gallery.is-over-tile .about-gallery__cursor {
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-color: var(--color-orange);
}

/* Entrance, when reached (about.js): the title rises, the tiles follow */
.about-gallery.is-waiting .about-gallery__title,
.about-gallery.is-waiting .about-gallery__tile {
	opacity: 0;
}

.about-gallery.is-in .about-gallery__title {
	--rise: 3rem;
	animation: services-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-gallery.is-in .about-gallery__tile {
	--rise: 4rem;
	animation: services-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(0.2s + var(--n) * 0.05s) both;
}

/* Popup */
.about-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--color-white);
	background: rgba(21, 22, 27, 0.94);
}

.about-lightbox[open] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	animation: about-lightbox-in 0.3s ease both;
}

.about-lightbox::backdrop {
	background: transparent;
}

.about-lightbox__stage img,
.about-lightbox__stage video {
	display: block;
	max-width: min(90vw, 1600px);
	max-height: 80vh;
	max-height: 80dvh;
	border-radius: 0.625rem;
	object-fit: contain;
	animation: about-lightbox-media 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-lightbox__caption {
	margin: 0;
	font-family: var(--font-body);
	font-size: max(0.833rem, 14px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.about-lightbox__caption:empty {
	display: none;
}

.about-lightbox__close,
.about-lightbox__nav {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: max(2.917rem, 44px);
	height: max(2.917rem, 44px);
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: var(--color-white);
	background: var(--color-orange);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.about-lightbox__close:hover,
.about-lightbox__nav:hover {
	background: var(--color-dark);
}

.about-lightbox__close:focus-visible,
.about-lightbox__nav:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 3px;
}

.about-lightbox__close {
	top: max(1.25rem, 16px);
	right: max(1.25rem, 16px);
	font-size: max(1.75rem, 26px);
	line-height: 1;
}

.about-lightbox__nav {
	top: 50%;
	margin-top: calc(-1 * max(1.458rem, 22px));
}

.about-lightbox__nav img {
	width: max(0.729rem, 13px);
	height: max(0.729rem, 13px);
}

/* Hebrew: next is to the left, pointing left */
.about-lightbox__nav--next {
	left: max(1.25rem, 16px);
}

.about-lightbox__nav--next img {
	transform: rotate(90deg);
}

.about-lightbox__nav--prev {
	right: max(1.25rem, 16px);
}

.about-lightbox__nav--prev img {
	transform: rotate(-90deg);
}

[dir="ltr"] .about-lightbox__nav--next {
	right: max(1.25rem, 16px);
	left: auto;
}

[dir="ltr"] .about-lightbox__nav--next img {
	transform: rotate(-90deg);
}

[dir="ltr"] .about-lightbox__nav--prev {
	right: auto;
	left: max(1.25rem, 16px);
}

[dir="ltr"] .about-lightbox__nav--prev img {
	transform: rotate(90deg);
}

.about-lightbox__nav[hidden] {
	display: none;
}

@keyframes about-lightbox-in {
	from {
		opacity: 0;
	}
}

@keyframes about-lightbox-media {
	from {
		opacity: 0;
		transform: scale(0.94);
	}
}

@media (prefers-reduced-motion: reduce) {

	.about-gallery.is-in .about-gallery__title,
	.about-gallery.is-in .about-gallery__tile,
	.about-lightbox[open],
	.about-lightbox__stage img,
	.about-lightbox__stage video {
		animation: none;
	}
}

/* Phones: two columns, shorter tiles */
@media (max-width: 766px) {

	.about-gallery {
		padding: 3rem 0 2rem;
		background-size: 40rem auto;
	}

	.about-gallery__title {
		font-size: 2.5rem;
	}

	.about-gallery__stage {
		margin-top: 2rem;
	}

	.about-gallery__grid {
		flex-wrap: wrap;
		padding-inline: var(--gutter);
	}

	.about-gallery__column {
		flex: 0 0 calc(50% - 0.287rem);
	}

	.about-gallery__tile {
		height: calc(var(--h) * 0.6);
	}
}

/* --------------------------------------------------------------------------
   FAQ: on #F1F1F1, a small label and an 86px title over numbered questions.
   The list's numbers hang out past the container at the reading start, as
   in the design. Questions open one at a time (main.js).
   -------------------------------------------------------------------------- */

.about-faq {
	padding: 4.844rem 0 3.385rem;
	background: #F1F1F1;
}

.about-faq__label {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 400;
	line-height: 1.089rem;
	letter-spacing: 0.363rem;
	color: rgba(0, 0, 0, 0.35);
	text-transform: uppercase;
}

.about-faq__title {
	margin: 1.2rem 0 0;
	font-family: var(--font-heading);
	font-size: 4.48rem;
	font-weight: 600;
	line-height: 0.9;
	letter-spacing: -0.09rem;
	color: #111;
	/* Almoni's kerning hides a full stop after some letters */
	font-kerning: none;
}

.about-faq__title span {
	color: var(--color-orange);
}

.about-faq__list {
	width: 61.042rem;
	max-width: calc(100% + 3.229rem);
	margin-block: 1rem 0;
	margin-inline: -3.229rem 0;
}

.about-faq__item {
	position: relative;
	padding: 2.448rem 0 2.5rem;
}

/* The line between two questions */
.about-faq__item + .about-faq__item::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 0.085rem;
	background: rgba(0, 0, 0, 0.1);
	transform-origin: 100% 50%;
}

[dir="ltr"] .about-faq__item + .about-faq__item::before {
	transform-origin: 0 50%;
}

.about-faq__question {
	margin: 0;
	font: inherit;
}

.about-faq__toggle {
	display: grid;
	grid-template-columns: 4.531rem minmax(0, 1fr) 3.431rem;
	align-items: start;
	width: 100%;
	padding: 0;
	border: 0;
	color: inherit;
	font: inherit;
	text-align: start;
	background: none;
	cursor: pointer;
}

.about-faq__toggle:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 0.5rem;
}

.about-faq__number {
	margin-top: 0.26rem;
	font-family: var(--font-body);
	font-size: 1.146rem;
	font-weight: 900;
	line-height: 1.673rem;
	letter-spacing: 0.086rem;
	color: rgba(0, 0, 0, 0.2);
	transition: color 0.3s ease;
}

.about-faq__text {
	padding-inline-end: 2rem;
	font-family: var(--font-heading);
	font-size: 2.74rem;
	font-weight: 600;
	line-height: 1.995rem;
	color: #333;
	font-kerning: none;
}

/* A 66px square; its plus turns into a minus as the question opens */
.about-faq__icon {
	position: relative;
	width: 3.431rem;
	height: 3.431rem;
	margin-top: 0.156rem;
	background: rgba(0, 0, 0, 0.08);
	transition: background-color 0.3s ease;
}

.about-faq__icon::before,
.about-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.2rem;
	height: 0.172rem;
	margin: -0.086rem 0 0 -0.6rem;
	background: #666;
	transition: background-color 0.3s ease, transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.about-faq__icon::after {
	transform: rotate(90deg);
}

.about-faq__toggle:focus-visible .about-faq__icon,
.about-faq__item.is-open .about-faq__icon {
	background: var(--color-orange);
}

/* Hover only with a mouse, so a tap doesn't leave it lit */
@media (hover: hover) {

	.about-faq__toggle:hover .about-faq__icon {
		background: var(--color-orange);
	}

	.about-faq__toggle:hover .about-faq__icon::before,
	.about-faq__toggle:hover .about-faq__icon::after {
		background: #000;
	}
}

.about-faq__toggle:focus-visible .about-faq__icon::before,
.about-faq__toggle:focus-visible .about-faq__icon::after,
.about-faq__item.is-open .about-faq__icon::before,
.about-faq__item.is-open .about-faq__icon::after {
	background: #000;
}

.about-faq__item.is-open .about-faq__icon::after {
	transform: rotate(180deg);
}

.about-faq__item.is-open .about-faq__number {
	color: var(--color-orange);
}

/* The answer opens by its height (0fr to 1fr); without JavaScript all show */
.about-faq__answer {
	display: grid;
	grid-template-rows: 1fr;
	margin-inline: 4.531rem 5.469rem;
	transition: grid-template-rows 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.js .about-faq__item:not(.is-open) .about-faq__answer {
	grid-template-rows: 0fr;
}

.about-faq__answer-inner {
	overflow: hidden;
	min-height: 0;
}

.about-faq__answer-text {
	margin: 1.094rem 0 0.26rem;
	padding-inline-start: 1.979rem;
	border-inline-start: 0.234rem solid var(--color-orange);
	font-family: var(--font-body);
	font-size: 1.354rem;
	font-weight: 400;
	line-height: 2.402rem;
	color: rgba(0, 0, 0, 0.6);
	transition: opacity 0.4s ease 0.15s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.js .about-faq__item:not(.is-open) .about-faq__answer-text {
	opacity: 0;
	transform: translateY(-0.75rem);
	transition-delay: 0s;
	transition-duration: 0.25s;
}

.about-faq__answer-text p {
	margin: 0;
}

.about-faq__answer-text p + p {
	margin-top: 1rem;
}

/* The line under the questions: grey text and a link, at the reading end */
.about-faq__more {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	column-gap: 1.771rem;
	row-gap: 0.5rem;
	margin: 3.6rem 0 0;
	font-family: var(--font-body);
	font-size: 0.938rem;
}

.about-faq__more-text {
	font-weight: 400;
	line-height: 1.525rem;
	color: rgba(0, 0, 0, 0.4);
}

.about-faq__more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding-bottom: 0.1rem;
	border-bottom: 0.132rem solid var(--color-orange);
	font-weight: 900;
	line-height: 1.416rem;
	letter-spacing: 0.028rem;
	color: #000;
	text-decoration: none;
}

.about-faq__more-arrow {
	width: 0.729rem;
	height: auto;
	transition: transform 0.3s ease;
}

[dir="ltr"] .about-faq__more-arrow {
	scale: -1 1;
}

.about-faq__more-link:hover .about-faq__more-arrow,
.about-faq__more-link:focus-visible .about-faq__more-arrow {
	transform: translateX(-0.3rem);
}

[dir="ltr"] .about-faq__more-link:hover .about-faq__more-arrow,
[dir="ltr"] .about-faq__more-link:focus-visible .about-faq__more-arrow {
	transform: translateX(0.3rem);
}

/* Entrance (main.js, [data-reveal]): the title rises, then the questions
   one by one as their lines draw in, then the link */
.about-faq.is-waiting .about-faq__label,
.about-faq.is-waiting .about-faq__title,
.about-faq.is-waiting .about-faq__item,
.about-faq.is-waiting .about-faq__more {
	opacity: 0;
}

.about-faq.is-in .about-faq__label {
	animation: services-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-faq.is-in .about-faq__title {
	--rise: 2.5rem;
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.about-faq.is-in .about-faq__item {
	animation: services-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(0.3s + var(--n) * 0.1s) both;
}

.about-faq.is-in .about-faq__item::before {
	animation: about-faq-line 1.1s cubic-bezier(0.65, 0, 0.35, 1) calc(0.3s + var(--n) * 0.1s) both;
}

.about-faq.is-in .about-faq__more {
	animation: services-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

@keyframes about-faq-line {
	from {
		transform: scaleX(0);
	}
}

@media (prefers-reduced-motion: reduce) {

	.about-faq.is-in .about-faq__label,
	.about-faq.is-in .about-faq__title,
	.about-faq.is-in .about-faq__item,
	.about-faq.is-in .about-faq__item::before,
	.about-faq.is-in .about-faq__more {
		animation: none;
	}

	.about-faq__answer,
	.about-faq__answer-text,
	.about-faq__icon::before,
	.about-faq__icon::after {
		transition: none;
	}
}

/* Tablet and down: the list keeps inside the container */
@media (max-width: 1024px) {

	.about-faq__list {
		width: auto;
		max-width: none;
		margin-inline: 0;
	}

	.about-faq__text {
		line-height: 1.1;
	}
}

@media (max-width: 766px) {

	.about-faq {
		padding: 3.5rem 0 3rem;
	}

	.about-faq__label {
		font-size: 0.75rem;
		letter-spacing: 0.3rem;
	}

	.about-faq__title {
		margin-top: 0.75rem;
		font-size: 2.75rem;
		letter-spacing: -0.05rem;
	}

	.about-faq__list {
		margin-top: 1.25rem;
	}

	.about-faq__item {
		padding: 1.25rem 0;
	}

	.about-faq__toggle {
		grid-template-columns: 2.25rem minmax(0, 1fr) 2.5rem;
	}

	.about-faq__number {
		margin-top: 0.1rem;
		font-size: 0.875rem;
		line-height: 1.5rem;
	}

	.about-faq__text {
		padding-inline-end: 1rem;
		font-size: 1.5rem;
	}

	.about-faq__icon {
		width: 2.5rem;
		height: 2.5rem;
		margin-top: -0.4rem;
	}

	.about-faq__icon::before,
	.about-faq__icon::after {
		width: 1rem;
		height: 0.15rem;
		margin: -0.075rem 0 0 -0.5rem;
	}

	.about-faq__answer {
		margin-inline: 2.25rem 0;
	}

	.about-faq__answer-text {
		margin-top: 0.75rem;
		padding-inline-start: 1rem;
		border-inline-start-width: 0.2rem;
		font-size: 1rem;
		line-height: 1.7;
	}

	.about-faq__more {
		justify-content: flex-start;
		margin-top: 2.25rem;
		font-size: 0.938rem;
	}
}

/* ==========================================================================
   People page
   ========================================================================== */

/* The header sits over the orange intro, in its usual dark */
.is-people-page .site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
}

/* On the orange, the hovered and current links turn white (the phone
   dropdown keeps its own colours) */
@media (min-width: 767px) {

	.is-people-page .site-nav__list a:hover,
	.is-people-page .site-nav__list .current-menu-item > a {
		color: var(--color-white);
	}
}

/* Hero and team share the background picture: full width at its own
   proportions, under #FFAA29 at 95%. It stays fixed to the screen while the
   sections scroll over it; touch screens, which don't keep a fixed
   background well (iOS), have it scroll from the top */
.people-intro {
	position: relative;
	isolation: isolate;
	background-color: var(--color-orange);
	background-attachment: fixed;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100% auto;
}

@media (hover: none) {

	.people-intro {
		background-attachment: scroll;
	}
}

/* Phones: the picture covers the whole of both sections */
@media (max-width: 766px) {

	.people-intro {
		background-position: center;
		background-size: cover;
	}
}

.people-intro::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--color-orange);
	opacity: 0.95;
}

/* --------------------------------------------------------------------------
   Hero: a 100px title (first line white, the rest #30323A) and a text, on
   the reading side; room on the other for the picture to come
   -------------------------------------------------------------------------- */

.people-hero {
	min-height: 49.583rem;
	padding-top: 9.635rem;
}

/* A column, so the lines' mask margins add up rather than collapse */
.people-hero__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 5.208rem;
	font-weight: 700;
	line-height: 4.736rem;
	color: var(--color-white);
}

.people-hero__line:nth-child(n+2) {
	color: var(--color-dark);
}

.people-hero__line-inner span {
	color: var(--color-dark);
}

/* Each line rises through a mask on page load */
.people-hero__line {
	display: block;
	overflow: hidden;
	padding-block: 0.3em 0.2em;
	margin-block: -0.3em -0.2em;
}

.people-hero__line-inner {
	display: block;
	animation: services-line-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.people-hero__line:nth-child(2) .people-hero__line-inner {
	animation-delay: 0.28s;
}

.people-hero__line:nth-child(n+3) .people-hero__line-inner {
	animation-delay: 0.46s;
}

.people-hero__text,
.people-team__text {
	max-width: 29.688rem;
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-dark-soft);
}

.people-hero__text {
	margin-top: 0.365rem;
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

:is(.people-hero__text, .people-team__text) p {
	margin: 0;
}

:is(.people-hero__text, .people-team__text) p + p {
	margin-top: 0.75em;
}

/* --------------------------------------------------------------------------
   Hero art: the meeting from above, 28px in from the container's far side
   and 156px from the top, reaching down beside the team title. The picture
   is 1149 x 1448, its meeting at the same size on screen as before (42.82rem
   wide at 1920).

   Each of the four people has a whole frame of its own: the same picture
   with that one person looking up at the camera. Pointing at a person (the
   spot over them) fades that frame in over the main one, with their name
   and position. Everything inside is placed in percent of the picture, and
   the type in cqw (its width), so it all scales together.
   -------------------------------------------------------------------------- */

.people-hero__art {
	position: absolute;
	top: 8.125rem;
	inset-inline-end: calc((100% - min(var(--container-width), 100% - 2 * var(--gutter))) / 2 + 1.458rem);
	z-index: 1;
	width: 42.82rem;
	aspect-ratio: 1149 / 1448;
	container-type: inline-size;
}

.people-hero__picture {
	display: block;
	width: 100%;
	height: auto;
}

.people-hero__spot {
	position: absolute;
	z-index: 3;
	padding: 0;
	border: 0;
	border-radius: 45%;
	background: none;
	cursor: pointer;
}

.people-hero__spot:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 0.25rem;
}

/* The spots: each covers just its person */
.people-hero__spot--top {
	top: 7.4%;
	left: 32.3%;
	width: 29%;
	height: 21.5%;
}

.people-hero__spot--right {
	top: 34%;
	left: 68.7%;
	width: 28.1%;
	height: 25.5%;
}

.people-hero__spot--bottom {
	top: 61.8%;
	left: 29.9%;
	width: 32.9%;
	height: 26.2%;
}

.people-hero__spot--left {
	top: 31.5%;
	left: 2.5%;
	width: 28.1%;
	height: 26%;
}

/* The person's frame and label: a box the size of the whole picture */
.people-hero__person {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.people-hero__cutout {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.45s ease;
}

/* Name over position, right aligned at the design's place for each: by
   the head for the top, right and bottom; under the person on the left */
.people-hero__label {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.15;
	text-align: right;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0;
	translate: 0 0.6rem;
	transition:
		opacity 0.35s ease,
		translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.people-hero__person--top .people-hero__label {
	top: 7.87%;
	right: 25.4%;
}

.people-hero__person--right .people-hero__label {
	top: 24.45%;
	right: 10.15%;
}

.people-hero__person--bottom .people-hero__label {
	top: 78.56%;
	right: 22.35%;
}

.people-hero__person--left .people-hero__label {
	top: 58.5%;
	right: 84%;
}

/* 38.584px and 27.438px at 1920 */
.people-hero__name {
	font-size: 4.693cqw;
	color: var(--color-white);
}

.people-hero__position {
	font-size: 3.337cqw;
	color: var(--color-dark);
}

.people-hero__spot:is(:hover, :focus-visible) + .people-hero__person .people-hero__cutout {
	opacity: 1;
}

.people-hero__spot:is(:hover, :focus-visible) + .people-hero__person .people-hero__label {
	opacity: 1;
	translate: 0 0;
	transition-delay: 0.1s;
}

/* "Concept / Design": white handwriting over the top left, 152px and 147px
   at 1920 (in cqw of the picture), the second line set in */
.people-hero__script {
	position: absolute;
	top: 5.6%;
	left: -6%;
	z-index: 4;
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: var(--font-script);
	font-weight: 400;
	line-height: 1;
	color: var(--color-white);
	white-space: nowrap;
	pointer-events: none;
}

.people-hero__script-line {
	font-size: 18.489cqw;
}

.people-hero__script-line:nth-child(2) {
	/* Full line boxes, so the long tail of the g has room; the margin keeps
	   the lines as close as the design */
	margin-top: -0.163em;
	margin-inline-start: 16.88cqw;
	font-size: 17.881cqw;
}

/* Written out from the left once the picture comes in (main.css,
   .hero-fade); browsers without :has() simply show it */
.js .people-hero__art:has(.hero-fade:not(.is-loaded)) .people-hero__script-line {
	clip-path: inset(-60% 100% -60% 0);
}

.js .people-hero__art:has(.hero-fade.is-loaded) .people-hero__script-line {
	animation: people-script-in 1.1s cubic-bezier(0.55, 0.1, 0.35, 1) 0.5s both;
}

.js .people-hero__art:has(.hero-fade.is-loaded) .people-hero__script-line:nth-child(2) {
	animation-delay: 1.15s;
}

@keyframes people-script-in {
	from {
		clip-path: inset(-60% 100% -60% 0);
	}

	to {
		clip-path: inset(-60% -10% -60% 0);
	}
}

@media (prefers-reduced-motion: reduce) {

	.people-hero__cutout,
	.people-hero__label {
		transition: none;
	}

	.js .people-hero__art .people-hero__script-line {
		clip-path: none;
		animation: none;
	}
}

/* Tablets and phones: the picture between the hero and the team, centred */
@media (max-width: 1024px) {

	.people-hero__art {
		position: relative;
		top: auto;
		inset-inline-end: auto;
		width: min(36rem, 100% - 2 * var(--gutter));
		margin: 0 auto 3rem;
	}

	/* No room past the picture's edge here */
	.people-hero__script {
		left: 0;
	}
}

/* --------------------------------------------------------------------------
   Team: a white 100px title, a dark 70px subtitle and a text, then the
   people cards across the full width, 20px from the sides
   -------------------------------------------------------------------------- */

.people-team {
	padding-bottom: 1.5rem;
}

.people-team__title {
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 5.208rem;
	font-weight: 700;
	line-height: 4.736rem;
	color: var(--color-white);
}

.people-team__subtitle {
	margin: -0.87rem 0 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 3.646rem;
	font-weight: 700;
	line-height: 4.724rem;
	color: var(--color-dark);
}

.people-team__text {
	margin-top: 0;
}

/* Entrance (main.js, [data-reveal]) */
.people-team__head.is-waiting > * {
	opacity: 0;
}

.people-team__head.is-in .people-team__title {
	--rise: 2.5rem;
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.people-team__head.is-in .people-team__subtitle {
	--rise: 2rem;
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.people-team__head.is-in .people-team__text {
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

/* --------------------------------------------------------------------------
   People cards: three grids, each 1880 wide at 1920
   -------------------------------------------------------------------------- */

.people-cards {
	display: flex;
	flex-direction: column;
	gap: 0.938rem;
	width: calc(100% - 2.084rem);
	margin: 3.906rem auto 0;
}

.people-grid {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.people-grid--main {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.042rem 0.885rem;
}

.people-grid--secondary {
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 1.823rem 0.833rem;
}

.people-grid--rest {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 0.833rem;
}

/* A card: the photo filling it, a shade, the name and position at the foot
   on the reading side */
.people-card,
.people-tile {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin: 0;
	background: var(--color-dark);
}

.people-card__photo,
.people-tile__photo {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Cropped from the top, so faces stay in; the hover zoom keeps the top too */
	object-position: 50% 0;
	transform-origin: 50% 0;
	transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, filter 0.5s ease;
}

/* Photos load lazily; each fades in once loaded (people.js), the card's
   colour showing until then */
.people-cards.is-photo-fade .people-card__photo:not(.is-loaded),
.people-cards.is-photo-fade .people-tile__photo:not(.is-loaded) {
	opacity: 0;
}

.people-card__shade,
.people-tile__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	transition: opacity 0.5s ease;
}

.people-card__shade::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.people-card__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
}

.people-card__name {
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-weight: 600;
	color: var(--color-white);
}

.people-card__position {
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	color: var(--color-orange);
}

/* Main: 458 x 617 */
.people-card--main {
	aspect-ratio: 458 / 617;
	border-radius: 0.833rem;
}

.people-card--main .people-card__shade {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 50%);
}

.people-card--main .people-card__shade::after {
	background: linear-gradient(0deg, rgba(48, 50, 58, 0.95) 0%, rgba(48, 50, 58, 0.55) 45%, rgba(48, 50, 58, 0.1) 100%);
}

.people-card--main .people-card__body {
	padding: 0 1.25rem 2.344rem;
}

.people-card--main .people-card__name {
	font-size: 2.5rem;
	line-height: 1.54rem;
}

.people-card--main .people-card__position {
	margin-top: 0.573rem;
	font-size: 1.667rem;
	font-weight: 500;
	line-height: 1.271rem;
}

/* Secondary: 221.5 x 294.8, on orange so the photo can fade into it */
.people-card--secondary {
	aspect-ratio: 221.5 / 294.8;
	border-radius: 0.625rem;
	background: var(--color-orange);
}

.people-card--secondary .people-card__shade {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0) 70%);
}

.people-card--secondary .people-card__body {
	padding: 0 0.677rem 1.042rem;
}

.people-card--secondary .people-card__name {
	font-size: 1.342rem;
	line-height: 0.777rem;
}

.people-card--secondary .people-card__position {
	margin-top: 0.417rem;
	font-size: 0.839rem;
	font-weight: 600;
	line-height: 0.686rem;
}

/* The short line at the foot, which runs the full width on hover */
.people-card__line {
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 3.44rem;
	height: 0.21rem;
	background: var(--color-white);
	transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.4s ease;
}

/* The rest: 142 x 142 black and white squares, on orange so the photo can
   fade into it on hover, as the secondary cards do */
.people-tile {
	aspect-ratio: 1;
	border-radius: 0.938rem;
	outline: none;
	background: var(--color-orange);
}

.people-tile--mark {
	background: none;
}

/* Closes the last row on tablets (eight a row) only (people/cards.php) */
.people-tile--tablet {
	display: none;
}

@media (min-width: 767px) and (max-width: 1024px) {

	.people-tile--tablet {
		display: block;
	}
}

.people-tile__mark {
	display: block;
	width: 100%;
	height: 100%;
}

.people-tile__photo {
	filter: grayscale(1);
}

.people-tile__shade {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.78) 100%);
	opacity: 0;
}

.people-tile__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 0.625rem 0.677rem;
	opacity: 0;
	transform: translateY(0.6rem);
	transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* A short orange line above the name */
.people-tile__body::before {
	content: "";
	display: block;
	width: 1.25rem;
	height: 0.208rem;
	margin-bottom: 0.365rem;
	border-radius: 2px;
	background: var(--color-orange);
}

.people-tile__name {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--color-white);
}

.people-tile__position {
	margin: 0.15rem 0 0;
	font-family: var(--font-body);
	font-size: 0.625rem;
	font-weight: 500;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.9);
}

/* A square reached with the keyboard shows its person too, and so does one
   tapped on a touch screen, which has no hover (.is-open, people.js); a
   click with a mouse doesn't */
.people-tile:focus-visible .people-tile__shade,
.people-tile:focus-visible .people-tile__body,
.people-tile.is-open .people-tile__shade,
.people-tile.is-open .people-tile__body {
	opacity: 1;
	transform: none;
}

.people-tile:focus-visible .people-tile__photo,
.people-tile.is-open .people-tile__photo {
	opacity: 0.6;
	transform: scale(1.08);
}

.people-tile:focus-visible {
	box-shadow: inset 0 0 0 3px var(--color-dark);
}

/* Touch screens: the squares take taps (iOS sends a tap's click only to an
   element marked clickable), without the grey tap flash */
@media (hover: none) {

	.people-tile:not(.people-tile--mark) {
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
}

@media (hover: hover) {

	.people-card--main:hover .people-card__photo {
		transform: scale(1.06);
	}

	.people-card--main:hover .people-card__shade::after {
		opacity: 1;
	}

	.people-card--secondary:hover .people-card__photo {
		opacity: 0.6;
		transform: scale(1.08);
	}

	.people-card--secondary:hover .people-card__line {
		width: 100%;
		background: var(--color-orange);
	}

	.people-tile:not(.people-tile--mark):hover .people-tile__photo {
		opacity: 0.6;
		transform: scale(1.08);
	}

	.people-tile:not(.people-tile--mark):hover .people-tile__shade,
	.people-tile:not(.people-tile--mark):hover .people-tile__body {
		opacity: 1;
		transform: none;
	}
}

/* Entrance (people.js): each card and square fades up as it scrolls into
   view, the ones arriving together one after another (--i), the big cards
   further apart than the small squares */
.people-card--main {
	--people-step: 0.12s;
}

.people-card--secondary {
	--people-step: 0.08s;
}

.people-card.is-waiting,
.people-tile.is-waiting {
	opacity: 0;
	transform: translateY(1.5rem);
}

.people-card.is-in,
.people-tile.is-in {
	animation: people-card-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * var(--people-step, 0.05s)) both;
}

/* A soft fade with a drift up */
@keyframes people-card-in {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}

	70% {
		opacity: 1;
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* "Load more" (phones, people.js); the next batch plays in as it comes into
   view, as the rest do */
.people-rest__actions {
	display: none;
}

@media (prefers-reduced-motion: reduce) {

	.people-hero__text,
	.people-team__head.is-in > *,
	.people-card.is-in,
	.people-tile.is-in {
		animation: none;
	}

	.people-card__photo,
	.people-tile__photo,
	.people-tile__body,
	.people-card__line {
		transition: none;
	}
}

/* Tablet: fewer to a row, the small type a little larger */
@media (max-width: 1024px) {

	.people-grid--secondary {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.people-grid--rest {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}

	.people-card--secondary .people-card__name {
		font-size: 1.9rem;
		line-height: 1.1;
	}

	.people-card--secondary .people-card__position {
		font-size: 1.2rem;
		line-height: 1.1;
	}

	.people-tile__name {
		font-size: 1rem;
	}

	.people-tile__position {
		font-size: 0.85rem;
	}
}

@media (max-width: 766px) {

	.people-hero {
		min-height: 0;
		padding: calc(var(--header-height) + 2.5rem) 0 4rem;
	}

	.people-hero__title,
	.people-team__title {
		font-size: 3rem;
		line-height: 2.85rem;
	}

	.people-hero__text,
	.people-team__text {
		font-size: 1.063rem;
	}

	.people-hero__text {
		margin-top: 0.75rem;
	}

	.people-team {
		padding-bottom: var(--gutter);
	}

	.people-team__subtitle {
		margin-top: 0.4rem;
		font-size: 2rem;
		line-height: 2.1rem;
	}

	.people-team__text {
		margin-top: 0.75rem;
	}

	.people-cards {
		gap: 0.5rem;
		width: calc(100% - 2 * var(--gutter));
		margin-top: 2rem;
	}

	.people-grid--main,
	.people-grid--secondary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.people-grid--rest {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.people-card--main {
		border-radius: 0.75rem;
	}

	.people-card--main .people-card__body {
		padding: 0 0.75rem 1rem;
	}

	.people-card--main .people-card__name {
		font-size: 1.5rem;
		line-height: 1;
	}

	.people-card--main .people-card__position {
		margin-top: 0.25rem;
		font-size: 1.063rem;
		line-height: 1.1;
	}

	.people-card--secondary .people-card__body {
		padding: 0 0.625rem 0.875rem;
	}

	.people-card--secondary .people-card__name {
		font-size: 1.25rem;
		line-height: 1;
	}

	.people-card--secondary .people-card__position {
		margin-top: 0.25rem;
		font-size: 0.875rem;
		line-height: 1.1;
	}

	.people-card__line {
		width: 2.75rem;
		height: 0.188rem;
	}

	.people-tile {
		border-radius: 0.75rem;
	}

	.people-tile__body {
		padding: 0.5rem;
	}

	.people-tile__name {
		font-size: 0.813rem;
	}

	.people-tile__position {
		font-size: 0.688rem;
	}

	/* The rest in batches, with "Load more" under them */
	.people-rest.is-batched .people-tile.is-more {
		display: none;
	}

	.people-rest__actions:not([hidden]) {
		display: flex;
		justify-content: center;
		margin-top: 1.5rem;
	}

	.people-rest__more {
		border: 0;
		background: var(--color-dark);
		cursor: pointer;
	}

	.people-rest__more:hover,
	.people-rest__more:focus-visible {
		color: var(--color-dark);
		background: var(--color-white);
	}
}

/* ==========================================================================
   Hero pictures coming in (About, Projects, a project's page)

   Each hero picture waits hidden until it has loaded and the page has
   been drawn (remboxHeroIn adds .is-loaded; main.js backs that up), so it
   plays on every visit, cached or not. Then it comes up slowly out of the
   dark: a long fade with a softening blur, and on About and a project's
   page a slight zoom settling. Without JavaScript, or for reduced motion,
   it simply shows.
   ========================================================================== */

.js .hero-fade {
	transition:
		opacity 1.1s cubic-bezier(0.45, 0, 0.25, 1),
		filter 1.3s cubic-bezier(0.45, 0, 0.25, 1),
		transform 1.8s cubic-bezier(0.33, 0, 0.2, 1);
}

/* The Projects picture's transform belongs to the scroll parallax
   (projects.js); a transition on it would drag every scroll step out */
.js .projects-hero__image.hero-fade {
	transition:
		opacity 1.1s cubic-bezier(0.45, 0, 0.25, 1),
		filter 1.3s cubic-bezier(0.45, 0, 0.25, 1);
}

.js .hero-fade:not(.is-loaded) {
	opacity: 0;
	filter: blur(1rem) brightness(0.7);
}

.js .about-picture.hero-fade:not(.is-loaded),
.js .project-hero__image.hero-fade:not(.is-loaded) {
	transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {

	.js .hero-fade,
	.js .hero-fade:not(.is-loaded) {
		opacity: 1;
		filter: none;
		transform: none;
		transition: none;
	}
}

/* ==========================================================================
   Projects page
   ========================================================================== */

.is-projects-page {
	background: #F2F1EF;
}

/* Hero: the picture 20px in from the top and sides, 1880 x 902 at 1920 with
   36px corners, under a shade at the top and a deeper one at the foot */
.projects-hero {
	padding: 1.042rem 1.042rem 0;
}

.projects-hero__frame {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	isolation: isolate;
	height: 46.979rem;
	border-radius: 1.875rem;
	background: var(--color-dark);
}

.projects-hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* With the parallax (projects.js) the picture is taller than its frame,
   its extra above, and drifts down into place as the page scrolls */
.projects-hero.is-parallax .projects-hero__image {
	top: -16%;
	height: 116%;
	will-change: transform;
}

.projects-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(17, 17, 17, 0) 73.56%),
		linear-gradient(180deg, rgba(13, 13, 18, 0.35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 55%, rgba(13, 13, 18, 0.7) 100%);
}

.projects-hero__content {
	padding-bottom: 4.8rem;
}

.projects-hero__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 10.938rem;
	font-weight: 700;
	line-height: 8.203rem;
	color: var(--color-white);
	text-shadow: 0 0.257rem 1.93rem rgba(0, 0, 0, 0.25);
}

/* Each line rises through a mask on page load; the mask leaves room for the
   shadow */
.projects-hero__line {
	display: block;
	overflow: hidden;
	padding: 0.3em 0.15em 0.2em;
	margin: -0.3em -0.15em -0.2em;
}

.projects-hero__line-inner {
	display: block;
	animation: services-line-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.projects-hero__line:nth-child(2) .projects-hero__line-inner {
	animation-delay: 0.28s;
}

.projects-hero__line:nth-child(n+3) .projects-hero__line-inner {
	animation-delay: 0.46s;
}

@media (prefers-reduced-motion: reduce) {

	.projects-hero__line-inner {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   A project's page: the hero, its picture (1240) beside a #30323A column
   (680) on the reading side, 960 tall; then the other projects in the grid
   below on #F2F1EF
   -------------------------------------------------------------------------- */

.is-project-page {
	background: #F2F1EF;
}

/* "More projects" comes closer under the hero than the grid does on the
   Projects page */
.is-project-page .projects-list {
	padding-top: 1.25rem;
}

/* The hero has no frame, so the header sits at the very top, a little
   tighter, its links centred about 60px down */
@media (min-width: 767px) {

	.is-project-page .site-header {
		top: 0;
	}

	.is-project-page .site-header__inner {
		padding-block: 2.1rem;
	}
}

.project-hero {
	display: grid;
	grid-template-areas: "info media";
	grid-template-columns: 35.417rem minmax(0, 1fr);
	min-height: 50rem;
	background: var(--color-dark);
}

.project-hero__media {
	position: relative;
	grid-area: media;
	overflow: hidden;
	isolation: isolate;
	background: var(--color-dark);
}

/* The slides, stacked; the current one fades in and settles from a slight
   zoom (projects.js) */
.project-hero__slides {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--color-dark);
}

.project-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.9s ease;
}

.project-hero__slide.is-active {
	opacity: 1;
}

.project-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hero__slide.is-active .project-hero__image {
	transform: none;
}

/* A shade at the top, under the white header, and a deeper one at the foot,
   under the controls */
.project-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.55) 100%);
}

/* Controls, 60px from the foot and sides, as in the design: arrows and
   counter on the left, five thumbnails in view on the right. On a Hebrew
   page the thumbnails run right to left (the first at the right) and the
   counter reads right to left, "07 / 01" */
.project-hero__controls {
	position: absolute;
	right: 3.125rem;
	bottom: 3.125rem;
	left: 3.125rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.project-hero__nav {
	display: flex;
	flex: none;
	align-items: center;
	gap: 0.625rem;
}

.project-hero__arrow {
	display: block;
	width: 2.367rem;
	height: 2.367rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.project-hero__arrow img {
	display: block;
	width: 100%;
	height: 100%;
}

.project-hero__arrow:hover {
	transform: scale(1.08);
}

.project-hero__arrow:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 3px;
}

.project-hero__counter {
	margin-left: 0.4rem;
	font-family: var(--font-mono);
	font-size: 0.781rem;
	font-weight: 500;
	line-height: normal;
	color: var(--color-white);
	white-space: nowrap;
}

/* 148.5 x 99, 15px apart, five in view; the strip scrolls for more */
.project-hero__thumbs {
	display: flex;
	gap: 0.781rem;
	max-width: 41.797rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.project-hero__thumbs::-webkit-scrollbar {
	display: none;
}

[dir="rtl"] .project-hero__thumbs,
[dir="rtl"] .project-hero__counter {
	direction: rtl;
}

.project-hero__thumb {
	position: relative;
	flex: 0 0 7.734rem;
	height: 5.156rem;
	overflow: hidden;
	padding: 0;
	border: 0;
	border-radius: 0.806rem;
	background: var(--color-dark);
	opacity: 0.7;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.project-hero__thumb-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The current one: an orange edge over the picture, full strength */
.project-hero__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 0.201rem solid var(--color-orange);
	border-radius: inherit;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.project-hero__thumb.is-active,
.project-hero__thumb:hover {
	opacity: 1;
}

.project-hero__thumb.is-active::after {
	opacity: 1;
}

.project-hero__thumb:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 2px;
}

/*
 * The thumbnails come in one by one once the first picture has started to
 * fade in (.hero-fade.is-loaded): each rises a little and fades up, --i
 * (set per thumbnail) spacing them out. Browsers without :has() simply
 * show them.
 */
.js .project-hero__media:has(.hero-fade:not(.is-loaded)) .project-hero__thumb {
	opacity: 0;
}

.js .project-hero__media:has(.hero-fade.is-loaded) .project-hero__thumb {
	animation: project-thumb-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
	animation-delay: calc(0.35s + min(var(--i, 0), 6) * 0.09s);
}

@keyframes project-thumb-in {
	from {
		opacity: 0;
		translate: 0 0.75rem;
		scale: 0.94;
	}
}

@media (prefers-reduced-motion: reduce) {

	.project-hero__slide,
	.project-hero__image {
		transition: none;
	}

	.js .project-hero__media .project-hero__thumb {
		animation: none;
	}
}

/* Tablets and phones: no thumbnails, the arrows and counter in the corner */
@media (max-width: 1024px) {

	.project-hero__thumbs {
		display: none;
	}

	.project-hero__controls {
		right: auto;
		bottom: 1.5rem;
		left: 1.5rem;
	}
}

@media (max-width: 766px) {

	.project-hero__controls {
		bottom: 1rem;
		left: var(--gutter);
	}

	.project-hero__arrow {
		width: 2.5rem;
		height: 2.5rem;
	}

	.project-hero__counter {
		font-size: 0.813rem;
	}
}

.project-hero__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	grid-area: info;
	padding: 6.458rem 3.75rem 4rem;
	color: var(--color-white);
}

/* Above the title, whose tall letters reach up over them, so the link
   stays clickable */
.project-hero__crumbs {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 1.042rem;
	font-weight: 600;
	color: var(--color-orange);
}

.project-hero__crumbs a {
	color: inherit;
	text-decoration: none;
}

.project-hero__crumbs a:hover,
.project-hero__crumbs a:focus-visible {
	text-decoration: underline;
}

.project-hero__title {
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 5.417rem;
	font-weight: 600;
	line-height: 4.767rem;
}

.project-hero__text {
	margin-top: 1.72rem;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
}

.project-hero__text p {
	margin: 0;
}

.project-hero__text p + p {
	margin-top: 0.75em;
}

/* Figures: three to a row between two lines, a line between each */
.project-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-self: stretch;
	margin: 1.146rem 0 0;
	padding: 0.95rem 0;
	border-block: 1px solid rgba(255, 255, 255, 0.15);
	list-style: none;
}

.project-hero__stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.project-hero__stat + .project-hero__stat {
	padding-inline-start: 1.042rem;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
}

.project-hero__stat:nth-child(3n + 1) {
	padding-inline-start: 0;
	border-inline-start: 0;
}

.project-hero__figure {
	font-family: var(--font-body);
	font-size: 1.979rem;
	font-weight: 700;
	line-height: normal;
	color: var(--color-orange);
	white-space: nowrap;
}

.project-hero__stat-label {
	margin-top: 0.2rem;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 500;
	line-height: normal;
	color: rgba(255, 255, 255, 0.6);
}

/* Partners: role over logo, two to a row */
.project-hero__partners {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.8rem 1.5rem;
	align-self: stretch;
	margin: 1.6rem 0 0;
	padding: 0;
	list-style: none;
}

.project-hero__partner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	min-width: 0;
}

.project-hero__role {
	font-family: var(--font-body);
	font-size: 0.677rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.041rem;
	color: rgba(255, 255, 255, 0.5);
}

.project-hero__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: min(11rem, 100%);
	max-height: 2.917rem;
	object-fit: contain;
}

.project-hero__logo.is-whitened {
	filter: brightness(0) invert(1);
}

.project-hero__partner-name {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1;
}

/* Contact: an orange pill with white text and arrow; #30323A on hover */
.project-hero__contact {
	display: inline-flex;
	align-items: center;
	gap: 0.833rem;
	margin-top: 2.6rem;
	padding: 0.833rem 1.354rem 0.833rem 1.563rem;
	border-radius: 99px;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 700;
	line-height: normal;
	color: var(--color-white);
	text-decoration: none;
	background: var(--color-orange);
	transition: background-color 0.35s ease;
}

[dir="ltr"] .project-hero__contact {
	padding: 0.833rem 1.563rem 0.833rem 1.354rem;
}

.project-hero__contact svg {
	width: 0.729rem;
	height: 0.729rem;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hero__contact:hover,
.project-hero__contact:focus-visible {
	background: var(--color-dark);
}

.project-hero__contact:hover svg {
	transform: translate(-0.15rem, -0.15rem);
}

.project-hero__contact:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 3px;
}

/* The info plays in on load (CSS only), line by line */
.project-hero__info > * {
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.project-hero__info > :nth-child(2) { animation-delay: 0.08s; }
.project-hero__info > :nth-child(3) { animation-delay: 0.16s; }
.project-hero__info > :nth-child(4) { animation-delay: 0.24s; }
.project-hero__info > :nth-child(5) { animation-delay: 0.32s; }
.project-hero__info > :nth-child(n+6) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {

	.project-hero__info > * {
		animation: none;
	}
}

/* Tablets: the column a little wider; it grows with its content */
@media (max-width: 1024px) {

	.project-hero {
		grid-template-columns: 42rem minmax(0, 1fr);
	}

	.project-hero__info {
		padding-inline: 2.5rem;
	}
}

/* Phones: the picture over the info */
@media (max-width: 766px) {

	.project-hero {
		display: block;
		min-height: 0;
	}

	.project-hero__media {
		height: min(26rem, 70vh);
		height: min(26rem, 70svh);
	}

	.project-hero__info {
		padding: 2rem var(--gutter) 2.5rem;
	}

	.project-hero__crumbs {
		font-size: 1rem;
	}

	.project-hero__title {
		font-size: 3rem;
		line-height: 1;
	}

	.project-hero__text {
		margin-top: 1rem;
		font-size: 1rem;
	}

	.project-hero__figure {
		font-size: 1.75rem;
	}

	.project-hero__stat-label {
		font-size: 0.75rem;
	}

	.project-hero__role {
		font-size: 0.75rem;
	}

	.project-hero__logo {
		max-height: 2.5rem;
	}

	.project-hero__contact {
		margin-top: 2rem;
		font-size: 1rem;
	}
}

/* --------------------------------------------------------------------------
   Projects grid: a 130px title over rows of cards, 1800 wide at 1920 with
   20px between. Rows A and C 640 tall, B 500 (grid.php)
   -------------------------------------------------------------------------- */

.projects-list {
	padding: 3.125rem 0 2.656rem;
}

.projects-list__inner {
	width: min(93.75rem, 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.projects-list__title {
	margin: 0 0 1.563rem;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 6.771rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--color-dark);
	text-transform: uppercase;
}

.projects-list__title span {
	color: var(--color-orange);
}

.projects-list__rows {
	display: flex;
	flex-direction: column;
	gap: 1.042rem;
}

.projects-row {
	display: grid;
	gap: 1.042rem;
	height: 33.333rem;
}

.projects-row--a {
	grid-template-columns: 1041.667fr 738.333fr;
}

.projects-row--b {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	height: 26.042rem;
}

.projects-row--c {
	grid-template-columns: 738.333fr 1041.667fr;
}

/* A short last row. A lone card keeps the wide card's size, 1041.667 x 640,
   on the reading side, whatever the row's shape; two in a three-card row
   share it */
.projects-row--n1 {
	grid-template-columns: 1041.667fr 738.333fr;
	height: 33.333rem;
}

.projects-row--b.projects-row--n2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* With the script, rows after the first three wait for "More projects" */
.projects-list.is-batched .projects-row.is-later:not(.is-shown) {
	display: none;
}

/* The card */
.project-card {
	position: relative;
	display: block;
	overflow: hidden;
	isolation: isolate;
	min-width: 0;
	border-radius: 1.458rem;
	color: var(--color-white);
	text-decoration: none;
	background: var(--color-dark);
}

.project-card:focus-visible {
	outline: 3px solid var(--color-orange);
	outline-offset: 3px;
}

.project-card__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card__shade,
.project-card__shade::after {
	position: absolute;
	inset: 0;
}

.project-card__shade {
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(20, 20, 26, 0.75) 100%);
}

.project-card__shade::after {
	content: "";
	opacity: 0;
	background: linear-gradient(180deg, rgba(20, 20, 26, 0.35) 0%, rgba(20, 20, 26, 0.9) 100%);
	transition: opacity 0.5s ease;
}

/* The round arrow, 58px, 32px in from the top left */
.project-card__arrow {
	position: absolute;
	top: 1.667rem;
	left: 1.667rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.021rem;
	height: 3.021rem;
	border-radius: 50%;
	color: var(--color-dark);
	background: var(--color-white);
	transition: background-color 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card__arrow svg {
	width: 0.729rem;
	height: 0.729rem;
}

/* The foot: location (a short line before it) and name; the partners come
   up under them on hover */
.project-card__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0 1.667rem 1.667rem;
}

.project-card__location {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 0.4rem;
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 500;
	letter-spacing: 0.15rem;
	color: rgba(255, 255, 255, 0.85);
}

.project-card__location::before {
	content: "";
	width: 0.625rem;
	height: max(1.5px, 0.078rem);
	background: currentColor;
}

.project-card__name {
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 2.396rem;
	font-weight: 600;
	line-height: 1.946rem;
}

/* Partners: closed to no height until hover (0fr to 1fr) */
.project-card__partners {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease;
}

.project-card__partners-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.25rem 2.6rem;
	overflow: hidden;
	min-height: 0;
}

/* The space above them is margin inside the closing box, so none of it
   shows while closed */
.project-card__partner {
	margin-top: 1.6rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	text-align: start;
	transform: translateY(0.75rem);
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card__role {
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 1.146rem;
	font-weight: 600;
	line-height: 1.138rem;
	color: var(--color-orange);
}

/* Logos up to 155.9 x 46; one without a white version is turned white */
.project-card__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 8.119rem;
	max-height: 2.396rem;
	object-fit: contain;
}

.project-card__logo.is-whitened {
	filter: brightness(0) invert(1);
}

.project-card__partner-name {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
}

@media (hover: hover) {

	.project-card:hover .project-card__image {
		transform: scale(1.06);
	}

	.project-card:hover .project-card__shade::after {
		opacity: 1;
	}

	.project-card:hover .project-card__arrow {
		background: var(--color-orange);
		transform: rotate(-8deg) scale(1.05);
	}

	.project-card:hover .project-card__partners {
		grid-template-rows: 1fr;
		opacity: 1;
		transition-delay: 0s, 0.1s;
	}

	.project-card:hover .project-card__partner {
		transform: none;
	}
}

.project-card:focus-visible .project-card__shade::after {
	opacity: 1;
}

.project-card:focus-visible .project-card__arrow {
	background: var(--color-orange);
}

/* "More projects": 240 x 65, outlined; fills dark on hover */
.projects-list__actions {
	display: flex;
	justify-content: center;
	margin-top: 3.49rem;
}

.projects-list__actions[hidden] {
	display: none;
}

.projects-list__more {
	display: inline-flex;
	align-items: center;
	gap: 1.042rem;
	padding: 0.938rem 1.563rem 0.938rem 1.771rem;
	border: max(1.5px, 0.078rem) solid var(--color-dark);
	border-radius: 99px;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 700;
	line-height: normal;
	color: var(--color-dark);
	background: none;
	cursor: pointer;
	transition: background-color 0.35s ease, color 0.35s ease;
}

[dir="ltr"] .projects-list__more {
	padding: 0.938rem 1.771rem 0.938rem 1.563rem;
}

.projects-list__more svg {
	width: 0.729rem;
	height: 0.729rem;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-list__more:hover,
.projects-list__more:focus-visible {
	color: var(--color-white);
	background: var(--color-dark);
}

.projects-list__more:hover svg {
	transform: translate(-0.15rem, -0.15rem);
}

.projects-list__more:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 3px;
}

/* Entrance (main.js, [data-reveal]), and rows shown by "More projects" */
.projects-list__title.is-waiting,
.projects-row.is-waiting > * {
	opacity: 0;
}

.projects-list__title.is-in {
	--rise: 2.5rem;
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.projects-row.is-in > *,
.projects-row.is-new > * {
	animation: people-card-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--n, 0) * 0.1s) both;
}

@media (prefers-reduced-motion: reduce) {

	.projects-list__title.is-in,
	.projects-row.is-in > *,
	.projects-row.is-new > * {
		animation: none;
	}

	.project-card__image,
	.project-card__partners,
	.project-card__partner {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Team band: #FFBB29 with the light vector shape, a 116px title, a 59px
   text that types itself out and figures that count up (projects.js)
   -------------------------------------------------------------------------- */

.projects-team {
	padding: 1.615rem 0 4.74rem;
	border-radius: 1.25rem 1.25rem 0 0;
	background: var(--color-yellow) url("../img/projects/bg-vector.svg") center / cover no-repeat;
}

.projects-team__inner {
	width: min(87.5rem, 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.projects-team__title {
	margin: 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 6.042rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-dark);
}

.projects-team__text {
	max-width: 78rem;
	margin: -0.3rem 0 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 3.072rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-ink);
}

/* While the script types it: untyped letters faint, typed ones dark */
.projects-team.is-typing .type-char {
	color: rgba(68, 70, 77, 0.32);
	transition: color 0.25s ease;
}

.projects-team.is-typing .type-char.is-typed {
	color: var(--color-ink);
}

.projects-team__numbers {
	display: flex;
	justify-content: center;
	max-width: 83.2rem;
	margin: 1.35rem auto 0;
	padding: 0;
	list-style: none;
}

.projects-team__item {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	text-align: center;
	color: var(--color-dark);
}

.projects-team__figure {
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 9.679rem;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	white-space: nowrap;
}

.projects-team__label {
	margin-top: -1.3rem;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 2.344rem;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}

/* Phones: one card to a row */
@media (max-width: 766px) {

	.projects-team {
		padding: 2rem 0 3rem;
	}

	.projects-team__title {
		font-size: 3rem;
		line-height: 1.3;
	}

	.projects-team__text {
		margin-top: 0.5rem;
		font-size: 1.6rem;
	}

	.projects-team__numbers {
		flex-direction: column;
		gap: 1.25rem;
		margin-top: 2rem;
	}

	.projects-team__figure {
		font-size: 5rem;
	}

	.projects-team__label {
		margin-top: -0.4rem;
		font-size: 1.5rem;
	}

	.projects-list {
		padding: 2.5rem 0 2.5rem;
	}

	.projects-list__title {
		margin-bottom: 1.25rem;
		font-size: 3rem;
		line-height: 1.05;
	}

	.projects-list__rows,
	.projects-row {
		gap: 0.75rem;
	}

	.projects-row,
	.projects-row--b {
		grid-template-columns: 1fr;
		height: auto;
	}

	.project-card {
		height: 22rem;
		border-radius: 1.25rem;
	}

	.project-card__arrow {
		top: 1rem;
		left: 1rem;
		width: 2.75rem;
		height: 2.75rem;
	}

	.project-card__arrow svg {
		width: 0.75rem;
		height: 0.75rem;
	}

	.project-card__body {
		padding: 0 1.25rem 1.25rem;
	}

	.project-card__location {
		font-size: 0.813rem;
		letter-spacing: 0.12rem;
	}

	.project-card__name {
		font-size: 2rem;
		line-height: 1.05;
	}

	/* No partners on phones, even on hover */
	.project-card__partners {
		display: none;
	}

	.projects-list__actions {
		margin-top: 2rem;
	}

	.projects-list__more {
		font-size: 1rem;
	}
}

@media (max-width: 1024px) {

	.projects-hero__content.container {
		width: calc(100% - 2 * var(--gutter) - 2.084rem);
	}
}

@media (max-width: 766px) {

	.projects-hero {
		padding: 0.75rem 0.75rem 0;
	}

	.projects-hero__frame {
		height: min(36rem, 100vh - 1.5rem);
		height: min(36rem, 100svh - 1.5rem);
		border-radius: 1.25rem;
	}

	.projects-hero__content {
		padding-bottom: 2.5rem;
	}

	.projects-hero__title {
		font-size: 4.5rem;
		line-height: 3.6rem;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	overflow: hidden;
	padding-top: 6.563rem;
	color: var(--color-white);
	background: var(--color-dark);
}

/* Call to action: the button at the reading end, the title at the other */
.site-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-inline-start: 0.938rem;
}

.site-footer__button {
	order: -1;
	flex-shrink: 0;
}

/* Title: 130px / 90%, demibold, white */
.site-footer__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 6.771rem;
	font-weight: 600;
	line-height: 0.9;
	text-transform: uppercase;
	color: var(--color-white);
}

/* Rules: a 1.365px white line. The lower one ends in a 16.383px #FFAA29
   square either side, 22px off the line; the upper one lines up with its
   line. */
.footer-rule {
	display: flex;
	align-items: center;
	gap: 1.146rem;
	width: min(93.281rem, 100% - 2 * var(--gutter));
	margin: 3.281rem auto 0;
	padding-inline: calc(0.853rem + 1.146rem);
}

.footer-rule--ends {
	margin-top: 2.708rem;
	padding-inline: 0;
}

.footer-rule__line {
	flex: 1 1 auto;
	height: max(1px, 0.071rem);
	background: var(--color-white);
}

.footer-rule__square {
	flex-shrink: 0;
	width: 0.853rem;
	height: 0.853rem;
	border-radius: 0.043rem;
	background: var(--color-orange);
}

/* Columns: contact, services and main links (317, 315 and 357px), then the
   description and social links in the rest */
.site-footer__columns {
	display: grid;
	grid-template-columns: 16.51rem 16.406rem 18.594rem minmax(0, 1fr);
	margin-top: 3.906rem;
	padding-inline: 0.938rem 2.344rem;
}

/* Small title: Heebo 22px, bold, 70% white */
.footer-col__title {
	margin: 0 0 1.198rem;
	font-family: var(--font-body);
	font-size: max(1.146rem, 14px);
	font-weight: 700;
	line-height: 1.45;
	color: var(--color-white-70);
}

/* Items: Heebo 22px, medium, white, 38px apart */
.footer-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.313rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-body);
	font-size: max(1.146rem, 14px);
	font-weight: 500;
	line-height: 1.45;
}

.footer-list a {
	color: var(--color-white);
	text-decoration: none;
	transition: color 0.25s ease;
}

.footer-list a:hover,
.footer-list .current-menu-item > a {
	color: var(--color-orange);
}

/* Contact link: as the project link, #FEB400 bold with its arrow */
.footer-list .footer-list__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.365rem;
	font-weight: 700;
	color: var(--color-amber-bright);
}

.footer-list__cta img {
	width: max(0.456rem, 8px);
	height: max(0.456rem, 8px);
	transition: transform 0.3s ease;
}

.footer-list__cta:hover img {
	transform: translateX(-0.25rem);
}

[dir="ltr"] .footer-list__cta img {
	transform: scaleX(-1);
}

[dir="ltr"] .footer-list__cta:hover img {
	transform: scaleX(-1) translateX(-0.25rem);
}

/* About: the description at the top, the social links at the foot, at the
   far end */
.footer-col--about {
	display: flex;
	flex-direction: column;
}

/* Description: Heebo 22px, semibold, 70% white. As wide as its lines run
   (505px at 1920), at the column's far end, its lines justified so the
   text's edge lines up with the first social tile's under it. */
.footer-col__description {
	max-width: 26.75rem;
	margin: 0;
	margin-inline-start: auto;
	font-family: var(--font-body);
	font-size: max(1.146rem, 14px);
	font-weight: 600;
	line-height: 1.4;
	text-align: justify;
	color: var(--color-white-70);
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.885rem;
	margin: auto 0 0;
	padding: 2rem 0 0;
	list-style: none;
}

/* Icon: a 69.629px tile, radius 10.922px, 20% white with a #FEB400 icon;
   on hover a #FEB400 tile with a #30323A icon */
.footer-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: max(3.627rem, 48px);
	height: max(3.627rem, 48px);
	border-radius: 0.569rem;
	color: var(--color-amber-bright);
	background: rgba(255, 255, 255, 0.2);
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
	color: var(--color-dark);
	background: var(--color-amber-bright);
	transform: translateY(-0.156rem);
}

.footer-social__link:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 3px;
}

.footer-social__icon {
	display: block;
	width: max(1.875rem, 24px);
	height: max(1.875rem, 24px);
}

/* Bottom line: the copyright and the privacy link at the start, the credit
   at the far end, lined up with the columns' edges. Heebo 18px, 70% white.
   The room above it (134px at 1920) sets the lower rule and the wordmark
   down. */
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-top: 7rem;
	padding-inline: 0.938rem 2.344rem;
	font-family: var(--font-body);
	font-size: max(0.938rem, 13px);
	font-weight: 400;
	line-height: 1.45;
	color: var(--color-white-70);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 0.625rem;
	margin: 0;
}

/* At the far end also when it is alone on the line */
.site-footer__credit {
	margin-inline-start: auto;
}

.site-footer__link {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

/* Only a link that leads somewhere (the privacy link has no href until a
   page is chosen) */
.site-footer__link[href]:hover,
.site-footer__link[href]:focus-visible {
	color: var(--color-orange);
}

.site-footer__bottom + .footer-rule--ends {
	margin-top: 1.563rem;
}

/* Wordmark: full width, 86px under the rule, cut off by the page's foot */
.footer-brand {
	margin-top: 4.479rem;
}

.footer-brand__svg {
	display: block;
	width: 100%;
	height: auto;
	fill: var(--color-orange);

	/* The counters of R, e, b and o are cut out by the outline inside them */
	fill-rule: evenodd;
}

/*
 * Entrance. main.js sets .is-armed on the footer (the starting state below)
 * and adds .is-in to each [data-footer-reveal] part as it comes into view.
 * While arming (.is-arming) nothing transitions, so the parts hide at once.
 */
.site-footer.is-arming,
.site-footer.is-arming * {
	transition: none !important;
}

.site-footer.is-armed .site-footer__title,
.site-footer.is-armed .site-footer__button,
.site-footer.is-armed .footer-col > *,
.site-footer.is-armed .footer-social li {
	opacity: 0;
	transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Call to action: the title rises in, then the button pops in */
.site-footer.is-armed .site-footer__title {
	transform: translateY(2.5rem);
}

.site-footer.is-armed .site-footer__button {
	transform: scale(0.7);
	transition-delay: 0.25s;
	transition-timing-function: ease, cubic-bezier(0.3, 1.6, 0.5, 1);
}

/* Rules: the line draws out from the middle, the squares spin in */
.site-footer.is-armed .footer-rule__line {
	transform: scaleX(0);
	transition: transform 1.2s cubic-bezier(0.6, 0, 0.2, 1);
}

.site-footer.is-armed .footer-rule__square {
	opacity: 0;
	transform: scale(0) rotate(-90deg);
	transition: opacity 0.4s ease 0.6s, transform 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) 0.6s;
}

/* Columns: each one's title and contents rise in, column by column */
.site-footer.is-armed .footer-col > * {
	transform: translateY(1.5rem);
}

.site-footer.is-armed .footer-col:nth-child(2) > * {
	transition-delay: 0.1s;
}

.site-footer.is-armed .footer-col:nth-child(3) > * {
	transition-delay: 0.2s;
}

.site-footer.is-armed .footer-col:nth-child(4) > * {
	transition-delay: 0.3s;
}

/* The social tiles pop in after the columns, one by one (their items, so
   the links keep their own hover transition) */
.site-footer.is-armed .footer-social li {
	transform: scale(0.6);
	transition-timing-function: ease, cubic-bezier(0.3, 1.6, 0.5, 1);
}

.site-footer.is-armed .footer-social li:nth-child(1) {
	transition-delay: 0.45s;
}

.site-footer.is-armed .footer-social li:nth-child(2) {
	transition-delay: 0.55s;
}

.site-footer.is-armed .footer-social li:nth-child(3) {
	transition-delay: 0.65s;
}

/* The bottom line rises in (with the credit link's own hover colour) */
.site-footer.is-armed .site-footer__bottom > * {
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.25s ease;
}

/* Wordmark: each letter fades in from a slightly larger size, one after
   another */
.site-footer.is-armed .footer-brand__letter {
	opacity: 0;
	transform: scale(1.18);
	transform-box: fill-box;
	transform-origin: 50% 50%;
	transition: opacity 1s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--i) * 0.12s);
}

/* Played in */
.site-footer.is-armed .is-in .site-footer__title,
.site-footer.is-armed .is-in .site-footer__button,
.site-footer.is-armed .is-in .footer-col > *,
.site-footer.is-armed .is-in .footer-social li,
.site-footer.is-armed .is-in .footer-rule__square,
.site-footer.is-armed .is-in .footer-brand__letter,
.site-footer.is-armed .site-footer__bottom.is-in > * {
	opacity: 1;
	transform: none;
}

.site-footer.is-armed .is-in .footer-rule__line {
	transform: none;
}

/* Tablets: the three link columns side by side, the about column under them */
@media (max-width: 1024px) {

	.site-footer__columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 2.5rem;
		padding-inline: 0;
	}

	.site-footer__cta {
		padding-inline-start: 0;
	}

	.footer-col--about {
		grid-column: 1 / -1;
	}

	/* The description back at the start, over the social tiles */
	.footer-col__description {
		max-width: 29.063rem;
		margin-inline-start: 0;
		text-align: start;
	}

	.footer-social {
		justify-content: flex-start;
	}

	.site-footer__bottom {
		padding-inline: 0;
	}
}

/* Phones: the button under the title, one column */
@media (max-width: 766px) {

	.site-footer {
		padding-top: 4rem;
	}

	.site-footer__cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.site-footer__button {
		order: 0;
	}

	.site-footer__title {
		font-size: 3.25rem;
	}

	/* The upper rule runs the full width, without the room for the squares */
	.footer-rule {
		margin-top: 2.5rem;
		padding-inline: 0;
	}

	/* Contact details across, the two menus (services, pages) side by side
	   under them, then the about column across */
	.site-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.25rem;
		row-gap: 2rem;
		margin-top: 2.5rem;
	}

	.site-footer__columns > .footer-col:first-child {
		grid-column: 1 / -1;
	}

	.footer-col__title {
		margin-bottom: 0.75rem;
	}

	.footer-rule--ends {
		margin-top: 2.5rem;
	}

	/* Bottom line: the copyright, then the credit under it */
	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		margin-top: 3.5rem;
		font-size: 0.875rem;
	}

	.site-footer__credit {
		margin-inline-start: 0;
	}

	.footer-brand {
		margin-top: 2.5rem;
	}
}

/* --------------------------------------------------------------------------
   English pages (dir="ltr"): the English design's footer. Not a mirror of
   the Hebrew one: the title at the start with the button at the far end, no
   rule under them, then the about column first (the description, and the
   social tiles at its foot), Company, Services and Contact. Wider than the
   page's container (the lower rule's width). Titles, links and the
   description in Heebo 24.575px, the titles in capitals; "Book a call" in
   Manrope 21.844px bold, #FFAA29 capitals.
   -------------------------------------------------------------------------- */

[dir="ltr"] .site-footer {
	padding-top: 4.64rem;
}

[dir="ltr"] .site-footer__cta,
[dir="ltr"] .site-footer__columns,
[dir="ltr"] .site-footer__bottom {
	width: min(93.281rem, 100% - 2 * var(--gutter));
}

[dir="ltr"] .site-footer__bottom {
	padding-inline: 1.25rem 0;
}

[dir="ltr"] .site-footer__cta {
	padding-inline: 0.417rem 6.823rem;
}

[dir="ltr"] .site-footer__button {
	order: 0;
}

[dir="ltr"] .site-footer > .footer-rule:not(.footer-rule--ends) {
	display: none;
}

[dir="ltr"] .site-footer__columns {
	grid-template-columns: minmax(0, 1fr) 18.49rem 18.49rem 15.52rem;
	margin-top: 6.93rem;
	padding-inline: 1.25rem 0;
}

[dir="ltr"] .footer-col--about {
	order: -1;
}

[dir="ltr"] .footer-col--links {
	order: 1;
}

[dir="ltr"] .footer-col--services {
	order: 2;
}

[dir="ltr"] .footer-col--contact {
	order: 3;
}

[dir="ltr"] .footer-col__title {
	margin-bottom: 1.3rem;
	font-size: max(1.28rem, 15px);
	line-height: 1.47;
	text-transform: uppercase;
}

[dir="ltr"] .footer-list {
	gap: 0.286rem;
	font-size: max(1.28rem, 15px);
	line-height: 1.47;
}

[dir="ltr"] .footer-col__description {
	max-width: 25.3rem;
	margin-inline-start: 0;
	font-size: max(1.28rem, 15px);
	line-height: 1.47;
	text-align: start;
}

[dir="ltr"] .footer-social {
	justify-content: flex-start;
}

[dir="ltr"] .footer-list .footer-list__cta {
	gap: 0.5rem;
	margin-top: 0.1rem;
	font-family: var(--font-numbers);
	font-size: max(1.138rem, 14px);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-orange);
}

[dir="ltr"] .footer-list__cta img {
	width: max(0.65rem, 10px);
	height: max(0.65rem, 10px);
}

[dir="ltr"] .footer-list__cta:hover img {
	transform: scaleX(-1) translateX(-0.25rem);
}

/* The entrance runs along the columns as they stand: about, Company,
   Services, Contact */
[dir="ltr"] .site-footer.is-armed .footer-col--about > * {
	transition-delay: 0s;
}

[dir="ltr"] .site-footer.is-armed .footer-col--links > * {
	transition-delay: 0.1s;
}

[dir="ltr"] .site-footer.is-armed .footer-col--services > * {
	transition-delay: 0.2s;
}

[dir="ltr"] .site-footer.is-armed .footer-col--contact > * {
	transition-delay: 0.3s;
}

/* Tablets: Company, Services and Contact side by side, the about column
   across under them */
@media (max-width: 1024px) {

	[dir="ltr"] .site-footer__cta {
		padding-inline: 0;
	}

	[dir="ltr"] .site-footer__columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 4.5rem;
		padding-inline: 0;
	}

	[dir="ltr"] .site-footer__bottom {
		padding-inline: 0;
	}

	[dir="ltr"] .footer-col--about {
		order: 4;
	}
}

/* Phones: the button under the title; Company and Services side by side,
   then Contact, then the about column */
@media (max-width: 766px) {

	[dir="ltr"] .site-footer {
		padding-top: 4rem;
	}

	[dir="ltr"] .site-footer__cta {
		padding-inline: 0;
	}

	[dir="ltr"] .site-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 3rem;
	}

	[dir="ltr"] .footer-col__title,
	[dir="ltr"] .footer-list,
	[dir="ltr"] .footer-col__description {
		font-size: 1.125rem;
	}

	[dir="ltr"] .footer-col__title {
		margin-bottom: 0.75rem;
	}

	[dir="ltr"] .footer-list .footer-list__cta {
		font-size: 1rem;
	}
}

/* ==========================================================================
   Contact page
   ========================================================================== */

/* The header sits on the first section's orange; hovered and current links
   turn white, as on the People page (the phone dropdown keeps its own) */
.is-contact-page .site-header {
	background: var(--color-orange);
}

@media (min-width: 767px) {

	.is-contact-page .site-nav__list a:hover,
	.is-contact-page .site-nav__list .current-menu-item > a {
		color: var(--color-white);
	}
}

/* --------------------------------------------------------------------------
   Hero: the title and the contact strip, 1840 wide at 1920 (40px from the
   sides), on #FFAA29
   -------------------------------------------------------------------------- */

.contact-hero {
	padding-bottom: 2.604rem;
	background: var(--color-orange);
}

.contact-hero__inner {
	width: calc(min(100%, 100rem) - 4.167rem);
	margin-inline: auto;
}

/* 166px on 124.624px, rising through its mask on load */
.contact-hero__title {
	display: flex;
	flex-direction: column;
	margin: -0.521rem 0 0;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 8.646rem;
	font-weight: 700;
	line-height: 6.491rem;
	color: var(--color-dark);
}

.contact-hero__line {
	display: block;
	overflow: hidden;
	padding-block: 0.3em 0.2em;
	margin-block: -0.3em -0.2em;
}

.contact-hero__line-inner {
	display: block;
	animation: services-line-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.contact-hero__line:nth-child(n+2) .contact-hero__line-inner {
	animation-delay: 0.28s;
}

/* The strip: one rounded outline, the three links split by rules */
.contact-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 2.604rem 0 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
	border: 0.078rem solid var(--color-dark);
	border-radius: 1.25rem;
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.contact-links__item + .contact-links__item {
	border-inline-start: 0.078rem solid var(--color-dark);
}

.contact-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.938rem;
	height: 100%;
	min-height: 5.625rem;
	padding-block: 0.75rem;
	padding-inline: 1.406rem 4rem;
	color: var(--color-dark);
	text-decoration: none;
	transition: background-color 0.35s ease;
}

.contact-link__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.708rem;
	height: 2.708rem;
	border-radius: 50%;
	background: var(--color-dark);
	color: var(--color-orange);
	transition:
		background-color 0.35s ease,
		color 0.35s ease;
}

.contact-link__icon svg {
	width: 0.885rem;
	height: auto;
}

.contact-link__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Heebo 14px / 500 at 60%, over Heebo 26px / 700 */
.contact-link__label {
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 500;
	line-height: normal;
	color: rgba(48, 50, 58, 0.6);
	transition: color 0.35s ease;
}

.contact-link__value {
	overflow: hidden;
	font-family: var(--font-body);
	font-size: 1.354rem;
	font-weight: 700;
	line-height: normal;
	text-align: start;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.35s ease;
}

/* The small arrow, in the far corner */
.contact-link__arrow {
	position: absolute;
	top: 3.41rem;
	inset-inline-end: 1.719rem;
	display: flex;
	color: rgba(48, 50, 58, 0.45);
	transition:
		color 0.35s ease,
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-link__arrow svg {
	width: 0.573rem;
	height: auto;
}

/* Hover: the link fills dark, its icon turns orange */
.contact-link:hover,
.contact-link:focus-visible {
	background: var(--color-dark);
}

.contact-link:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: -0.35rem;
	box-shadow: inset 0 0 0 0.25rem var(--color-orange);
}

.contact-link:is(:hover, :focus-visible) .contact-link__icon {
	background: var(--color-orange);
	color: var(--color-dark);
}

.contact-link:is(:hover, :focus-visible) .contact-link__label {
	color: rgba(255, 255, 255, 0.6);
}

.contact-link:is(:hover, :focus-visible) .contact-link__value {
	color: var(--color-white);
}

.contact-link:is(:hover, :focus-visible) .contact-link__arrow {
	color: var(--color-orange);
	transform: translate(-0.15rem, -0.15rem);
}

@media (prefers-reduced-motion: reduce) {

	.contact-hero__line-inner,
	.contact-links {
		animation: none;
	}
}

/* Tablet: the type a little larger for its narrower links */
@media (max-width: 1024px) {

	.contact-link {
		padding-inline-end: 3rem;
	}

	.contact-link__value {
		font-size: 1.5rem;
	}

	.contact-link__label {
		font-size: 0.9rem;
	}
}

/* Phones: the links stacked */
@media (max-width: 766px) {

	.contact-hero {
		padding-bottom: 2rem;
	}

	.contact-hero__inner {
		width: calc(100% - 2 * var(--gutter));
	}

	.contact-hero__title {
		padding-top: 1rem;
		font-size: 4.5rem;
		line-height: 3.6rem;
	}

	.contact-links {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 2rem;
	}

	.contact-links__item + .contact-links__item {
		border-inline-start: 0;
		border-top: 0.078rem solid var(--color-dark);
	}

	.contact-link {
		min-height: 5.25rem;
		padding-inline: 1rem 3rem;
	}

	.contact-link__value {
		font-size: 1.25rem;
	}

	.contact-link__label {
		font-size: 0.813rem;
	}

	.contact-link__arrow {
		top: auto;
		bottom: 1rem;
		inset-inline-end: 1rem;
	}
}

/* --------------------------------------------------------------------------
   Contact form: a drawing sheet. An orange frame (2px #30323A, 38px
   corners) with a ruler on its 12px edges, around a light sheet of three
   columns: 638, 560 and 611 wide at 1920, each under a 64px dark heading.

   The markup is Contact Form 7's (cf7-contact-form.txt, or the test copy
   contact/form-test.php): its wrappers, list items, error tips and
   response, styled here over its own stylesheet.
   -------------------------------------------------------------------------- */

.contact-form {
	--sheet-paper: #EFEDE8;
	--sheet-active: #DAD8D1;
	--sheet-rule: #999998;
	--sheet-line: #D7D5D2;
	--sheet-error: #C8341B;
	padding-bottom: 2.604rem;
	background: var(--color-orange);
}

.contact-sheet {
	position: relative;
	width: calc(min(100%, 100rem) - 4.167rem);
	margin-inline: auto;
	padding: 0.625rem;
	border: max(2px, 0.104rem) solid var(--color-dark);
	border-radius: 1.979rem;
	background: var(--color-orange);
}

/* Entrance: the sheet rises, its three columns fade up one by one, then the
   stamp lands. Below the screen it waits hidden (main.js, .is-waiting) and
   plays once it comes into view */
.contact-sheet.is-waiting {
	opacity: 0;
}

.contact-sheet:not(.is-waiting) {
	animation: services-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.contact-sheet:not(.is-waiting) .contact-col {
	--rise: 1rem;
	animation: services-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s backwards;
}

.contact-sheet:not(.is-waiting) .contact-col:nth-child(2) {
	animation-delay: 0.9s;
}

.contact-sheet:not(.is-waiting) .contact-col:nth-child(3) {
	animation-delay: 1.05s;
}

.contact-sheet:not(.is-waiting) .contact-stamp {
	animation: contact-stamp-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s backwards;
}

@keyframes contact-stamp-in {
	from {
		opacity: 0;
		transform: rotate(-20deg) scale(0.6);
	}
}

@media (prefers-reduced-motion: reduce) {

	.contact-sheet:not(.is-waiting),
	.contact-sheet:not(.is-waiting) .contact-col,
	.contact-sheet:not(.is-waiting) .contact-stamp {
		animation: none;
	}
}

/* The ruler: 1 to 8 across the top and foot, A to E down both sides, each
   step marked off by a thin rule */
.contact-sheet__ruler {
	position: absolute;
	display: flex;
	font-family: var(--font-mono);
	font-size: 0.5rem;
	font-weight: 500;
	line-height: 1;
	color: rgba(48, 50, 58, 0.5);
	pointer-events: none;
	user-select: none;
}

.contact-sheet__ruler > span {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.contact-sheet__ruler--top,
.contact-sheet__ruler--bottom {
	inset-inline: 0.625rem;
	height: 0.625rem;
}

.contact-sheet__ruler--top {
	top: 0;
}

.contact-sheet__ruler--bottom {
	bottom: 0;
}

.contact-sheet__ruler--top > span + span,
.contact-sheet__ruler--bottom > span + span {
	border-inline-start: 1px solid rgba(48, 50, 58, 0.5);
}

.contact-sheet__ruler--start,
.contact-sheet__ruler--end {
	top: 0.625rem;
	bottom: 0.625rem;
	flex-direction: column;
	width: 0.625rem;
}

.contact-sheet__ruler--start {
	inset-inline-start: 0;
}

.contact-sheet__ruler--end {
	inset-inline-end: 0;
}

.contact-sheet__ruler--start > span + span,
.contact-sheet__ruler--end > span + span {
	border-top: 1px solid rgba(48, 50, 58, 0.5);
}

.contact-sheet__paper {
	overflow: hidden;
	border: max(2px, 0.104rem) solid var(--color-dark);
	border-radius: 1.25rem;
	background: var(--sheet-paper);
}

/* Contact Form 7's own stylesheet: no extra spacing */
.contact-sheet .wpcf7,
.contact-sheet .wpcf7-form {
	margin: 0;
}

.contact-cols {
	display: grid;
	grid-template-columns: 638fr 560fr 611fr;
}

.contact-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.contact-col + .contact-col {
	border-inline-start: 0.078rem solid var(--color-dark);
}

/* The heading: the number (IBM Plex Mono 13px, orange) and the title
   (Heebo 16px / 700, white) */
.contact-col__head {
	display: flex;
	flex: none;
	align-items: center;
	gap: 0.99rem;
	height: 3.333rem;
	margin: 0;
	padding-inline: 1.042rem;
	background: var(--color-dark);
}

.contact-col__num {
	font-family: var(--font-mono);
	font-size: 0.677rem;
	font-weight: 500;
	line-height: normal;
	color: var(--color-orange);
}

.contact-col__title {
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.017rem;
	color: var(--color-white);
}

.contact-col__body {
	position: relative;
	flex: 1;
	min-height: 0;
}

/* --- 01: the details, a label over each field, in a grid of rules ------- */

.contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
}

.contact-field {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	min-width: 0;
	padding: 0.781rem 1.042rem 0.938rem;
	cursor: text;
	transition: background-color 0.3s ease;
}

.contact-fields .contact-field--wide {
	grid-column: 1 / -1;
}

.contact-fields .contact-field:nth-child(n+2) {
	border-top: 0.078rem solid var(--color-dark);
}

.contact-fields .contact-field:nth-child(odd):not(:first-child) {
	border-inline-start: 0.078rem solid var(--color-dark);
}

/* Focus: the field lights up inside a 2px orange outline with rounded
   corners, the cursor orange */
.contact-field {
	isolation: isolate;
}

.contact-field::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border: max(2px, 0.104rem) solid var(--color-orange);
	border-radius: 0.417rem;
	background: #F8F7F5;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.contact-field:focus-within::before {
	opacity: 1;
}

.contact-sheet .wpcf7-form-control {
	caret-color: var(--color-orange);
}

/* Heebo 14px / 700 at 75% */
.contact-field__label {
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.015rem;
	color: rgba(48, 50, 58, 0.75);
}

/* Static (Contact Form 7 makes it relative), so the error tip is placed in
   the field's own top corner and not over the input */
.contact-sheet .contact-field .wpcf7-form-control-wrap {
	position: static;
	display: block;
}

/* Heebo 24px / 500; the placeholder at 32% */
.contact-sheet input.wpcf7-form-control:not([type="checkbox"]),
.contact-sheet textarea.wpcf7-form-control {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--color-dark);
	outline: none;
	box-shadow: none;
	appearance: none;
}

.contact-sheet input.wpcf7-form-control:not([type="checkbox"]) {
	font-size: 1.25rem;
	line-height: normal;
}

.contact-sheet .wpcf7-form-control::placeholder {
	color: rgba(48, 50, 58, 0.32);
	opacity: 1;
}

/* Typed left to right, set to the right like the rest */
.contact-sheet .wpcf7-form-control:is(.wpcf7-email, .wpcf7-tel) {
	direction: ltr;
	text-align: right;
}

[dir="ltr"] .contact-sheet .wpcf7-form-control:is(.wpcf7-email, .wpcf7-tel) {
	text-align: left;
}

/* Errors: the tip in the field's far corner, a red edge along its foot */
.contact-sheet .wpcf7-not-valid-tip {
	position: absolute;
	top: 0.781rem;
	inset-inline-end: 1.042rem;
	max-width: 60%;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: end;
	color: var(--sheet-error);
	/* An English message keeps its full stop at its end on a Hebrew page */
	unicode-bidi: plaintext;
	animation: contact-tip-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-field:has(.wpcf7-not-valid) {
	box-shadow: inset 0 -0.208rem 0 var(--sheet-error);
}

.contact-field:has(.wpcf7-not-valid) .contact-field__label {
	color: var(--sheet-error);
}

@keyframes contact-tip-in {
	from {
		opacity: 0;
		transform: translateY(-0.35rem);
	}
}

/* --- 02: the fields of interest, a row each ------------------------------ */

.contact-col--interest .wpcf7-form-control-wrap,
.contact-col--interest .wpcf7-checkbox {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.contact-col--interest .wpcf7-checkbox {
	counter-reset: interest;
}

.contact-sheet .wpcf7-list-item {
	display: block;
	flex: 1;
	min-height: 3.37rem;
	margin: 0;
	counter-increment: interest;
	transition: background-color 0.25s ease;
}

.contact-sheet .wpcf7-list-item + .wpcf7-list-item {
	border-top: 1px solid var(--sheet-rule);
}

.contact-sheet .wpcf7-list-item:hover {
	background: rgba(218, 216, 209, 0.5);
}

.contact-sheet .wpcf7-list-item:has(input:checked) {
	background: var(--sheet-active);
}

/* The box, the name, then the code (D-01...) and a hatched square in the
   far corner */
.contact-sheet .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 0.938rem;
	height: 100%;
	padding-inline: 0.833rem;
	cursor: pointer;
}

.contact-sheet .wpcf7-list-item input[type="checkbox"] {
	display: grid;
	flex: none;
	place-content: center;
	width: 1.146rem;
	height: 1.146rem;
	margin: 0;
	border: 0.078rem solid var(--color-dark);
	border-radius: 0.313rem;
	background: transparent no-repeat center / 0.68rem auto;
	cursor: pointer;
	appearance: none;
	transition: background-color 0.2s ease;
}

.contact-sheet .wpcf7-list-item input[type="checkbox"]:checked {
	background-color: var(--color-dark);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='11' viewBox='0 0 15 11' fill='none'%3E%3Cpath d='M1.09961 5.10004L5.59961 9.60004L13.0996 1.10004' stroke='%23FFAA29' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact-sheet .wpcf7-list-item input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 2px;
}

/* Heebo 18px / 500 */
.contact-sheet .wpcf7-list-item-label {
	flex: 1;
	min-width: 0;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 500;
	line-height: normal;
	color: var(--color-dark);
}

/* IBM Plex Mono 12px at 60% */
.contact-sheet .wpcf7-list-item label::after {
	content: "D-" counter(interest, decimal-leading-zero);
	order: 2;
	font-family: var(--font-mono);
	font-size: 0.625rem;
	font-weight: 500;
	line-height: normal;
	color: rgba(48, 50, 58, 0.6);
}

.contact-sheet .wpcf7-list-item label::before {
	content: "";
	order: 3;
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cg clip-path='url(%23c)'%3E%3Crect x='0.5' y='0.5' width='23' height='23' rx='3.5' stroke='%2330323A'/%3E%3Cpath d='M-24 24L0 0M-18 24L6 0M-12 24L12 0M-6 24L18 0M0 24L24 0M6 24L30 0M12 24L36 0M18 24L42 0' stroke='%2330323A' stroke-opacity='0.8'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Crect width='24' height='24' rx='4' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- 03: further details, a lined text area and the stamp ---------------- */

.contact-sheet .contact-field--notes {
	justify-content: flex-start;
	gap: 0.729rem;
	height: 100%;
	padding-bottom: 1.042rem;
}

.contact-field--notes .wpcf7-form-control-wrap {
	display: flex;
	flex: 1;
	min-height: 0;
}

/* Heebo 22px on 46px lines, the rules running on under the text. The
   pitch is rounded to whole pixels where the browser can, so every rule
   draws alike */
.contact-sheet textarea.wpcf7-form-control {
	--pitch: 2.396rem;
	height: 100%;
	min-height: 9.6rem;
	font-size: 1.146rem;
	line-height: var(--pitch);
	background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--pitch) - 2px), var(--sheet-line) calc(var(--pitch) - 2px), var(--sheet-line) var(--pitch)) local;
	resize: none;
}

@supports (width: round(1.5px, 1px)) {

	.contact-sheet textarea.wpcf7-form-control {
		--pitch: round(2.396rem, 1px);
	}
}

/* The send button: a 210px orange stamp turned 14 degrees, a dashed ring
   inside, "approved" over "send" over the revision */
.contact-stamp {
	position: absolute;
	bottom: 2.24rem;
	inset-inline-end: 2.917rem;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 10.938rem;
	height: 10.938rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-orange);
	color: var(--color-dark);
	cursor: pointer;
	transform: rotate(14deg);
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-stamp:hover {
	transform: rotate(6deg) scale(1.04);
}

.contact-stamp:active {
	transform: rotate(10deg) scale(0.96);
	transition-duration: 0.15s;
}

.contact-stamp:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 0.3rem;
}

.contact-stamp__face {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.contact-stamp__ring {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9.74rem;
	max-width: none;
	height: 9.74rem;
	margin: -4.87rem 0 0 -4.87rem;
}

/* Heebo 16px / 700, spaced 1.6px */
.contact-stamp__sub {
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.083rem;
}

/* Almoni Tzar 80px / 600 on 60px */
.contact-stamp__main {
	margin-top: 0.2rem;
	font-family: var(--font-heading);
	font-size: 4.167rem;
	font-weight: 600;
	line-height: 3.125rem;
}

/* IBM Plex Mono 12px / 500 */
.contact-stamp__rev {
	margin-top: 0.6rem;
	font-family: var(--font-mono);
	font-size: 0.625rem;
	font-weight: 500;
	line-height: normal;
	direction: ltr;
}

/* Sending: the ring turns. Errors: the stamp shakes. Sent: it comes down */
.wpcf7-form.submitting .contact-stamp {
	cursor: progress;
}

.wpcf7-form.submitting .contact-stamp__ring {
	animation: contact-ring-turn 3s linear infinite;
}

.wpcf7-form.invalid .contact-stamp,
.wpcf7-form.failed .contact-stamp {
	animation: contact-stamp-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.wpcf7-form.sent .contact-stamp {
	animation: contact-stamp-down 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes contact-ring-turn {
	to {
		transform: rotate(360deg);
	}
}

@keyframes contact-stamp-shake {
	20%,
	60% {
		transform: rotate(9deg);
	}

	40%,
	80% {
		transform: rotate(19deg);
	}
}

@keyframes contact-stamp-down {
	from {
		transform: rotate(-4deg) scale(1.35);
		opacity: 0.4;
	}
}

/* The answer: a strip across the foot of the sheet, a code before the
   message. Hidden until there is one */
.contact-sheet .wpcf7 form .wpcf7-response-output {
	display: flex;
	align-items: center;
	gap: 0.833rem;
	margin: 0;
	padding: 0.938rem 1.042rem;
	border: 0;
	border-top: 0.078rem solid var(--color-dark);
	background: var(--color-dark);
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-white);
	animation: contact-tip-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-sheet .wpcf7 form .wpcf7-response-output::before {
	content: "STATUS";
	flex: none;
	font-family: var(--font-mono);
	font-size: 0.677rem;
	font-weight: 500;
	color: var(--color-orange);
}

.contact-sheet .wpcf7 form.sent .wpcf7-response-output::before {
	content: "SENT · OK";
}

.contact-sheet .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output {
	background: var(--sheet-error);
}

.contact-sheet .wpcf7 form:is(.invalid, .unaccepted, .payment-required) .wpcf7-response-output::before {
	content: "CHECK";
	color: var(--color-white);
}

.contact-sheet .wpcf7 form:is(.failed, .aborted, .spam) .wpcf7-response-output::before {
	content: "ERROR";
	color: var(--color-white);
}

.contact-sheet .wpcf7 form:is(.init, .submitting, .resetting) .wpcf7-response-output,
.contact-sheet .wpcf7 form .wpcf7-response-output:empty {
	display: none;
}

.contact-sheet .wpcf7-spinner {
	display: none;
}

@media (prefers-reduced-motion: reduce) {

	.contact-stamp,
	.contact-stamp:hover,
	.contact-stamp:active {
		transition: none;
	}

	.wpcf7-form .contact-stamp,
	.wpcf7-form .contact-stamp__ring,
	.contact-sheet .wpcf7-not-valid-tip,
	.contact-sheet .wpcf7 form .wpcf7-response-output {
		animation: none;
	}
}

/* Tablet: the type a little larger for the narrower columns */
@media (max-width: 1024px) {

	.contact-sheet .wpcf7-list-item-label {
		font-size: 1.1rem;
	}

	.contact-sheet .wpcf7-list-item label {
		gap: 0.6rem;
		padding-inline: 0.6rem;
	}

	.contact-sheet input.wpcf7-form-control:not([type="checkbox"]) {
		font-size: 1.1rem;
	}

	.contact-field__label,
	.contact-sheet .wpcf7-not-valid-tip {
		font-size: 0.9rem;
	}
}

/* Phones: the columns stacked, the ruler left off, the stamp under the
   text */
@media (max-width: 766px) {

	.contact-form {
		padding-bottom: 2rem;
	}

	.contact-sheet {
		width: calc(100% - 2 * var(--gutter));
		padding: 0.375rem;
		border-radius: 1.5rem;
	}

	.contact-sheet__ruler {
		display: none;
	}

	.contact-sheet__paper {
		border-radius: 1.125rem;
	}

	.contact-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-col + .contact-col {
		border-inline-start: 0;
		border-top: 0.078rem solid var(--color-dark);
	}

	.contact-col__head {
		height: 3rem;
		padding-inline: 1rem;
	}

	.contact-col__title {
		font-size: 1rem;
	}

	.contact-fields {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: auto;
	}

	.contact-fields .contact-field:nth-child(odd):not(:first-child) {
		border-inline-start: 0;
	}

	.contact-field {
		min-height: 6.5rem;
		padding: 1rem;
	}

	.contact-field__label,
	.contact-sheet .wpcf7-not-valid-tip {
		font-size: 0.875rem;
	}

	.contact-sheet .wpcf7-list-item {
		min-height: 3.25rem;
	}

	.contact-sheet .wpcf7-list-item-label {
		font-size: 1rem;
	}

	.contact-sheet .wpcf7-list-item label {
		gap: 0.75rem;
		padding-inline: 1rem;
	}

	.contact-sheet .contact-field--notes {
		height: auto;
	}

	.contact-sheet textarea.wpcf7-form-control {
		min-height: 11.5rem;
		font-size: 1.125rem;
	}

	.contact-stamp {
		position: relative;
		bottom: auto;
		inset-inline-end: auto;
		width: 10rem;
		height: 10rem;
		margin: 0.5rem auto 1.5rem;
	}

	.contact-stamp__ring {
		width: 8.9rem;
		height: 8.9rem;
		margin: -4.45rem 0 0 -4.45rem;
	}

	.contact-stamp__main {
		font-size: 3.75rem;
		line-height: 2.85rem;
	}

	.contact-sheet .wpcf7 form .wpcf7-response-output {
		padding: 0.875rem 1rem;
		font-size: 0.938rem;
	}
}

/* --------------------------------------------------------------------------
   Offices: the map drawing on #25272E, 1920 x 1300 at most and scaling
   down with the screen. Over it, each office's dot and name answer to the
   pointer: a 76px ring round the dot, the name in orange, and the office's
   photo (240 x 160, a 4px white edge, 14px corners) beside it. Sizes over
   the drawing are in cqw of its width, so they scale with it.
   -------------------------------------------------------------------------- */

.offices {
	background: #25272E;
}

.offices__scroll {
	max-width: 100rem;
	margin-inline: auto;
}

.offices-map {
	position: relative;
	container-type: inline-size;
}

.offices-map__base {
	display: block;
	width: 100%;
	height: auto;
}

.offices-map__spots {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* The heading in the sheet's top corner, 100px in from the drawing's right
   edge; each line placed by --y over the 1920 x 1300 drawing. Sizes in cqw
   of the drawing's width (150px, 24px and 14px at 1920) */
.offices-map__head > * {
	position: absolute;
	top: calc(var(--y) / 1300 * 100%);
	right: 5.208%;
	margin: 0;
	white-space: nowrap;
	text-align: right;
}

.offices-map__subtitle {
	--y: 110.5;
	font-family: var(--font-body);
	font-size: 0.729cqw;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.029cqw;
	color: rgba(255, 255, 255, 0.6);
	white-space: pre;
}

/* Nudged right by the font's side bearing, so the letters meet the edge */
.offices-map__title {
	--y: 101;
	right: 4.896%;
	font-family: var(--font-heading);
	font-kerning: none;
	font-size: 7.813cqw;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-white);
}

.offices-map__text {
	--y: 248;
	font-family: var(--font-body);
	font-size: 1.25cqw;
	font-weight: 500;
	line-height: normal;
	color: rgba(255, 255, 255, 0.7);
}

/* Only the dot and the name block answer to the pointer */
.office__hit {
	pointer-events: all;
	cursor: pointer;
}

.office__halo {
	opacity: 0;
	transform: scale(0.4);
	transform-box: fill-box;
	transform-origin: center;
	transition:
		opacity 0.3s ease,
		transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.office__title {
	transition: fill 0.3s ease;
}

.office:is(:hover, .is-active) .office__halo {
	opacity: 1;
	transform: none;
}

.office:is(:hover, .is-active) .office__title {
	fill: var(--color-orange);
}

/* The photos, placed by --x and --y over the 1920 x 1300 drawing */
.offices-map__photo {
	position: absolute;
	top: calc(var(--y) / 1300 * 100%);
	left: calc(var(--x) / 1920 * 100%);
	z-index: 2;
	width: 12.5%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border: 0.208cqw solid var(--color-white);
	border-radius: 0.729cqw;
	box-shadow: 0 0.833cqw 1.563cqw 0 rgba(0, 0, 0, 0.45);
	opacity: 0;
	transform: translateY(0.625cqw) scale(0.94);
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.3s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear 0.45s;
}

.offices-map__photo.is-active {
	opacity: 1;
	transform: none;
	visibility: visible;
	transition:
		opacity 0.3s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s;
}

@media (prefers-reduced-motion: reduce) {

	.office__halo,
	.office__title,
	.offices-map__photo,
	.offices-map__photo.is-active {
		transition: none;
	}
}

/* Phones: the map at a readable size, scrolled sideways */
@media (max-width: 766px) {

	.offices__scroll {
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
		scrollbar-width: thin;
	}

	.offices-map {
		width: 70rem;
	}
}

/* ==========================================================================
   Careers page
   ========================================================================== */

/* The header sits over the yellow hero; hovered and current links turn white
   (the phone dropdown keeps its own) */
.is-careers-page .site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
}

@media (min-width: 767px) {

	.is-careers-page .site-nav__list a:hover,
	.is-careers-page .site-nav__list .current-menu-item > a {
		color: var(--color-white);
	}
}

.is-careers-page {
	background: var(--color-bg-warm);
}

/* Nothing on the page may push it wider than the screen. "clip", unlike
   "hidden", leaves the sticky and pinned parts working. */
.is-careers-page #main {
	overflow-x: clip;
}

/* Buttons: the dark arrow button with the label in Almoni 21.2px bold
   capitals, 52px tall; the outlined one in Heebo 15px; the card's plain
   dark one */
.arrow-button--display .arrow-button__icon,
.arrow-button--display .arrow-button__label {
	height: 2.708rem;
}

.arrow-button--display .arrow-button__icon {
	width: 3.385rem;
}

.arrow-button--display .arrow-button__label {
	padding: 0 1.719rem;
	font-family: var(--font-heading);
	font-size: 1.105rem;
	font-weight: 700;
	letter-spacing: 0.006rem;
	text-transform: uppercase;
}

.careers-outline-button,
.careers-dark-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.708rem;
	border-radius: 100px;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.35s ease, color 0.35s ease;
}

.careers-outline-button {
	padding: 0 1.406rem;
	border: max(1.5px, 0.078rem) solid var(--color-dark);
	font-family: var(--font-body);
	font-size: 0.781rem;
	font-weight: 700;
	letter-spacing: 0.031rem;
	text-transform: uppercase;
	color: var(--color-dark);
}

.careers-outline-button:hover,
.careers-outline-button:focus-visible {
	color: var(--color-white);
	background: var(--color-dark);
}

.careers-dark-button {
	padding: 0 1.253rem 0 1.141rem;
	font-family: var(--font-heading);
	font-size: 1.105rem;
	font-weight: 700;
	letter-spacing: 0.006rem;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-dark);
}

[dir="rtl"] .careers-dark-button {
	padding: 0 1.141rem 0 1.253rem;
}

.careers-dark-button:hover,
.careers-dark-button:focus-visible {
	background: var(--color-orange);
}

.careers-outline-button:focus-visible,
.careers-dark-button:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

/*
 * Intro: the hero and the culture section share one picture. Each has its
 * own frame for it, so they stack; careers.js (.is-animated) turns the two
 * into one held screen where a travelling copy (.careers-media) grows from
 * the hero's frame to the full screen.
 */
.careers-intro {
	position: relative;
	background: #FEB400;
}

.careers-frame,
.careers-media {
	overflow: hidden;
	background: var(--color-dark);
}

.careers-frame {
	position: relative;
}

.careers-picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* Only used while animated */
.careers-media {
	display: none;
}

/* --------------------------------------------------------------------------
   Hero: 1180 tall at 1920 on #FEB400, the theme's light shapes over its top
   left (1490 x 1180)
   -------------------------------------------------------------------------- */

.careers-hero {
	position: relative;
	min-height: 61.458rem;
	background: url('../img/careers/hero-overlay.png') left top / 77.604rem auto no-repeat;
}

.careers-hero__inner {
	padding-top: 10.2rem;
	padding-bottom: 5rem;
}

/* 125.9px on 128.7px, dark; then 177.5px on 136.6px, white */
.careers-hero__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
}

.careers-hero__line {
	display: block;
	overflow: hidden;
	margin-bottom: -0.1em;
	padding-bottom: 0.1em;
}

.careers-hero__line-inner {
	display: block;
}

.careers-hero__line:first-child {
	font-size: 6.556rem;
	line-height: 1.022;
	color: var(--color-dark);
}

.careers-hero__line--big {
	margin-top: 0.4rem;
	font-size: 9.243rem;
	line-height: 0.77;
	color: var(--color-white);
}

/* The text and buttons on the reading side, the picture on the other */
.careers-hero__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 3rem;
	margin-top: 2.2rem;
}

.careers-hero__body {
	max-width: 37.5rem;
}

/* 30.5px, white */
.careers-hero__text {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.589rem;
	font-weight: 500;
	line-height: 1.47;
	letter-spacing: 0.053rem;
	color: var(--color-white);
}

.careers-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.781rem;
	margin-top: 2.35rem;
}

/* The picture: 640 x 428, 7.9px corners, a soft shadow */
.careers-hero__media {
	position: relative;
	flex: none;
	width: 33.333rem;
	margin-top: 2.55rem;
}

.careers-hero__frame {
	height: 22.292rem;
	border-radius: 0.41rem;
	box-shadow: 0 0.641rem 1.283rem -0.308rem rgba(0, 0, 0, 0.25);
}

/* Badge: 230px, its centre 41px before the picture's edge, a little above
   its middle; the ring turns, the arrow stays */
.careers-badge {
	position: absolute;
	z-index: 2;
	top: 2.552rem;
	left: -8.125rem;
	width: 11.979rem;
	height: 11.979rem;
	border-radius: 50%;
}

[dir="rtl"] .careers-badge {
	right: -8.125rem;
	left: auto;
}

.careers-badge__inner,
.careers-badge__ring,
.careers-badge__arrow {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.careers-badge__ring {
	animation: careers-spin 24s linear infinite;
}

.careers-badge__arrow {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.careers-badge:hover .careers-badge__arrow,
.careers-badge:focus-visible .careers-badge__arrow {
	transform: scale(1.08);
}

.careers-badge:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 4px;
}

@keyframes careers-spin {
	to {
		transform: rotate(360deg);
	}
}

/* --------------------------------------------------------------------------
   Culture: the picture full width (1920 x 1024), and over its foot a
   1104 x 595 card, 28px corners, #F9F6F3 under the theme's light shapes
   -------------------------------------------------------------------------- */

.careers-culture__frame {
	aspect-ratio: 1920 / 1024;
	box-shadow: 0 1rem 3rem rgba(33, 31, 29, 0.12);
}

.careers-culture {
	position: relative;
	z-index: 2;
	padding-bottom: 7rem;
}

.careers-card {
	position: relative;
	width: min(57.5rem, 100% - 2 * var(--gutter, 1rem));
	min-height: 30.99rem;
	margin: -19.375rem auto 0;
	padding: 2.865rem 2.135rem 4.5rem;
	border-radius: 1.458rem;
	background: #F9F6F3 url('../img/careers/box-overlay.svg') center top / 100% auto no-repeat;
}

/* Badge: Heebo 14px bold, white on #30323A, 33px tall */
.careers-card__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 1.718rem;
	margin: 0;
	padding: 0.247rem 0.833rem 0.377rem;
	border-radius: 100px;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-white);
	background: var(--color-dark);
}

/* 96px on 80px, 600, #1E1E1E */
.careers-card__title {
	margin: 1.1rem 0 0;
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 0.833;
	letter-spacing: -0.078rem;
	color: #1E1E1E;
}

/* Heebo 18px on 165%, #30323A at 80% */
.careers-card__text {
	max-width: 48.5rem;
	margin-top: 2.1rem;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 400;
	line-height: 1.65;
	color: rgba(48, 50, 58, 0.8);
}

.careers-card__text p {
	margin: 0;
}

.careers-card__text p + p {
	margin-top: 1em;
}

.careers-card__button {
	margin-top: 2.15rem;
}

/* Entrance (main.js, [data-reveal]) when it starts below the screen */
.careers-card.is-waiting {
	opacity: 0;
	transform: translateY(3rem);
}

.careers-card.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* --------------------------------------------------------------------------
   Floating "Apply now", in the screen's corner
   -------------------------------------------------------------------------- */

.careers-float {
	position: fixed;
	z-index: 90;
	right: 3.594rem;
	bottom: 2.135rem;
	animation: careers-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
	transition: opacity 0.3s ease, translate 0.3s ease, visibility 0.3s;
}

[dir="rtl"] .careers-float {
	right: auto;
	left: 3.594rem;
}

/* Away while the resume form is on screen (careers.js) */
.careers-float.is-away {
	opacity: 0;
	visibility: hidden;
	translate: 0 1rem;
}

@media (prefers-reduced-motion: reduce) {

	.careers-float {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Animated (careers.js): one held screen. The frames stay as the start and
   end places, unseen; the travelling picture goes between them.
   -------------------------------------------------------------------------- */

.careers-intro.is-animated {
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}

.is-animated .careers-hero {
	position: absolute;
	inset: 0;
	min-height: 0;
}

.is-animated .careers-culture__frame {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.is-animated .careers-frame {
	visibility: hidden;
}

.is-animated .careers-media {
	position: absolute;
	z-index: 1;
	display: block;
	box-shadow: 0 0.641rem 1.283rem -0.308rem rgba(0, 0, 0, calc(0.25 * var(--careers-shadow, 1)));
}

/* Page load: the title's lines rise, the text and buttons follow, the badge
   turns in (CSS only, so it doesn't wait for the scripts). On parts inside
   the ones careers.js moves, so the two never fight over a style */
.is-careers-page .careers-hero__line-inner {
	animation: services-line-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.is-careers-page .careers-hero__line--big .careers-hero__line-inner {
	animation-delay: 0.28s;
}

.is-careers-page .careers-hero__text {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.is-careers-page .careers-hero__actions {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.is-careers-page .careers-badge__inner {
	animation: careers-badge-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

@keyframes careers-rise {
	from {
		opacity: 0;
		transform: translateY(2rem);
	}
}

@keyframes careers-badge-in {
	from {
		opacity: 0;
		transform: scale(0.6) rotate(-90deg);
	}
}

@media (prefers-reduced-motion: reduce) {

	.careers-badge__ring,
	.is-careers-page .careers-hero__line-inner,
	.is-careers-page .careers-hero__text,
	.is-careers-page .careers-hero__actions,
	.is-careers-page .careers-badge__inner,
	.careers-card.is-in,
	.careers-float {
		animation: none;
	}

	.careers-card.is-waiting {
		opacity: 1;
		transform: none;
	}
}

/* Tablets: the picture and badge a little smaller */
@media (max-width: 1024px) {

	.careers-hero__row {
		gap: 2rem;
	}

	.careers-hero__media {
		width: 30rem;
	}

	.careers-hero__frame {
		height: 20rem;
	}

	.careers-badge {
		left: -5rem;
		width: 9rem;
		height: 9rem;
	}

	[dir="rtl"] .careers-badge {
		right: -5rem;
		left: auto;
	}
}

/* Phones: no picture in the hero, only the full width one under it, with
   the badge over its top corner; the card over its foot */
@media (max-width: 766px) {

	.careers-hero {
		min-height: 0;
		background-size: 120% auto;
	}

	.careers-hero__inner {
		padding-top: 7rem;
		padding-bottom: 3rem;
	}

	.careers-hero__line:first-child {
		font-size: 2.75rem;
	}

	.careers-hero__line--big {
		margin-top: 0.25rem;
		font-size: 3.75rem;
		line-height: 0.85;
	}

	.careers-hero__row {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-top: 1.5rem;
	}

	.careers-hero__text {
		font-size: 1.25rem;
		line-height: 1.4;
		letter-spacing: 0.03rem;
	}

	.careers-hero__actions {
		gap: 0.625rem;
		margin-top: 1.5rem;
	}

	.careers-hero__media {
		width: 100%;
		height: 0;
		margin-top: 0;
	}

	.careers-hero__frame {
		display: none;
	}

	.careers-badge {
		top: 0.5rem;
		right: 1rem;
		left: auto;
		width: 7rem;
		height: 7rem;
	}

	[dir="rtl"] .careers-badge {
		right: auto;
		left: 1rem;
	}

	.careers-culture__frame {
		aspect-ratio: 1;
	}

	.careers-culture {
		padding-bottom: 4rem;
	}

	.careers-card {
		min-height: 0;
		margin-top: -6rem;
		padding: 1.75rem 1.25rem 2.25rem;
		border-radius: 1.25rem;
	}

	.careers-card__title {
		margin-top: 1rem;
		font-size: 2.75rem;
		line-height: 0.92;
		letter-spacing: -0.03rem;
	}

	.careers-card__text {
		margin-top: 1.25rem;
		font-size: 1rem;
		line-height: 1.6;
	}

	.careers-card__button {
		margin-top: 1.5rem;
	}

	.careers-float {
		right: 1rem;
		bottom: 1rem;
	}

	[dir="rtl"] .careers-float {
		right: auto;
		left: 1rem;
	}
}

/* --------------------------------------------------------------------------
   Values: the home page's areas slider (home/areas.php, areas-slider.js,
   held while the scroll moves the cards), with the title and a text beside
   it, smaller card titles in normal case and Manrope numbers
   -------------------------------------------------------------------------- */

/* English: the square stays on the left and the number on the right, as in
   the Hebrew cards */
[dir="ltr"] .area-card__top {
	flex-direction: row-reverse;
}

/* English: the arrows keep their colours by place (dark on the left,
   yellow on the right), as in the Hebrew layout */
[dir="ltr"] .slider-nav__button--prev {
	background: var(--color-dark);
}

[dir="ltr"] .slider-nav__button--next {
	background: var(--color-amber-bright);
}

.careers-values {
	padding: 0 0 5rem;
}

/* The title on the reading side, the text on the other, their feet level */
.careers-values .home-areas__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 3rem;
	margin-bottom: 4.167rem;
}

/* 96px on 92%, 600, ink gradient */
.careers-values .home-areas__title {
	margin: 0;
	font-size: 5rem;
	line-height: 0.92;
	text-transform: none;
}

/* Heebo 18px on 28px, #30323A at 80% */
.home-areas__text {
	flex: none;
	width: 27.1rem;
	max-width: 100%;
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 400;
	line-height: 1.556;
	color: rgba(48, 50, 58, 0.8);
}

/* Card title: 44px on 100%, 600, ink gradient, normal case */
.careers-values .area-card__title {
	font-size: 2.292rem;
	line-height: 1;
	text-transform: none;
}

.careers-values .area-card__description p {
	font-weight: 300;
}

/* Number: Manrope 32px on 40px, 600 */
.careers-values .area-card__number {
	font-family: var(--font-numbers);
	font-size: 1.667rem;
	font-weight: 600;
	line-height: 1.25;
}

/* The arrows at the starting side under the row */
.careers-values .slider-nav {
	justify-content: flex-start;
}

@media (max-width: 766px) {

	.careers-values {
		padding: 0 0 3rem;
	}

	.careers-values .home-areas__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
		margin-bottom: 2rem;
	}

	.careers-values .home-areas__title {
		font-size: 2.75rem;
	}

	.home-areas__text {
		width: auto;
		font-size: 1rem;
	}

	.careers-values .area-card__title {
		font-size: 1.875rem;
	}

	.careers-values .area-card__number {
		font-size: 1.5rem;
	}
}

/* --------------------------------------------------------------------------
   Gallery: pictures 560px tall at their own width, 32px corners, 24px
   apart, the row running on to the edge of the screen; dots under it on the
   reading side, round 56px arrows on the other
   -------------------------------------------------------------------------- */

.careers-gallery {
	overflow: hidden;
	padding: 0 0 5rem;
}

/* The row starts at the container's edge and runs past the other one to the
   edge of the screen; the pictures scrolled past stay hidden beyond the
   starting edge (as on the home page's areas slider) */
.careers-gallery .careers-gallery__slider .owl-stage-outer {
	overflow: visible;
	clip-path: inset(-1rem -100vw -1rem 0);
}

.careers-gallery .careers-gallery__slider.owl-rtl .owl-stage-outer {
	clip-path: inset(-1rem 0 -1rem -100vw);
}

/* Without JavaScript Owl never shows the row, so it scrolls natively */
.no-js .careers-gallery__slider.owl-carousel {
	display: flex;
	overflow-x: auto;
}

.careers-gallery__slide {
	padding-inline-end: 1.25rem;
}

.careers-gallery__image {
	display: block;
	width: auto;
	max-width: none;
	height: 29.167rem;
	border-radius: 1.667rem;
	object-fit: cover;
	background: var(--color-card);
	user-select: none;
	-webkit-user-drag: none;
}

/* Owl sets its pictures to width: 100%; here they keep their own */
.careers-gallery .owl-carousel .owl-item img.careers-gallery__image {
	width: auto;
}

.careers-gallery__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 1.458rem;
}

/* Hidden until careers-gallery.js runs the row */
.careers-gallery:not(.is-ready) .careers-gallery__controls {
	display: none;
}

/* Dots: 8px, #30323A at 25%; the active one 40px long, #FFB439 */
.careers-gallery__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.417rem;
}

.careers-gallery__dots[hidden] {
	display: none;
}

.careers-gallery__dot {
	width: 0.417rem;
	height: 0.417rem;
	padding: 0;
	border: 0;
	border-radius: 0.208rem;
	background: rgba(48, 50, 58, 0.25);
	cursor: pointer;
	transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.careers-gallery__dot.is-active {
	width: 2.083rem;
	background: #FFB439;
	cursor: default;
}

.careers-gallery__dot:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

/* Arrows: round, 56px; back outlined, on in #FFB439. The icon (8 x 14)
   sits in a 24px box. */
.careers-gallery__nav {
	display: flex;
	gap: 0.625rem;
}

.careers-gallery__arrow {
	display: grid;
	place-items: center;
	width: 2.917rem;
	height: 2.917rem;
	padding: 0;
	border: 1px solid rgba(48, 50, 58, 0.2);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}

.careers-gallery__arrow--next {
	border-color: #FFB439;
	background: #FFB439;
}

.careers-gallery__icon {
	display: grid;
	place-items: center;
	width: 1.25rem;
	height: 1.25rem;
}

.careers-gallery__icon img {
	display: block;
	width: 0.417rem;
	height: 0.729rem;
}

/* The arrow is drawn pointing left: "on" turns it round, and in Hebrew
   both turn */
.careers-gallery__arrow--next .careers-gallery__icon,
[dir="rtl"] .careers-gallery__arrow--prev .careers-gallery__icon {
	transform: scaleX(-1);
}

[dir="rtl"] .careers-gallery__arrow--next .careers-gallery__icon {
	transform: none;
}

.careers-gallery__arrow:hover:not(:disabled) {
	border-color: var(--color-dark);
	transform: translateY(-0.104rem);
}

.careers-gallery__arrow--prev:hover:not(:disabled) {
	background: rgba(48, 50, 58, 0.06);
}

.careers-gallery__arrow:focus-visible {
	outline: 2px solid var(--color-dark);
	outline-offset: 3px;
}

.careers-gallery__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

@media (prefers-reduced-motion: reduce) {

	.careers-gallery__dot {
		transition: none;
	}
}

@media (max-width: 766px) {

	.careers-gallery {
		padding-bottom: 3rem;
	}

	.careers-gallery__slide {
		padding-inline-end: 0.75rem;
	}

	.careers-gallery__image {
		height: 16rem;
		border-radius: 1rem;
	}

	.careers-gallery__controls {
		margin-top: 1.25rem;
	}

	.careers-gallery__dot {
		width: 0.5rem;
		height: 0.5rem;
		border-radius: 0.25rem;
	}

	.careers-gallery__dot.is-active {
		width: 2.5rem;
	}

	.careers-gallery__arrow {
		width: 3rem;
		height: 3rem;
	}

	.careers-gallery__icon img {
		width: 0.5rem;
		height: 0.875rem;
	}
}

/* --------------------------------------------------------------------------
   Locations: on #30323A, a 280px title over two lines (the second set to the
   far side), a 380 x 170 pill picture beside the first and the rotating
   location badge under it; then the 1020 x 700 studio picture with the
   offices as tabs over its foot, and the 520 x 675 picture set higher
   beside it with its label and text
   -------------------------------------------------------------------------- */

.careers-locations {
	overflow: hidden;
	padding: 7.6rem 0 6.25rem;
	color: var(--color-white);
	background: var(--color-dark);
}

.careers-locations__head {
	position: relative;
}

/* 280px on 88%, 600, -4.2px tracking */
.careers-locations__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 14.583rem;
	font-weight: 600;
	line-height: 0.88;
	letter-spacing: -0.219rem;
	color: var(--color-white);
}

/* Each line clips its words as they rise in (careers.js); the extra room
   below keeps the descenders (g, j, p) whole */
.careers-locations__line {
	display: block;
	overflow: hidden;
	margin-bottom: -0.14em;
	padding-bottom: 0.14em;
}

.careers-locations__line--end {
	margin-top: -0.02em;
	text-align: end;
}

.careers-locations__line-inner {
	display: inline-block;
}

/* "Bigger": outlined in white, 2.5px */
.careers-locations__outline {
	color: transparent;
	-webkit-text-stroke: max(1px, 0.13rem) var(--color-white);
}

/* "people.": #FEB400 */
.careers-locations__accent {
	color: #FEB400;
}

/* The floating "Apply now" over this dark section: yellow, so it still shows */
.careers-float.is-on-dark .arrow-button--dark .arrow-button__icon,
.careers-float.is-on-dark .arrow-button--dark .arrow-button__label {
	background: var(--color-orange);
}

.careers-float.is-on-dark .arrow-button--dark:hover .arrow-button__icon,
.careers-float.is-on-dark .arrow-button--dark:hover .arrow-button__label,
.careers-float.is-on-dark .arrow-button--dark:focus-visible .arrow-button__icon,
.careers-float.is-on-dark .arrow-button--dark:focus-visible .arrow-button__label {
	background: var(--color-dark);
}

.careers-float .arrow-button__icon,
.careers-float .arrow-button__label {
	transition: background-color 0.35s ease, color 0.35s ease;
}

/* Pill: 380 x 170, fully round, beside the first line at the far side */
.careers-locations__pill {
	position: absolute;
	top: 1.15rem;
	right: 0.208rem;
	overflow: hidden;
	width: 19.792rem;
	height: 8.854rem;
	border-radius: 999px;
	background: var(--color-dark-soft);
}

[dir="rtl"] .careers-locations__pill {
	right: auto;
	left: 0.208rem;
}

/* Badge: 230px, under the first line on the reading side; the ring turns */
.careers-locations__badge {
	position: absolute;
	top: 14.2rem;
	left: 0;
	width: 11.979rem;
	height: 11.979rem;
}

[dir="rtl"] .careers-locations__badge {
	right: 0;
	left: auto;
}

.careers-locations__badge-inner,
.careers-locations__ring,
.careers-locations__badge-middle {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.careers-locations__ring {
	animation: careers-spin 24s linear infinite;
}

/* The pictures */
.careers-locations__frame {
	position: relative;
	overflow: hidden;
	border-radius: 1.667rem;
	background: var(--color-dark-soft);
}

.careers-locations__picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* The studio and the side picture: 1020 and 520 wide, 60px apart; the side
   one starts 114px higher */
.careers-locations__body {
	display: grid;
	grid-template-columns: 53.125rem 27.083rem;
	align-items: start;
	justify-content: space-between;
	margin-top: 1.9rem;
}

.careers-locations__studio {
	margin: 5.937rem 0 0;
}

.careers-locations__frame--studio {
	height: 36.458rem;
}

.careers-locations__frame--side {
	height: 35.156rem;
}

/* One office's picture at a time, the next fading in over it */
.careers-locations__office {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

.careers-locations__office.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.7s ease, visibility 0s;
}

.careers-locations__office .careers-locations__picture {
	transform: scale(1.06);
	transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-locations__office.is-active .careers-locations__picture {
	transform: none;
}

/* Tabs: a dark bar 28px in from the picture's foot and reading side; the
   open office on #FEB400 (a pill that slides between them, careers.js) */
.careers-locations__tabs {
	position: absolute;
	z-index: 1;
	bottom: 1.458rem;
	left: 1.458rem;
	display: flex;
	gap: 0.208rem;
	max-width: calc(100% - 2.916rem);
	padding: 0.3125rem;
	overflow-x: auto;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 100px;
	background: #2B2B2B;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	scrollbar-width: none;
}

[dir="rtl"] .careers-locations__tabs {
	right: 1.458rem;
	left: auto;
}

.careers-locations__tabs::-webkit-scrollbar {
	display: none;
}

.careers-locations__tabs.has-indicator::before {
	content: '';
	position: absolute;
	top: 0.3125rem;
	bottom: 0.3125rem;
	left: 0;
	width: var(--tab-w, 0);
	border-radius: 100px;
	background: #FEB400;
	transform: translateX(var(--tab-x, 0));
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Heebo 15px 500, white at 85%; open: #30323A */
.careers-locations__tab {
	position: relative;
	flex: none;
	padding: 0.625rem 1.146rem;
	border: 0;
	border-radius: 100px;
	font-family: var(--font-body);
	font-size: 0.781rem;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.85);
	background: transparent;
	cursor: pointer;
	transition: color 0.35s ease, background-color 0.35s ease;
}

.careers-locations__tab:hover {
	color: var(--color-white);
}

.careers-locations__tab.is-active {
	color: var(--color-dark);
	background: #FEB400;
	cursor: default;
}

.has-indicator .careers-locations__tab.is-active {
	background: transparent;
}

.careers-locations__tab:focus-visible {
	outline: 2px solid #FEB400;
	outline-offset: 2px;
}

/* Labels: Heebo 13px 500 capitals, white at 55% */
.careers-locations__label {
	display: block;
	margin: 1.25rem 0 0;
	font-family: var(--font-body);
	font-size: 0.677rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.054rem;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.careers-locations__label--side,
.careers-locations__text {
	padding-inline-start: 0.521rem;
}

/* Heebo 20px on 160%, white at 75% */
.careers-locations__text {
	margin: 1.15rem 0 0;
	font-family: var(--font-body);
	font-size: 1.042rem;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.75);
}

@media (prefers-reduced-motion: reduce) {

	.careers-locations__ring {
		animation: none;
	}

	.careers-locations__office,
	.careers-locations__office.is-active,
	.careers-locations__office .careers-locations__picture,
	.careers-locations__tabs.has-indicator::before {
		transition: none;
	}
}

/* Tablets: the two pictures a little narrower */
@media (max-width: 1024px) {

	.careers-locations__body {
		grid-template-columns: minmax(0, 1fr) 24rem;
		gap: 2rem;
	}

	.careers-locations__frame--side {
		height: 31rem;
	}
}

/* Phones: the title smaller, the badge and pill side by side under it, the
   pictures one under the other */
@media (max-width: 766px) {

	.careers-locations {
		padding: 4rem 0 3.5rem;
	}

	.careers-locations__head {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		row-gap: 1.5rem;
	}

	.careers-locations__title {
		grid-column: 1 / -1;
		font-size: 4.1rem;
		letter-spacing: -0.06rem;
	}

	.careers-locations__outline {
		-webkit-text-stroke-width: 1.25px;
	}

	.careers-locations__pill,
	[dir="rtl"] .careers-locations__pill {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		justify-self: end;
		width: 11rem;
		height: 4.9rem;
	}

	.careers-locations__badge,
	[dir="rtl"] .careers-locations__badge {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		grid-row: 2;
		width: 6.5rem;
		height: 6.5rem;
	}

	.careers-locations__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
		margin-top: 2rem;
	}

	.careers-locations__studio {
		margin-top: 0;
	}

	.careers-locations__frame,
	.careers-locations__frame--studio,
	.careers-locations__frame--side {
		height: auto;
		border-radius: 1rem;
	}

	.careers-locations__frame--studio {
		aspect-ratio: 1020 / 700;
	}

	.careers-locations__frame--side {
		aspect-ratio: 520 / 675;
	}

	.careers-locations__tabs {
		bottom: 0.75rem;
		left: 0.75rem;
		max-width: calc(100% - 1.5rem);
		padding: 0.25rem;
	}

	[dir="rtl"] .careers-locations__tabs {
		right: 0.75rem;
		left: auto;
	}

	.careers-locations__tabs.has-indicator::before {
		top: 0.25rem;
		bottom: 0.25rem;
	}

	.careers-locations__tab {
		padding: 0.5rem 0.875rem;
		font-size: 0.875rem;
	}

	.careers-locations__label {
		font-size: 0.75rem;
	}

	.careers-locations__text {
		font-size: 1.0625rem;
	}
}

/* --------------------------------------------------------------------------
   Statement: one 160px line centred on a full width picture (1920 x 745),
   under a white wash growing from 55% at the top to 95% at the foot
   -------------------------------------------------------------------------- */

.careers-insight {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: 38.792rem;
	padding: 6rem 0;
	background: lightgray;
}

.careers-insight::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0.95) 100%);
	pointer-events: none;
}

/* Drawn taller than the section, so it can drift (careers.js) */
.careers-insight__media {
	position: absolute;
	inset: -12% 0;
}

.careers-insight__image {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.careers-insight__inner {
	position: relative;
	z-index: 1;
}

/* 160px on 90%, bold capitals: #30323A, then #FFAA29 */
.careers-insight__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 8.333rem;
	font-weight: 700;
	line-height: 0.9;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-dark);
}

.careers-insight__part {
	display: inline-block;
}

.careers-insight__part--accent {
	color: var(--color-orange);
}

@media (max-width: 766px) {

	.careers-insight {
		min-height: 22rem;
		padding: 4rem 0;
	}

	.careers-insight__title {
		font-size: 3.5rem;
	}
}

/* --------------------------------------------------------------------------
   Game: a centred 96px title, then "Pop the bubbles" (its own page, framed)
   at 1720 x 700, centred, on #FAFAFA; 968 x 860 on phones
   -------------------------------------------------------------------------- */

.careers-game {
	padding: 3.2rem 0 3.75rem;
	background: #FAFAFA;
}

/* 96px on 92%, 600, ink gradient */
.careers-game__title {
	width: fit-content;
	margin: 0 auto;
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 0.92;
	text-align: center;
	background: var(--gradient-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.careers-game__frame {
	width: min(89.583rem, 100% - 2 * var(--gutter, 1rem));
	margin: 4.05rem auto 0;
}

.careers-game__game {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1720 / 700;
	border: 0;
	border-radius: 1.25rem;
	background: #F3F1EE;
}

/* Entrance (main.js, [data-reveal]) when it starts below the screen */
.careers-game__title.is-waiting,
.careers-game__frame.is-waiting {
	opacity: 0;
}

.careers-game__title.is-in,
.careers-game__frame.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.careers-game__frame.is-in {
	animation-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {

	.careers-game__title.is-waiting,
	.careers-game__frame.is-waiting {
		opacity: 1;
	}

	.careers-game__title.is-in,
	.careers-game__frame.is-in {
		animation: none;
	}
}

@media (max-width: 766px) {

	.careers-game {
		padding: 3rem 0;
	}

	.careers-game__title {
		font-size: 2.75rem;
	}

	.careers-game__frame {
		margin-top: 1.75rem;
	}

	/* The game's compact layout */
	.careers-game__game {
		aspect-ratio: 968 / 860;
		border-radius: 1rem;
	}
}

/* --------------------------------------------------------------------------
   Why Rembox: on #30323A, a 96px title in two lines (#FFB439, then white)
   with the line icon (320 x 288) beside it, changing shape as it scrolls
   through (careers.js); two columns under them, each a 48px #FFB439 title
   and a text
   -------------------------------------------------------------------------- */

.careers-why {
	padding: 9.2rem 0 6.25rem;
	color: var(--color-white);
	background: var(--color-dark);
}

.careers-why__head {
	position: relative;
}

/* 96px on 104%, 600 */
.careers-why__title {
	max-width: 62rem;
	margin: 0;
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 1.04;
	color: #FFB439;
}

.careers-why__title-line {
	display: block;
}

.careers-why__title-line--light {
	color: var(--color-white);
}

/* The icon over the far corner, reaching a little past the container */
.careers-why__icon {
	position: absolute;
	top: -0.6rem;
	right: -1.8rem;
	display: block;
	width: 16.667rem;
	height: auto;
	overflow: visible;
}

[dir="rtl"] .careers-why__icon {
	right: auto;
	left: -1.8rem;
	transform: scaleX(-1);
}

.careers-why__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3rem 4.167rem;
	margin-top: 4.6rem;
}

/* 48px, 600, #FFB439 */
.careers-why__subtitle {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 600;
	line-height: normal;
	color: #FFB439;
}

/* Heebo 18px on 165%, white at 80% */
.careers-why__text {
	margin-top: 1.25rem;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.8);
}

.careers-why__text p {
	margin: 0;
}

.careers-why__text p + p {
	margin-top: 1em;
}

/* Entrance (main.js, [data-reveal]) when it starts below the screen */
.careers-why__title.is-waiting,
.careers-why__column.is-waiting {
	opacity: 0;
}

.careers-why__title.is-in,
.careers-why__column.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.careers-why__column.is-in + .careers-why__column.is-in {
	animation-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {

	.careers-why__title.is-waiting,
	.careers-why__column.is-waiting {
		opacity: 1;
	}

	.careers-why__title.is-in,
	.careers-why__column.is-in {
		animation: none;
	}
}

@media (max-width: 1024px) {

	.careers-why__title {
		max-width: 46rem;
	}

	/* The container's side space is narrower here: keep the badge on screen */
	.careers-why {
		overflow-x: clip;
	}

	.careers-why__icon {
		right: 0;
		width: 13rem;
	}

	[dir="rtl"] .careers-why__icon {
		right: auto;
		left: 0;
	}
}

/* Phones: the icon above the title, the columns one under the other */
@media (max-width: 766px) {

	.careers-why {
		padding: 3.5rem 0 4rem;
	}

	.careers-why__head {
		display: flex;
		flex-direction: column-reverse;
		gap: 1.5rem;
	}

	.careers-why__icon,
	[dir="rtl"] .careers-why__icon {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		width: 9.5rem;
		align-self: flex-end;
	}

	.careers-why__title {
		font-size: 2.75rem;
	}

	.careers-why__columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.25rem;
		margin-top: 2.5rem;
	}

	.careers-why__subtitle {
		font-size: 2rem;
	}

	.careers-why__text {
		margin-top: 0.75rem;
		font-size: 1rem;
	}
}

/* --------------------------------------------------------------------------
   Why Rembox list: numbered lines (IBM Plex Mono 16px #FEB400, Almoni 72px
   white, Heebo 17px at 60%) split by 15% white lines. On hover a line turns
   #FEB400 with 24px corners, the text goes #30323A, the title moves in and
   the line's picture (220 x 150, 20px corners) shows, tilted, at its own spot
   -------------------------------------------------------------------------- */

.careers-why__list {
	margin: 6.25rem 0 0;
	padding: 0;
	list-style: none;
}

.careers-why__item {
	/* Where the picture sits and how it tilts, per line (below) */
	--x: 51%;
	--y: 0rem;
	--r: -5deg;
	position: relative;
	display: grid;
	grid-template-columns: 7.448rem minmax(0, 1fr) 21.354rem;
	align-items: center;
	column-gap: 1.5rem;
	min-height: 7.813rem;
	padding: 1.6rem 6.354rem 1.6rem 2.031rem;
}

[dir="rtl"] .careers-why__item {
	padding: 1.6rem 2.031rem 1.6rem 6.354rem;
}

.careers-why__item:nth-child(7n + 1) { --x: 51%;   --y: 0rem;     --r: 6deg; }
.careers-why__item:nth-child(7n + 2) { --x: 53.6%; --y: 0.15rem;  --r: -5deg; }
.careers-why__item:nth-child(7n + 3) { --x: 49.8%; --y: 0rem;     --r: 4deg; }
.careers-why__item:nth-child(7n + 4) { --x: 52.9%; --y: 0.25rem;  --r: -5deg; }
.careers-why__item:nth-child(7n + 5) { --x: 53.7%; --y: 0.1rem;   --r: 5deg; }
.careers-why__item:nth-child(7n + 6) { --x: 52.2%; --y: 0.2rem;   --r: -6deg; }
.careers-why__item:nth-child(7n + 7) { --x: 50%;   --y: 0.25rem;  --r: 5deg; }

/* The yellow line behind, and the 15% white line under it */
.careers-why__item::before,
.careers-why__item::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.careers-why__item::before {
	inset: 0;
	z-index: -1;
	border-radius: 1.25rem;
	background: #FEB400;
	opacity: 0;
	transform: scale(0.985, 0.9);
	transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-why__item::after {
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.15);
}

.careers-why__list,
.careers-why__item {
	isolation: isolate;
}

/* IBM Plex Mono 16px, 500 */
.careers-why__num {
	font-family: var(--font-mono);
	font-size: 0.833rem;
	font-weight: 500;
	line-height: normal;
	color: #FEB400;
	transition: color 0.3s ease;
}

/* Almoni 72px on 100%, 600 */
.careers-why__item-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 3.75rem;
	font-weight: 600;
	line-height: 1;
	color: var(--color-white);
	transition: color 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Heebo 17px on 150%, white at 60% */
.careers-why__item-text {
	grid-column: 3;
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.885rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.3s ease;
}

/* The picture, over the start of the description */
.careers-why__photo {
	position: absolute;
	top: 50%;
	left: var(--x);
	z-index: 2;
	width: 11.458rem;
	height: 7.813rem;
	overflow: hidden;
	border-radius: 1.042rem;
	background: lightgray;
	box-shadow: 0 1.042rem 2.083rem 0 rgba(0, 0, 0, 0.35);
	opacity: 0;
	pointer-events: none;
	transform: translateY(calc(-50% + var(--y) + 1.5rem)) rotate(calc(var(--r) * -1)) scale(0.85);
	transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .careers-why__photo {
	right: var(--x);
	left: auto;
}

.careers-why__photo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Hover: desktops only (a mouse, and wider than a tablet) */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {

	.careers-why__item:hover {
		z-index: 1;
	}

	.careers-why__item:hover::before {
		opacity: 1;
		transform: none;
	}

	.careers-why__item:hover .careers-why__num,
	.careers-why__item:hover .careers-why__item-title {
		color: #30323A;
	}

	.careers-why__item:hover .careers-why__item-title {
		transform: translateX(0.833rem);
	}

	[dir="rtl"] .careers-why__item:hover .careers-why__item-title {
		transform: translateX(-0.833rem);
	}

	.careers-why__item:hover .careers-why__item-text {
		color: rgba(48, 50, 58, 0.8);
	}

	.careers-why__item:hover .careers-why__photo {
		opacity: 1;
		transform: translateY(calc(-50% + var(--y))) rotate(var(--r));
	}
}

/* Entrance (main.js, [data-reveal]): the lines rise in one after another */
.careers-why__list.is-waiting .careers-why__item {
	opacity: 0;
}

.careers-why__list.is-in .careers-why__item {
	animation: careers-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: calc(var(--i, 0) * 0.07s);
}

@media (prefers-reduced-motion: reduce) {

	.careers-why__list.is-waiting .careers-why__item {
		opacity: 1;
	}

	.careers-why__list.is-in .careers-why__item {
		animation: none;
	}

	.careers-why__item::before,
	.careers-why__item-title,
	.careers-why__photo {
		transition: opacity 0.2s ease, color 0.2s ease;
	}
}

@media (max-width: 1024px) {

	.careers-why__list {
		margin-top: 4.5rem;
	}

	.careers-why__item,
	[dir="rtl"] .careers-why__item {
		grid-template-columns: 3.5rem minmax(0, 1fr) 17rem;
		padding-inline: 1.25rem;
	}

	.careers-why__item-title {
		font-size: 3rem;
	}

	.careers-why__photo {
		width: 9.5rem;
		height: 6.5rem;
	}
}

/* Phones: number, title and description one under the other; no pictures */
@media (max-width: 766px) {

	.careers-why__list {
		margin-top: 3rem;
	}

	.careers-why__item,
	[dir="rtl"] .careers-why__item {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0.6rem;
		min-height: 0;
		padding: 1.5rem 0;
	}

	.careers-why__item-text {
		grid-column: auto;
		font-size: 1rem;
	}

	.careers-why__item-title {
		font-size: 2.5rem;
	}

	.careers-why__photo {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Why Rembox call to action: a #FEB400 box (1600 x 434, 32px corners,
   padding 72 72 64) with the title (128px on 80%, #30323A then white) and
   the text at the bottom of one side, the buttons at the bottom of the other,
   over the picture that fills that half and fades into the yellow
   -------------------------------------------------------------------------- */

.careers-cta {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2.5rem;
	min-height: 22.604rem;
	margin-top: 6.25rem;
	padding: 3.75rem 3.75rem 3.333rem;
	overflow: hidden;
	border-radius: 1.667rem;
	background: #FEB400;
	isolation: isolate;
}

/* The picture, half the box, with the yellow running into it */
.careers-cta__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 50%;
	overflow: hidden;
}

[dir="rtl"] .careers-cta__media {
	right: auto;
	left: 0;
}

.careers-cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #FEB400 0%, rgba(254, 180, 0, 0.4) 40%, rgba(254, 180, 0, 0) 100%);
}

[dir="rtl"] .careers-cta__media::after {
	background: linear-gradient(-90deg, #FEB400 0%, rgba(254, 180, 0, 0.4) 40%, rgba(254, 180, 0, 0) 100%);
}

.careers-cta__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.careers-cta__body {
	flex: 0 1 50rem;
	min-width: 0;
}

/* Almoni 128px on 80%, 600 */
.careers-cta__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 6.667rem;
	font-weight: 600;
	line-height: 0.8;
	color: #30323A;
}

.careers-cta__title-line {
	display: block;
}

.careers-cta__title-line--light {
	color: var(--color-white);
}

/* Heebo 18px on 155%, #30323A at 80% */
.careers-cta__text {
	max-width: 30rem;
	margin: 1.5rem 0 0;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(48, 50, 58, 0.8);
}

.careers-cta__actions {
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 0;
	gap: 0.833rem;
}

/* Heebo 16px bold capitals, 0.64px tracking: a pill (8 8 8 32) ending in
   the 48px yellow arrow circle */
.careers-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0.417rem 0.417rem 0.417rem 1.667rem;
	border-radius: 5.208rem;
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.033rem;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

[dir="rtl"] .careers-cta__button {
	padding: 0.417rem 1.667rem 0.417rem 0.417rem;
}

/* The light one: the label alone, as tall as the dark one */
.careers-cta__button--light,
[dir="rtl"] .careers-cta__button--light {
	justify-content: center;
	min-height: 3.333rem;
	padding: 0.417rem 1.667rem;
	color: #30323A;
	background: #FAF7F4;
}

/* The dark one's arrow points up and away (-45deg) */
.careers-cta__button--dark .careers-cta__arrow {
	transform: rotate(-45deg);
}

[dir="rtl"] .careers-cta__button--dark .careers-cta__arrow {
	transform: rotate(45deg);
}

.careers-cta__button--dark {
	color: var(--color-white);
	background: #30323A;
}

.careers-cta__arrow {
	position: relative;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	overflow: hidden;
	border-radius: 5.208rem;
	color: #30323A;
	background: #FEB400;
}

.careers-cta__arrow svg {
	width: 1.042rem;
	height: 1.042rem;
	transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

/* On hover the arrow flies out and a second one comes in behind it */
.careers-cta__arrow svg + svg {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -0.521rem 0 0 -0.521rem;
	transform: translateX(-2.2rem);
}

[dir="rtl"] .careers-cta__arrow svg {
	scale: -1 1;
}

[dir="rtl"] .careers-cta__arrow svg + svg {
	transform: translateX(2.2rem);
}

.careers-cta__button:hover .careers-cta__arrow svg:first-child,
.careers-cta__button:focus-visible .careers-cta__arrow svg:first-child {
	transform: translateX(2.2rem);
}

[dir="rtl"] .careers-cta__button:hover .careers-cta__arrow svg:first-child,
[dir="rtl"] .careers-cta__button:focus-visible .careers-cta__arrow svg:first-child {
	transform: translateX(-2.2rem);
}

.careers-cta__button:hover .careers-cta__arrow svg + svg,
.careers-cta__button:focus-visible .careers-cta__arrow svg + svg {
	transform: none;
}

.careers-cta__button--light:hover {
	background: var(--color-white);
}

.careers-cta__button--dark:hover {
	background: #1F2026;
}

.careers-cta__button:focus-visible {
	outline: 2px solid #30323A;
	outline-offset: 3px;
}

/* Entrance (main.js, [data-reveal]): the box rises, the picture settles */
.careers-cta.is-waiting {
	opacity: 0;
}

.careers-cta.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.careers-cta.is-in .careers-cta__image {
	animation: careers-cta-settle 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes careers-cta-settle {
	from {
		transform: scale(1.12);
	}
	to {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.careers-cta.is-waiting {
		opacity: 1;
	}

	.careers-cta.is-in,
	.careers-cta.is-in .careers-cta__image {
		animation: none;
	}

	.careers-cta__arrow svg {
		transition: none;
	}
}

@media (max-width: 1024px) {

	.careers-cta {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		margin-top: 4.5rem;
		padding: 3rem 2.5rem 2.5rem;
	}

	.careers-cta__body {
		flex: none;
		max-width: 60%;
	}

	.careers-cta__title {
		font-size: 5rem;
	}
}

/* Phones: the picture across the top, fading down into the yellow; the
   buttons one under the other */
@media (max-width: 766px) {

	.careers-cta {
		min-height: 0;
		margin-top: 3.5rem;
		padding: 13rem 1.25rem 1.5rem;
		border-radius: 1.25rem;
	}

	.careers-cta__media,
	[dir="rtl"] .careers-cta__media {
		right: 0;
		bottom: auto;
		left: 0;
		width: 100%;
		height: 16rem;
	}

	.careers-cta__media::after,
	[dir="rtl"] .careers-cta__media::after {
		background: linear-gradient(0deg, #FEB400 0%, rgba(254, 180, 0, 0.4) 40%, rgba(254, 180, 0, 0) 100%);
	}

	.careers-cta__body {
		max-width: none;
	}

	.careers-cta__title {
		font-size: 3.5rem;
		line-height: 0.85;
	}

	.careers-cta__text {
		margin-top: 1rem;
		font-size: 1rem;
	}

	.careers-cta__actions {
		flex-direction: column;
		align-self: stretch;
		gap: 0.75rem;
	}

	.careers-cta__button {
		justify-content: space-between;
		font-size: 0.95rem;
	}
}

/* --------------------------------------------------------------------------
   Why Rembox accordion slider: pictures 640px tall with 32px corners, one
   open (832px) with its title in Almoni 70px bold, the others closed (180px)
   with the title on its side (Heebo 14px capitals), all darkened towards the
   foot; the closed ones also tinted. Under them the count, the progress line
   (200 x 2) and the gallery's arrows, here on the dark.
   -------------------------------------------------------------------------- */

.careers-slides {
	margin-top: 6.25rem;
}

.careers-slides__track {
	--gap: 0.667rem;
	/* The open picture's width; its picture and title keep it while the
	   picture opens or closes, so they don't stretch or reflow */
	--open-w: calc((100cqw - var(--gaps, 4) * var(--gap)) * var(--open, 0.536));
	display: flex;
	gap: var(--gap);
	height: 33.333rem;
	container-type: inline-size;
}

.careers-slides__slide {
	position: relative;
	flex: 180 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 1.667rem;
	color: var(--color-white);
	background: #1F2026;
	text-align: start;
	cursor: pointer;
	transition: flex-grow 0.75s cubic-bezier(0.65, 0, 0.35, 1);
}

.careers-slides__slide.is-active {
	flex-grow: 832;
	cursor: default;
}

.careers-slides__image {
	position: absolute;
	top: 0;
	left: 50%;
	width: var(--open-w);
	max-width: none;
	height: 100%;
	object-fit: cover;
	transform: translateX(-50%);
}

/* The tint over closed ones, and the shade towards the foot over all */
.careers-slides__slide::before,
.careers-slides__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.careers-slides__slide::before {
	background: rgba(48, 50, 58, 0.55);
	transition: opacity 0.6s ease;
}

.careers-slides__slide.is-active::before {
	opacity: 0;
}

.careers-slides__slide::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
	transition: top 0.6s ease;
}

/* The open one: no tint, the shade over its lower half only */
.careers-slides__slide.is-active::after {
	top: 50%;
}

/* Closed: Heebo 14px, 500, 1.12px tracking, capitals, reading upwards */
.careers-slides__label {
	position: absolute;
	bottom: 1.95rem;
	left: 1.6rem;
	z-index: 1;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.058rem;
	text-transform: uppercase;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	transition: opacity 0.35s ease 0.3s;
}

[dir="rtl"] .careers-slides__label {
	right: 1.6rem;
	left: auto;
}

.careers-slides__slide.is-active .careers-slides__label {
	opacity: 0;
	transition-delay: 0s;
}

/* Open: Almoni 70px, 700, on 105%, -0.7px tracking */
.careers-slides__title {
	position: absolute;
	bottom: 1.6rem;
	left: 1.75rem;
	z-index: 1;
	width: calc(var(--open-w) - 3.5rem);
	font-family: var(--font-heading);
	font-size: 3.646rem;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.036rem;
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

[dir="rtl"] .careers-slides__title {
	right: 1.75rem;
	left: auto;
}

.careers-slides__slide.is-active .careers-slides__title {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease 0.4s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.careers-slides__slide:focus-visible {
	outline: 2px solid #FEB400;
	outline-offset: 3px;
}

/* Count, progress and arrows */
.careers-slides__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 1.667rem;
}

.careers-slides__status {
	display: flex;
	align-items: center;
	gap: 3.2rem;
}

/* Heebo 14px, 500, white at 70% */
.careers-slides__count {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 500;
	line-height: normal;
	color: rgba(255, 255, 255, 0.7);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.careers-slides__progress {
	position: relative;
	display: block;
	width: 10.417rem;
	height: 2px;
	background: rgba(255, 255, 255, 0.2);
}

.careers-slides__bar {
	display: block;
	height: 100%;
	background: #FEB400;
	transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* The gallery's arrows, light on the dark */
.careers-slides .careers-gallery__arrow--prev {
	border-color: rgba(255, 255, 255, 0.2);
}

.careers-slides .careers-gallery__icon img {
	filter: brightness(0) invert(1);
}

.careers-slides .careers-gallery__arrow--prev:hover {
	border-color: var(--color-white);
	background: rgba(255, 255, 255, 0.06);
}

.careers-slides .careers-gallery__arrow--next:hover {
	border-color: #FEB400;
}

.careers-slides .careers-gallery__arrow:focus-visible {
	outline-color: #FEB400;
}

/* Entrance (main.js, [data-reveal]): the pictures rise in one after another */
.careers-slides__track.is-waiting .careers-slides__slide {
	opacity: 0;
}

.careers-slides__track.is-in .careers-slides__slide {
	animation: careers-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: calc(var(--i, 0) * 0.07s);
}

@media (prefers-reduced-motion: reduce) {

	.careers-slides__track.is-waiting .careers-slides__slide {
		opacity: 1;
	}

	.careers-slides__track.is-in .careers-slides__slide {
		animation: none;
	}

	.careers-slides__slide,
	.careers-slides__slide.is-active .careers-slides__title,
	.careers-slides__title,
	.careers-slides__bar {
		transition: opacity 0.2s ease;
	}
}

@media (max-width: 1024px) {

	.careers-slides {
		margin-top: 4.5rem;
	}

	.careers-slides__track {
		height: 26rem;
	}

	.careers-slides__label {
		left: 1rem;
	}

	[dir="rtl"] .careers-slides__label {
		right: 1rem;
	}

	.careers-slides__title {
		font-size: 2.75rem;
	}
}

/* Phones: one under the other, the open one tall, the others strips with
   the title across */
@media (max-width: 766px) {

	.careers-slides {
		margin-top: 3.5rem;
	}

	.careers-slides__track {
		flex-direction: column;
		height: auto;
		container-type: normal;
	}

	.careers-slides__slide {
		flex: none;
		height: 4.25rem;
		border-radius: 1.25rem;
		transition: height 0.6s cubic-bezier(0.65, 0, 0.35, 1);
	}

	.careers-slides__slide.is-active {
		height: 24rem;
	}

	.careers-slides__image {
		left: 0;
		width: 100%;
		transform: none;
	}

	.careers-slides__label,
	[dir="rtl"] .careers-slides__label {
		top: 50%;
		right: 1.25rem;
		bottom: auto;
		left: 1.25rem;
		font-size: 0.85rem;
		writing-mode: horizontal-tb;
		transform: translateY(-50%);
	}

	.careers-slides__title,
	[dir="rtl"] .careers-slides__title {
		right: 1.25rem;
		bottom: 1.25rem;
		left: 1.25rem;
		width: auto;
		font-size: 2.5rem;
	}

	.careers-slides__controls {
		margin-top: 1.25rem;
	}

	.careers-slides__status {
		gap: 1.25rem;
	}

	.careers-slides__count {
		font-size: 0.85rem;
	}

	.careers-slides__progress {
		width: 6rem;
	}
}

/* --------------------------------------------------------------------------
   Your journey to Rembox: on #FAF7F4, the title (Almoni 96px on 92%, a
   #1E1E1E to #30323A gradient) with the text beside it (Heebo 18px on 160%),
   then the steps: #F4F1ED cards with 16px corners, every other one lower,
   linked by the dashed wave behind them. Each: the number (Almoni 48px at
   30%), the icon (92px, in a dashed circle), the title (Barlow Condensed
   30px) and a text. They come in one by one; on hover a card turns orange,
   lifts and its icon tilts.
   -------------------------------------------------------------------------- */

.careers-journey {
	/* The bottom allows for Open positions coming up over it */
	padding: 4.5rem 0 8.75rem;
	color: #30323A;
	background: #FAF7F4;
}

.careers-journey__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 3rem;
}

.careers-journey__title {
	/* Room for the descenders inside the gradient's box */
	margin: 0 0 -0.12em;
	padding-bottom: 0.12em;
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 0.92;
	background: linear-gradient(90deg, #1E1E1E 0%, #30323A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.careers-journey__text {
	flex: 0 1 26.5rem;
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.938rem;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(48, 50, 58, 0.8);
}

.careers-journey__steps {
	--gap: 2.292rem;
	--col: calc((100% - (var(--count, 6) - 1) * var(--gap)) / var(--count, 6));
	position: relative;
	margin-top: 7.9rem;
}

/* The wave: from the first card's middle to the last's, 50px deep, the
   cards' step down and up */
.careers-journey__line {
	position: absolute;
	top: 2.97rem;
	left: calc(var(--col) / 2);
	display: block;
	width: calc(100% - var(--col));
	max-width: none;
	height: 2.604rem;
	pointer-events: none;
}

[dir="rtl"] .careers-journey__line {
	right: calc(var(--col) / 2);
	left: auto;
	transform: scaleX(-1);
}

.careers-journey__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--count, 6), minmax(0, 1fr));
	align-items: start;
	gap: 2rem var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.careers-journey__step {
	position: relative;
	min-height: 21.823rem;
	padding: 3.2rem 1.042rem 1.6rem;
	border-radius: 0.833rem;
	background: #F4F1ED;
	transition: background-color 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-journey__step:nth-child(even) {
	margin-top: 2.5rem;
}

/* Almoni 48px, 600, at 30% */
.careers-journey__num {
	position: absolute;
	top: 1.15rem;
	right: 1.042rem;
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 600;
	line-height: normal;
	color: rgba(48, 50, 58, 0.3);
	transition: color 0.35s ease;
}

[dir="rtl"] .careers-journey__num {
	right: auto;
	left: 1.042rem;
}

/* The icon is 92px with its own circle drawn in */
.careers-journey__icon {
	display: block;
	width: 4.792rem;
	height: 4.792rem;
}

.careers-journey__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Barlow Condensed 30px, 600, on 100% */
.careers-journey__step-title {
	margin: 1.45rem 0 0;
	font-family: var(--font-condensed);
	font-size: 1.563rem;
	font-weight: 600;
	line-height: 1;
	color: #30323A;
}

.careers-journey__step-text {
	margin: 0.6rem 0 0;
	font-family: var(--font-body);
	font-size: 0.729rem;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(48, 50, 58, 0.75);
	transition: color 0.35s ease;
}

/* Hover: orange, lifted a little, the icon tilted */
@media (hover: hover) and (pointer: fine) {

	.careers-journey__step:hover {
		background: #FFAA29;
		transform: translateY(-0.833rem);
	}

	.careers-journey__step:hover .careers-journey__num {
		color: rgba(48, 50, 58, 0.55);
	}

	.careers-journey__step:hover .careers-journey__icon img {
		transform: rotate(-12deg);
	}

	.careers-journey__step:hover .careers-journey__step-text {
		color: rgba(48, 50, 58, 0.85);
	}
}

/* Entrance (main.js, [data-reveal]): the head rises; the cards come in one
   by one with a pause between, and the wave draws along behind them. The
   cards use "translate", so hover's "transform" still works after. */
.careers-journey__head.is-waiting,
.careers-journey__steps.is-waiting .careers-journey__step,
.careers-journey__steps.is-waiting .careers-journey__line {
	opacity: 0;
}

.careers-journey__head.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.careers-journey__steps.is-in .careers-journey__step {
	animation: careers-journey-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: calc(0.15s + var(--i, 0) * 0.3s);
}

.careers-journey__steps.is-in .careers-journey__line {
	animation: careers-journey-draw calc(var(--count, 6) * 0.3s) linear 0.3s both;
}

@keyframes careers-journey-in {
	from {
		opacity: 0;
		translate: 0 2.5rem;
	}
	to {
		opacity: 1;
		translate: none;
	}
}

@keyframes careers-journey-draw {
	from {
		clip-path: inset(0 100% 0 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

@media (prefers-reduced-motion: reduce) {

	.careers-journey__head.is-waiting,
	.careers-journey__steps.is-waiting .careers-journey__step,
	.careers-journey__steps.is-waiting .careers-journey__line {
		opacity: 1;
	}

	.careers-journey__head.is-in,
	.careers-journey__steps.is-in .careers-journey__step,
	.careers-journey__steps.is-in .careers-journey__line {
		animation: none;
	}

	.careers-journey__step,
	.careers-journey__icon img {
		transition: background-color 0.2s ease;
	}
}

/* Narrower screens: three to a row, level, no wave */
@media (max-width: 1024px) {

	.careers-journey__head {
		flex-direction: column;
		gap: 1.5rem;
	}

	.careers-journey__text {
		flex: none;
		max-width: 36rem;
	}

	.careers-journey__steps {
		margin-top: 3.5rem;
	}

	.careers-journey__line {
		display: none;
	}

	.careers-journey__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
		gap: 1.25rem;
	}

	.careers-journey__step:nth-child(even) {
		margin-top: 0;
	}

	.careers-journey__step {
		min-height: 0;
	}
}

/* Phones: two to a row */
@media (max-width: 766px) {

	.careers-journey {
		padding: 3.5rem 0 5.5rem;
	}

	.careers-journey__title {
		font-size: 3rem;
	}

	.careers-journey__text {
		font-size: 1rem;
	}

	.careers-journey__steps {
		margin-top: 2.5rem;
	}

	.careers-journey__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.careers-journey__step {
		padding: 3rem 0.9rem 1.25rem;
	}

	.careers-journey__num {
		top: 0.75rem;
		right: 0.9rem;
		font-size: 2.1rem;
	}

	[dir="rtl"] .careers-journey__num {
		left: 0.9rem;
	}

	.careers-journey__icon {
		width: 4rem;
		height: 4rem;
	}

	.careers-journey__step-title {
		margin-top: 1rem;
		font-size: 1.45rem;
	}

	.careers-journey__step-text {
		font-size: 0.85rem;
	}
}

/* --------------------------------------------------------------------------
   Open positions: on white, the title (Almoni 96px on 96%, a #1E1E1E to
   #30323A gradient) with the text under it (Heebo 20px on 160%), the office
   tabs in the middle (Heebo 15px pills, the active one #30323A), then the
   positions two to a row: #F4F1ED cards, 16px corners, 40px padding. Each:
   the office and type (Heebo 13px capitals, after the icon), the title
   (Almoni 44px), the text (Heebo 17px), the requirements (a 12px label,
   Heebo 16px points after 6px #FEB400 squares), then under a line the apply
   button (Almoni 16px capitals) and the arrow in its own circle. On hover a
   card turns orange and the squares dark. "Load more" under them, outlined.
   -------------------------------------------------------------------------- */

.careers-positions {
	/* Its rounded top comes up over the section above, casting a soft
	   shadow on it */
	position: relative;
	z-index: 1;
	margin-top: -2.5rem;
	padding: 4.5rem 0 6.25rem;
	border-radius: 2.5rem 2.5rem 0 0;
	color: #30323A;
	background: var(--color-white);
	box-shadow: 0 -1.25rem 3.125rem rgba(48, 50, 58, 0.08);
}

.careers-positions__title {
	/* Room for the descenders inside the gradient's box */
	margin: 0 0 -0.12em;
	padding-bottom: 0.12em;
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 0.96;
	background: linear-gradient(90deg, #1E1E1E 0%, #30323A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.careers-positions__text {
	max-width: 48rem;
	margin: 1.4rem 0 0;
	font-family: var(--font-body);
	font-size: 1.042rem;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(48, 50, 58, 0.8);
}

/* Tabs: Heebo 15px, 500, pills (12px 22px), in the middle */
.careers-positions__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 3.333rem;
}

.careers-positions__tab {
	margin: 0;
	padding: 0.625rem 1.146rem;
	border: 1px solid rgba(48, 50, 58, 0.25);
	border-radius: 5.208rem;
	font-family: var(--font-body);
	font-size: 0.781rem;
	font-weight: 500;
	line-height: normal;
	color: #30323A;
	background: transparent;
	cursor: pointer;
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.careers-positions__tab:hover {
	border-color: #30323A;
}

.careers-positions__tab.is-active {
	border-color: #30323A;
	color: var(--color-white);
	background: #30323A;
	cursor: default;
}

.careers-positions__tab:focus-visible {
	outline: 2px solid #FEB400;
	outline-offset: 2px;
}

/* Two to a row, 24px apart */
.careers-positions__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 3rem 0 0;
	padding: 0;
	list-style: none;
}

.careers-positions__empty {
	margin: 2.5rem 0 0;
	font-family: var(--font-body);
	font-size: 1.042rem;
	text-align: center;
	color: rgba(48, 50, 58, 0.8);
}

/* A position; the button row keeps to the foot, so cards in a row match */
.careers-job {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 2.083rem;
	border-radius: 0.833rem;
	background: #F4F1ED;
	transition: background-color 0.35s ease;
}

.careers-job[hidden] {
	display: none;
}

/* Heebo 13px, 500, 1.04px tracking, capitals; "·" between */
.careers-job__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.677rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.054rem;
	text-transform: uppercase;
	color: #30323A;
}

.careers-job__meta-icon {
	flex-shrink: 0;
	width: 0.729rem;
	height: 0.729rem;
	margin-inline-end: 0.6rem;
	color: #30323A;
}

.careers-job__dot {
	margin: 0 0.7rem;
}

/* Almoni 44px on 100%, 600 */
.careers-job__title {
	margin: 1.25rem 0 0;
	font-family: var(--font-heading);
	font-size: 2.292rem;
	font-weight: 600;
	line-height: 1;
	color: #30323A;
}

/* Heebo 17px on 155%, at 75% */
.careers-job__text {
	margin: 1.3rem 0 0;
	font-family: var(--font-body);
	font-size: 0.885rem;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(48, 50, 58, 0.75);
}

/* Requirements: the label (Heebo 12px capitals at 50%), the points (Heebo
   16px at 85%) after 6px #FEB400 squares */
.careers-job__side {
	margin-top: 1.75rem;
}

.careers-job__label {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.625rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.063rem;
	text-transform: uppercase;
	color: rgba(48, 50, 58, 0.5);
}

.careers-job__list {
	display: grid;
	gap: 0.833rem;
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
}

.careers-job__list li {
	position: relative;
	padding-inline-start: 0.9rem;
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 400;
	line-height: normal;
	color: rgba(48, 50, 58, 0.85);
}

.careers-job__list li::before {
	content: "";
	position: absolute;
	top: 0.5em;
	inset-inline-start: 0;
	width: 0.313rem;
	height: 0.313rem;
	background: #FEB400;
	transition: background-color 0.35s ease;
}

/* Under a line: the button */
.careers-job__foot {
	margin-top: auto;
	padding-top: 1.15rem;
	border-top: 1px solid rgba(48, 50, 58, 0.12);
	transition: border-color 0.35s ease;
}

/* The gap above the line, under whichever part comes last */
.careers-job__info:nth-last-child(2),
.careers-job__side:not(:last-child) {
	margin-bottom: 1.25rem;
}

/* The label pill (Almoni 16px, 600, 0.64px tracking, capitals; 16px 30px)
   and the arrow in its own circle beside it */
.careers-job__apply {
	display: inline-flex;
	align-items: stretch;
	gap: 0.35rem;
	text-decoration: none;
	color: var(--color-white);
}

.careers-job__apply-label,
.careers-job__apply-icon {
	border-radius: 5.208rem;
	background: #30323A;
	transition: background-color 0.3s ease;
}

.careers-job__apply-label {
	display: flex;
	align-items: center;
	padding: 0.833rem 1.563rem;
	font-family: var(--font-heading);
	font-size: 0.833rem;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.033rem;
	text-transform: uppercase;
}

.careers-job__apply-icon {
	position: relative;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.708rem;
	overflow: hidden;
}

.careers-job__apply-icon svg {
	width: 0.729rem;
	height: 0.729rem;
	transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

/* The arrow circle comes first and points up and away from the label, like
   the other buttons. On hover it flies out and another comes in. */
.careers-job__apply-icon svg + svg {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -0.365rem 0 0 -0.365rem;
	transform: translate(1.6rem, 1.6rem);
}

[dir="rtl"] .careers-job__apply-icon svg {
	scale: -1 1;
}

[dir="rtl"] .careers-job__apply-icon svg + svg {
	transform: translate(-1.6rem, 1.6rem);
}

.careers-job__apply:hover .careers-job__apply-icon svg:first-child,
.careers-job__apply:focus-visible .careers-job__apply-icon svg:first-child {
	transform: translate(-1.6rem, -1.6rem);
}

[dir="rtl"] .careers-job__apply:hover .careers-job__apply-icon svg:first-child,
[dir="rtl"] .careers-job__apply:focus-visible .careers-job__apply-icon svg:first-child {
	transform: translate(1.6rem, -1.6rem);
}

.careers-job__apply:hover .careers-job__apply-icon svg + svg,
.careers-job__apply:focus-visible .careers-job__apply-icon svg + svg {
	transform: none;
}

.careers-job__apply:hover .careers-job__apply-label,
.careers-job__apply:hover .careers-job__apply-icon {
	background: #1F2026;
}

.careers-job__apply:focus-visible {
	outline: none;
}

.careers-job__apply:focus-visible .careers-job__apply-label,
.careers-job__apply:focus-visible .careers-job__apply-icon {
	outline: 2px solid #FEB400;
	outline-offset: 2px;
}

/* Hover: the card orange, the squares and the line dark */
@media (hover: hover) and (pointer: fine) {

	.careers-job:hover {
		background: #FFAA29;
	}

	.careers-job:hover .careers-job__list li::before {
		background: #30323A;
	}

	.careers-job:hover .careers-job__foot {
		border-color: rgba(48, 50, 58, 0.2);
	}
}

/* Load more: Heebo 16px bold capitals, outlined (18px 28px) */
.careers-positions__more {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.careers-positions__more-button {
	margin: 0;
	padding: 0.938rem 1.458rem;
	border: 1.2px solid #30323A;
	border-radius: 5.208rem;
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.026rem;
	text-transform: uppercase;
	color: #30323A;
	background: transparent;
	cursor: pointer;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.careers-positions__more-button:hover {
	color: var(--color-white);
	background: #30323A;
}

.careers-positions__more-button:focus-visible {
	outline: 2px solid #FEB400;
	outline-offset: 3px;
}

.careers-positions__more-button[hidden] {
	display: none;
}

/* Cards shown by a tab or "Load more" fade up in, one after another */
.careers-job.is-new {
	animation: careers-job-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.careers-job.is-new + .careers-job.is-new {
	animation-delay: 0.08s;
}

.careers-job.is-new + .careers-job.is-new + .careers-job.is-new {
	animation-delay: 0.16s;
}

.careers-job.is-new + .careers-job.is-new + .careers-job.is-new + .careers-job.is-new {
	animation-delay: 0.24s;
}

@keyframes careers-job-in {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Entrance (main.js, [data-reveal]) */
.careers-positions__head.is-waiting,
.careers-positions__tabs.is-waiting {
	opacity: 0;
}

.careers-positions__head.is-in,
.careers-positions__tabs.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.careers-positions__tabs.is-in {
	animation-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {

	.careers-positions__head.is-waiting,
	.careers-positions__tabs.is-waiting {
		opacity: 1;
	}

	.careers-positions__head.is-in,
	.careers-positions__tabs.is-in,
	.careers-job.is-new {
		animation: none;
	}

	.careers-job__apply-icon svg {
		transition: none;
	}
}

/* Phones: one to a row (tablets keep two) */
@media (max-width: 766px) {

	.careers-positions__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.careers-positions {
		margin-top: -1.5rem;
		padding: 3.5rem 0 4rem;
		border-radius: 1.5rem 1.5rem 0 0;
	}

	.careers-positions__title {
		font-size: 3rem;
	}

	.careers-positions__text {
		margin-top: 1rem;
		font-size: 1rem;
	}

	/* The tabs scroll sideways in one line */
	.careers-positions__tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-top: 2rem;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.careers-positions__tabs::-webkit-scrollbar {
		display: none;
	}

	.careers-positions__tab {
		flex-shrink: 0;
		font-size: 0.9rem;
	}

	.careers-positions__list {
		gap: 0.75rem;
		margin-top: 1.75rem;
	}

	.careers-job {
		padding: 1.5rem 1.25rem;
	}

	.careers-job__meta {
		font-size: 0.75rem;
	}

	.careers-job__title {
		font-size: 2rem;
	}

	.careers-job__text,
	.careers-job__list li {
		font-size: 1rem;
	}

	.careers-job__label {
		font-size: 0.75rem;
	}

	.careers-job__apply-label {
		font-size: 0.95rem;
	}

	.careers-job__apply-icon {
		width: 3rem;
	}

	.careers-positions__more-button {
		font-size: 0.95rem;
	}
}

/* --------------------------------------------------------------------------
   Careers "Offices": the Contact page's offices map (above), with the
   English drawing; its heading's lines placed as in that drawing
   -------------------------------------------------------------------------- */

.careers-offices .offices-map__title {
	--y: 129;
	right: 7.1%;
	font-size: 6.6cqw;
	font-weight: 700;
	line-height: 1;
}

.careers-offices .offices-map__text {
	--y: 234;
	right: 6.35%;
}

/* --------------------------------------------------------------------------
   Careers: "Send us your resume" (careers/form.php). #30323A, a photo down
   the start side (52.76% wide, its inner corners rounded 32px, darkened by
   two gradients), the title (Almoni 160px bold) over it and the form in a
   white box (874px, padding 41.69px, radius 32px) beside it.

   The form is Contact Form 7 (cf7-careers-form.txt); these rules style its
   own markup: fields 14.24px round on 5% black with a 10% edge, Yes / No and
   skills as boxes and pills, the send button a #FFAA29 pill.
   -------------------------------------------------------------------------- */

.careers-apply {
	--apply-ink: #171D32;
	--apply-fill: rgba(0, 0, 0, 0.05);
	--apply-edge: rgba(0, 0, 0, 0.1);
	--apply-error: #C8341B;
	position: relative;
	padding: 9.06rem 0 8.28rem;
	background: var(--color-dark);
	color: var(--color-white);
}

.careers-apply__media {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 52.76%;
	overflow: hidden;
	border-start-end-radius: 1.667rem;
	border-end-end-radius: 1.667rem;
}

.careers-apply__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.careers-apply__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(48, 50, 58, 0.55) 0%, rgba(48, 50, 58, 0) 35%, rgba(48, 50, 58, 0) 70%, rgba(48, 50, 58, 0.8) 100%),
		linear-gradient(90deg, rgba(48, 50, 58, 0.75) 0%, rgba(48, 50, 58, 0.2) 55%, rgba(48, 50, 58, 0) 100%);
	pointer-events: none;
}

[dir="rtl"] .careers-apply__media::after {
	background:
		linear-gradient(180deg, rgba(48, 50, 58, 0.55) 0%, rgba(48, 50, 58, 0) 35%, rgba(48, 50, 58, 0) 70%, rgba(48, 50, 58, 0.8) 100%),
		linear-gradient(270deg, rgba(48, 50, 58, 0.75) 0%, rgba(48, 50, 58, 0.2) 55%, rgba(48, 50, 58, 0) 100%);
}

.careers-apply__inner {
	position: relative;
}

.careers-apply__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 8.333rem;
	font-weight: 700;
	line-height: 0.508;
	letter-spacing: -0.075rem;
	color: var(--color-white);
}

.careers-apply__text {
	max-width: 25rem;
	margin: 3.28rem 0 0;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-white);
}

.careers-apply__box {
	width: 45.52rem;
	max-width: 100%;
	margin: 0.36rem 1.25rem 0 auto;
	padding: 2.171rem;
	border-radius: 1.667rem;
	background: var(--color-white);
	color: var(--apply-ink);
}

[dir="rtl"] .careers-apply__box {
	margin-right: auto;
	margin-left: 1.25rem;
}

.careers-apply .wpcf7,
.careers-apply .wpcf7-form {
	margin: 0;
}

/* The fields: two to a row, 20.5px apart */
.careers-apply__fields,
.careers-apply__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.068rem;
}

.careers-apply__pair {
	margin-top: 1.2rem;
}

.careers-field,
.careers-choice {
	position: relative;
	display: block;
	margin: 0;
}

.careers-apply .wpcf7-form-control-wrap {
	position: relative;
	display: block;
}

.careers-apply :is(input.wpcf7-form-control:not([type="file"]), textarea.wpcf7-form-control, select.wpcf7-form-control),
.careers-field--file {
	box-sizing: border-box;
	width: 100%;
	height: 2.656rem;
	margin: 0;
	padding: 0 0.89rem;
	border: 1px solid var(--apply-edge);
	border-radius: 0.741rem;
	background-color: var(--apply-fill);
	font-family: var(--font-body);
	font-size: 0.847rem;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.017rem;
	color: var(--apply-ink);
	box-shadow: none;
	appearance: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.careers-apply .wpcf7-form-control::placeholder {
	color: rgba(0, 0, 0, 0.4);
	opacity: 1;
}

.careers-apply :is(input.wpcf7-form-control:not([type="file"]), textarea.wpcf7-form-control, select.wpcf7-form-control):hover,
.careers-field--file:hover {
	border-color: rgba(0, 0, 0, 0.22);
}

.careers-apply :is(input.wpcf7-form-control:not([type="file"]), textarea.wpcf7-form-control, select.wpcf7-form-control):focus,
.careers-field--file:focus-within {
	border-color: var(--color-orange);
	background-color: var(--color-white);
	outline: none;
	box-shadow: 0 0 0 0.156rem rgba(255, 170, 41, 0.25);
}

/* Upload: the words (then the file's name) and the icon in a field's box;
   the file input itself lies over the whole box, unseen */
.careers-field--file {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

.careers-field--file.has-file {
	color: var(--apply-ink);
}

.careers-field__file {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.careers-field--file .wpcf7-form-control-wrap {
	position: static;
}

.careers-field--file input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.careers-field__file-icon {
	flex: none;
	width: 0.885rem;
	height: auto;
	color: rgba(145, 145, 145, 0.9);
}

/* Work experience: the arrow at the end */
.careers-apply select.wpcf7-form-control.wpcf7-select {
	height: 2.448rem;
	padding-inline-end: 2.4rem;
	background-image: url("../img/careers/select-arrow.svg");
	background-repeat: no-repeat;
	background-position: right 1.3rem center;
	background-size: 0.573rem auto;
	cursor: pointer;
}

[dir="rtl"] .careers-apply select.wpcf7-form-control.wpcf7-select {
	background-position: left 1.3rem center;
}

.careers-field--about {
	margin-top: 1.15rem;
}

.careers-apply textarea.wpcf7-form-control.wpcf7-textarea {
	display: block;
	height: 6.354rem;
	min-height: 4rem;
	padding-block: 0.82rem;
	resize: vertical;
}

/* The small labels over Yes / No, experience and skills */
.careers-choice__label {
	display: block;
	margin: 0 0 0.52rem;
	font-family: var(--font-body);
	font-size: 0.741rem;
	font-weight: 400;
	line-height: 1.059rem;
	letter-spacing: -0.008rem;
	color: rgba(0, 0, 0, 0.5);
}

.careers-choice--select {
	margin-top: 1.3rem;
}

.careers-choice--pills {
	margin-top: 1.25rem;
}

/* Yes / No and the skills: each choice a box (a pill for skills), dark once
   ticked. The box itself is the checkbox's label, the checkbox unseen over it */
.careers-choice .wpcf7-checkbox {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.42rem;
}

.careers-choice--pills .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
}

.careers-choice .wpcf7-list-item {
	display: block;
	margin: 0;
}

.careers-choice .wpcf7-list-item label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2.656rem;
	padding: 0 1.04rem;
	border: 1px solid var(--apply-edge);
	border-radius: 0.741rem;
	background: var(--apply-fill);
	font-family: var(--font-body);
	font-size: 0.847rem;
	font-weight: 500;
	line-height: 1.271rem;
	letter-spacing: -0.017rem;
	color: rgba(0, 0, 0, 0.7);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.careers-choice--pills .wpcf7-list-item label {
	height: 2.19rem;
	border-color: rgba(11, 11, 11, 0.1);
	border-radius: 999px;
}

.careers-choice .wpcf7-list-item input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.careers-choice .wpcf7-list-item label:hover {
	border-color: rgba(0, 0, 0, 0.22);
	background: rgba(0, 0, 0, 0.08);
}

.careers-choice .wpcf7-list-item label:has(input:checked) {
	border-color: var(--color-dark);
	background: var(--color-dark);
	color: var(--color-white);
}

.careers-choice .wpcf7-list-item label:has(input:focus-visible) {
	outline: 0.104rem solid var(--color-orange);
	outline-offset: 0.104rem;
}

/* Consent: a small box and the line beside it */
.careers-apply__consent {
	margin-top: 1.45rem;
}

.careers-apply__consent .wpcf7-list-item {
	display: block;
	margin: 0;
}

.careers-apply__consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-family: var(--font-body);
	font-size: 0.833rem;
	font-weight: 500;
	line-height: 1.059rem;
	letter-spacing: -0.008rem;
	color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.careers-apply__consent input[type="checkbox"] {
	flex: none;
	width: 0.677rem;
	height: 0.677rem;
	margin: 0.19rem 0 0;
	accent-color: var(--color-dark);
	cursor: pointer;
}

/* Send: the full width #FFAA29 pill, #30323A on hover. Contact Form 7 keeps
   it off until the consent box is ticked */
.careers-apply__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	margin-top: 1.15rem;
	padding: 0.847rem 1.5rem 0.816rem;
	border: 0;
	border-radius: 999px;
	background: var(--color-orange);
	font-family: var(--font-body);
	font-size: 0.847rem;
	font-weight: 500;
	line-height: 1.271rem;
	letter-spacing: -0.017rem;
	color: var(--color-dark);
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.careers-apply__submit svg {
	flex: none;
	width: 1.094rem;
	height: auto;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .careers-apply__submit svg {
	transform: scaleX(-1);
}

.careers-apply__submit:not(:disabled):is(:hover, :focus-visible) {
	background: var(--color-dark);
	color: var(--color-white);
}

.careers-apply__submit:not(:disabled):is(:hover, :focus-visible) svg {
	transform: translate(0.15rem, -0.15rem);
}

[dir="rtl"] .careers-apply__submit:not(:disabled):is(:hover, :focus-visible) svg {
	transform: translate(-0.15rem, -0.15rem) scaleX(-1);
}

.careers-apply__submit:focus-visible {
	outline: 0.104rem solid var(--color-orange);
	outline-offset: 0.156rem;
}

.careers-apply__submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.careers-apply .wpcf7-form.submitting .careers-apply__submit {
	opacity: 0.7;
	cursor: progress;
}

.careers-apply .wpcf7-spinner {
	display: none;
}

/* Errors: the field's edge turns red, the tip just under it */
.careers-apply .wpcf7-not-valid-tip {
	position: absolute;
	top: calc(100% + 0.15rem);
	inset-inline-start: 0.89rem;
	font-family: var(--font-body);
	font-size: 0.594rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--apply-error);
	animation: contact-tip-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.careers-apply .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-not-valid,
.careers-field--file:has(.wpcf7-not-valid) {
	border-color: var(--apply-error);
}

/* The answer under the button, hidden until there is one */
.careers-apply .wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 0.741rem;
	background: var(--color-dark);
	font-family: var(--font-body);
	font-size: 0.781rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-white);
	animation: contact-tip-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.careers-apply .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output {
	background: rgba(200, 52, 27, 0.08);
	color: var(--apply-error);
}

.careers-apply .wpcf7 form:is(.init, .submitting, .resetting) .wpcf7-response-output,
.careers-apply .wpcf7 form .wpcf7-response-output:empty {
	display: none;
}

/* Entrance (main.js, [data-reveal]): the heading rises, the form after it */
.careers-apply__head.is-waiting,
.careers-apply__box.is-waiting {
	opacity: 0;
}

.careers-apply__head.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.careers-apply__box.is-in {
	animation: careers-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@media (prefers-reduced-motion: reduce) {

	.careers-apply__head.is-waiting,
	.careers-apply__box.is-waiting {
		opacity: 1;
	}

	.careers-apply__head.is-in,
	.careers-apply__box.is-in,
	.careers-apply .wpcf7-not-valid-tip,
	.careers-apply .wpcf7 form .wpcf7-response-output {
		animation: none;
	}

	.careers-apply__submit svg {
		transition: none;
	}
}

/* Tablets: the photo across the top, the form under the heading */
@media (max-width: 1024px) {

	.careers-apply {
		padding: 7rem 0 5rem;
	}

	.careers-apply__media {
		inset-block: 0 auto;
		width: 100%;
		height: 36rem;
		border-radius: 0 0 1.667rem 1.667rem;
	}

	.careers-apply__box,
	[dir="rtl"] .careers-apply__box {
		width: auto;
		margin: 9rem 0 0;
		padding: 2.5rem;
	}

	.careers-apply__text {
		max-width: 32rem;
		font-size: 1.2rem;
	}

	/* The page's rem is smaller here: the form's text and boxes grow back
	   to a readable size */
	.careers-apply :is(input.wpcf7-form-control:not([type="file"]), textarea.wpcf7-form-control, select.wpcf7-form-control),
	.careers-field--file,
	.careers-choice .wpcf7-list-item label,
	.careers-apply__submit {
		font-size: 1.15rem;
		line-height: 1.4;
	}

	.careers-apply :is(input.wpcf7-form-control:not([type="file"]), select.wpcf7-form-control),
	.careers-field--file,
	.careers-choice .wpcf7-list-item label {
		height: 3.4rem;
		padding-inline: 1.1rem;
	}

	.careers-apply select.wpcf7-form-control.wpcf7-select {
		height: 3.4rem;
		padding-inline-end: 2.8rem;
		background-size: 0.75rem auto;
	}

	.careers-apply textarea.wpcf7-form-control.wpcf7-textarea {
		height: 8rem;
	}

	.careers-choice--pills .wpcf7-list-item label {
		height: 2.9rem;
		padding-inline: 1.3rem;
	}

	.careers-field__file-icon {
		width: 1.15rem;
	}

	.careers-choice__label {
		margin-bottom: 0.6rem;
		font-size: 0.95rem;
		line-height: 1.3;
	}

	.careers-apply__consent label {
		font-size: 1.05rem;
		line-height: 1.35;
	}

	.careers-apply__consent input[type="checkbox"] {
		width: 0.9rem;
		height: 0.9rem;
		margin-top: 0.2rem;
	}

	.careers-apply__submit {
		padding-block: 1.05rem;
	}

	.careers-apply__submit svg {
		width: 1.4rem;
	}

	.careers-apply .wpcf7-not-valid-tip {
		font-size: 0.8rem;
	}

	.careers-apply .wpcf7 form .wpcf7-response-output {
		font-size: 1rem;
	}
}

/* Phones: one field to a row, a smaller title */
@media (max-width: 766px) {

	.careers-apply {
		padding: 4.5rem 0 3.5rem;
	}

	.careers-apply__media {
		height: 26rem;
		border-radius: 0 0 1.25rem 1.25rem;
	}

	.careers-apply__title {
		font-size: 3.25rem;
		line-height: 0.95;
		letter-spacing: -0.03rem;
	}

	.careers-apply__text {
		margin-top: 1.25rem;
		font-size: 1rem;
	}

	.careers-apply__box,
	[dir="rtl"] .careers-apply__box {
		margin-top: 8rem;
		padding: 1.25rem;
		border-radius: 1.25rem;
	}

	.careers-apply__fields,
	.careers-apply__pair {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.85rem;
	}

	.careers-apply__pair {
		gap: 1.1rem;
	}

	/* 16px, so phones do not zoom in on a field */
	.careers-apply :is(input.wpcf7-form-control:not([type="file"]), textarea.wpcf7-form-control, select.wpcf7-form-control),
	.careers-field--file,
	.careers-choice .wpcf7-list-item label,
	.careers-apply__submit {
		font-size: 1rem;
	}

	.careers-apply :is(input.wpcf7-form-control:not([type="file"]), select.wpcf7-form-control),
	.careers-apply select.wpcf7-form-control.wpcf7-select,
	.careers-field--file,
	.careers-choice .wpcf7-list-item label {
		height: 2.875rem;
		padding-inline: 1rem;
	}

	.careers-apply select.wpcf7-form-control.wpcf7-select {
		padding-inline-end: 2.5rem;
	}

	.careers-choice--pills .wpcf7-list-item label {
		height: 2.5rem;
	}

	.careers-apply textarea.wpcf7-form-control.wpcf7-textarea {
		height: 7rem;
	}

	.careers-choice__label {
		font-size: 0.8125rem;
	}

	.careers-field__file-icon {
		width: 1.0625rem;
	}

	.careers-apply .wpcf7-not-valid-tip {
		font-size: 0.75rem;
	}

	.careers-apply__consent label {
		font-size: 0.875rem;
		line-height: 1.3;
	}

	.careers-apply__consent input[type="checkbox"] {
		width: 0.875rem;
		height: 0.875rem;
		margin-top: 0.1rem;
	}

	.careers-apply__submit {
		padding-block: 0.85rem;
	}

	.careers-apply__submit svg {
		width: 1.25rem;
	}

	.careers-apply .wpcf7 form .wpcf7-response-output {
		font-size: 0.875rem;
	}
}

/* Why Rembox: the one picture for the whole list (careers.js). It glides
   from line to line after the mouse; its inside fades over to the hovered
   line's image. Only with the hover, and not with reduced motion: otherwise
   each line keeps its own picture (above). */
.careers-why__list {
	position: relative;
}

.careers-why__float {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	display: none;
	width: 11.458rem;
	height: 7.813rem;
	overflow: hidden;
	border-radius: 1.042rem;
	background: lightgray;
	box-shadow: 0 1.042rem 2.083rem 0 rgba(0, 0, 0, 0.35);
	opacity: 0;
	scale: 0.85;
	pointer-events: none;
	transition: opacity 0.3s ease, scale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-why__float.is-on {
	opacity: 1;
	scale: 1;
}

.careers-why__float.is-empty {
	opacity: 0;
}

.careers-why__float-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.45s ease;
}

/* The hovered line's image fades in over the last one, inside the frame */
.careers-why__float-image.is-on {
	z-index: 1;
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) and (prefers-reduced-motion: no-preference) {

	.careers-why__float {
		display: block;
	}

	.careers-why__list.has-float .careers-why__photo {
		display: none;
	}
}
