/* ==========================================================================
   Mr O. Design tokens match the Paper file "Mr O Website".
   Fonts are the licensed CoType web fonts (order 5431): Aeonik Regular and Medium, Aeonik Fono Regular.
   ========================================================================== */

@font-face { font-family: "Aeonik"; src: url("../fonts/aeonik-regular.woff2") format("woff2"), url("../fonts/aeonik-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("../fonts/aeonik-medium.woff2") format("woff2"), url("../fonts/aeonik-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik Fono"; src: url("../fonts/aeonikfono-regular.woff2") format("woff2"), url("../fonts/aeonikfono-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	--stock: #F3F2EE;
	--ink: #1D1E1C;
	--orange: #FF4F33;
	--rule-stock: #D9D7CF;
	--muted-stock: #6E6D68;
	--rule-ink: #3A3B38;
	--muted-ink: #A8A7A1;
	--rule-orange: #D63F27;
	--pale: #D6D3C8;

	--font: "Aeonik", "Helvetica Neue", Arial, sans-serif;
	--mono: "Aeonik Fono", ui-monospace, "SF Mono", Menlo, monospace;

	--gutter: clamp(20px, 4.45vw, 64px);
	--ease: cubic-bezier(.2, .8, .2, 1);

	/* Hero ground, switched by body class. */
	--hero-bg: var(--ink);
	--hero-fg: var(--stock);
	--hero-soft: var(--muted-ink);
	--hero-dot: var(--orange);
	--pill-bg: var(--orange);
	--pill-fg: var(--ink);
}
body.hero-orange {
	--hero-bg: var(--orange);
	--hero-fg: var(--ink);
	--hero-soft: var(--ink);
	--hero-dot: var(--stock);
	--pill-bg: var(--ink);
	--pill-fg: var(--stock);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--stock); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
/* No widows: headings balance their lines, running text never leaves one word alone on the last line. main.js backs this up. */
h1, h2, h3 { text-wrap: balance; }
p, li, dt, dd, figcaption, blockquote { text-wrap: pretty; }
.nw { display: inline-block; white-space: nowrap; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--stock); padding: 12px 16px; border-radius: 4px; }
.skip-link:focus { left: 8px; }

.mono { font-family: var(--mono); font-size: 13px; line-height: 20px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.mono--muted { color: var(--muted-stock); }
.mono--accent { color: var(--orange); }
.mono-lg { font-family: var(--mono); font-size: 15px; line-height: 24px; }
.dot { color: var(--orange); }
.is-accent { color: var(--orange); }
.only-phone { display: none; }
.ico { flex: none; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .ico { transition: transform .3s var(--ease); }
.link:hover .ico { transform: translate(2px, -2px); }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 24px; border-radius: 999px; font-size: 17px; font-weight: 500; line-height: 1; white-space: nowrap; flex: none; transition: color .3s var(--ease); }
.pill .ico { transition: transform .3s var(--ease); }
.pill:hover .ico { transform: translate(2px, -2px); }
/* Hover: a second colour floods up from the bottom of the button. */
.pill { position: relative; overflow: hidden; isolation: isolate; }
.pill::before { content: ""; position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%; background: var(--fill, var(--stock)); transform: translate(-50%, 0) scale(0); transform-origin: 50% 0; transition: transform .6s var(--ease); z-index: -1; }
@media (hover: hover) {
	.pill:hover::before { transform: translate(-50%, -62%) scale(1); }
	.pill:hover { color: var(--fill-fg, var(--ink)); }
}
.pill--accent { background: var(--pill-bg); color: var(--pill-fg); --fill: var(--pill-fill, var(--stock)); --fill-fg: var(--ink); }
.pill--ink { background: var(--ink); color: var(--stock); height: 56px; padding: 0 28px; --fill: var(--orange); --fill-fg: var(--ink); }
.pill--orange { background: var(--orange); color: var(--ink); height: 56px; padding: 0 28px; --fill: var(--stock); --fill-fg: var(--ink); }
.pill--light { border: 1px solid var(--stock); color: var(--stock); --fill: var(--stock); --fill-fg: var(--ink); }
.round { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; flex: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.round--line { border: 1px solid var(--ink); }
.round--line:hover { background: var(--ink); color: var(--orange); }
.round--fill { background: var(--ink); color: var(--stock); }
.round--fill:hover { background: var(--stock); color: var(--ink); }

/* ---------- Header: wide over the hero, then the logo and button glide in to form a compact pill ---------- */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 60; padding: 20px var(--gutter) 0; pointer-events: none; transition: padding .7s var(--ease); color: var(--ink); --bar-h: 64px; }
.site-header--over { color: var(--hero-fg); }
.site-header--plain { --pill-bg: var(--ink); --pill-fg: var(--stock); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; height: var(--bar-h); margin: 0 auto; padding: 0; border-radius: 999px; background: rgba(29, 30, 28, 0); pointer-events: auto; transition: width .7s var(--ease), padding .7s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease); }
.site-header__logo { position: relative; display: block; width: 64px; height: 64px; flex: none; transition: width .7s var(--ease), height .7s var(--ease); }
.site-header__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s var(--ease); }
.site-header--plain .logo--light, body.hero-orange .site-header--over .logo--light { opacity: 0; }
body.hero-brown .site-header--over .logo--dark { opacity: 0; }
.site-header__nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 40px); font-weight: 500; transition: gap .7s var(--ease); }
.site-header__nav a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), max-width .6s var(--ease), opacity .3s var(--ease), margin .6s var(--ease); }
.site-header__nav a:hover, .site-header__nav a[aria-current] { background-size: 100% 1.5px; }
.site-header__nav .is-home { max-width: 4em; overflow: hidden; }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.site-header__cta { height: 52px; padding: 0 26px; }
.site-header__cta, .menu-toggle { transition: height .7s var(--ease), padding .7s var(--ease), background-color .45s var(--ease), color .3s var(--ease); }
.menu-toggle { display: none; }
.menu-toggle__bars { display: inline-block; width: 16px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }

/* Compact state, set as soon as the page scrolls. */
.site-header.is-compact { padding-top: 16px; }
.site-header.is-compact .site-header__bar { width: 690px; padding: 0 8px; background: var(--ink); color: var(--stock); box-shadow: 0 8px 30px rgba(29, 30, 28, .18); --pill-bg: var(--orange); --pill-fg: var(--ink); --fill: var(--stock); }
.site-header.is-compact .site-header__logo { width: 48px; height: 48px; }
.site-header.is-compact .logo--light { opacity: 1 !important; }
.site-header.is-compact .logo--dark { opacity: 0 !important; }
.site-header.is-compact .site-header__nav { gap: 28px; }
.site-header.is-compact .site-header__nav .is-home { max-width: 0; opacity: 0; margin-right: -28px; pointer-events: none; }
.site-header.is-compact .site-header__cta, .site-header.is-compact .menu-toggle { height: 48px; padding: 0 24px; }
.site-header--plain + .menu + main, .site-header--plain ~ main { padding-top: 104px; }

/* The dark ground fills the whole screen, including behind the phone's own toolbar (lvh). The links are sized from the visible height (dvh) and the bottom padding keeps them clear of that toolbar, so everything fits without scrolling on any phone. */
.menu { position: fixed; inset: 0 0 auto 0; height: 100vh; height: 100lvh; z-index: 100; background: var(--ink); color: var(--stock); display: flex; flex-direction: column; padding: 12px var(--gutter) 32px; padding-bottom: calc(100lvh - 100dvh + 24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .75s cubic-bezier(.76, 0, .24, 1), visibility 0s .75s; will-change: clip-path; }
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .75s cubic-bezier(.76, 0, .24, 1), visibility 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.menu__top img { width: 56px; height: 56px; }
.menu__nav { display: flex; flex-direction: column; margin-top: 32px; margin-top: clamp(10px, 2.5dvh, 32px); border-top: 1px solid var(--rule-ink); }
.menu__nav a { display: flex; align-items: baseline; gap: 20px; padding: 16px 0; padding: clamp(7px, 2dvh, 16px) 0; border-bottom: 1px solid var(--rule-ink); font-size: 44px; font-size: clamp(26px, 5.2dvh, 44px); line-height: 1.05; letter-spacing: -.03em; }
.menu__num { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-ink); width: 20px; }
.menu__foot { margin-top: 0; padding-top: 28px; padding-top: clamp(14px, 3dvh, 28px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; --pill-bg: var(--orange); --pill-fg: var(--ink); }
.menu__top, .menu__nav a, .menu__foot { opacity: 0; transform: translateY(26px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.menu.is-open .menu__top, .menu.is-open .menu__nav a, .menu.is-open .menu__foot { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(.28s + var(--i, 0) * .06s); }
.menu.is-open .menu__top { transition-delay: .2s; }
.menu.is-open .menu__foot { transition-delay: .72s; }

/* ---------- Hero (Option D) ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-fg); padding: clamp(128px, 12.2vw, 176px) 0 clamp(72px, 10.5vw, 150px); overflow: hidden; }
.hero .mono--soft { color: var(--hero-soft); }
.hero .dot { color: var(--hero-dot); }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 20vw, 288px); gap: clamp(16px, 1.7vw, 24px); align-items: start; }
.hero__title { font-weight: 400; font-size: clamp(48px, 8.2vw, 118px); line-height: .93; letter-spacing: -.04em; }
.hero__intro { display: flex; flex-direction: column; gap: 20px; padding-top: 10px; line-height: 28px; }
.hero__tiles { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 20px 24px; margin-top: clamp(48px, 8vw, 116px); }
.tile { display: flex; flex-direction: column; gap: 20px; }
/* Every tile's text sits in one shared row and every image in the next, so the images line up however many lines of tags a project has. */
@supports (grid-template-rows: subgrid) {
	.tile { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
}
.tile__head { display: flex; flex-direction: column; gap: 4px; align-self: start; }
.tile__tags { min-height: 20px; }
.tile__name { font-size: clamp(20px, 1.95vw, 28px); line-height: 1.28; letter-spacing: -.02em; }
.tile__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0, 0, 0, .12); will-change: transform; }
.tile__img img, .tile__img video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .tile__img img, .tile:hover .tile__img video { transform: scale(1.04); }

/* ---------- Client logos ---------- */
.logos { padding: clamp(56px, 6.6vw, 96px) 0 clamp(24px, 3vw, 40px); }
.logos__label { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: clamp(20px, 2.6vw, 36px); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 36s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--logos { -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__logo { flex: none; padding: 0 clamp(24px, 3.2vw, 46px); }
/* Each logo keeps its size relative to the others (--k is its height as a share of the tallest one). */
.marquee__logo img { height: calc(var(--k, 1) * clamp(64px, 9vw, 128px)); width: auto; max-width: none; }
@keyframes marquee { to { transform: translateX(var(--shift, -33.3333%)); } }

/* ---------- Statement ---------- */
.statement { position: relative; background: var(--ink); color: var(--stock); }
.has-motion:not(.motion-failed) .statement { background: var(--stock); color: var(--ink); }
/* The ink ground arrives as a circle growing from the centre. It carries a copy of the text in the light colour, so the words change as the circle crosses them. */
.statement__wipe { position: absolute; inset: 0; background: var(--ink); color: var(--stock); clip-path: circle(0% at 50% 50%); will-change: clip-path; pointer-events: none; }
.motion-failed .statement__wipe { display: none; }
.statement__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(24px, 2.8vw, 40px); text-align: center; min-height: 100vh; min-height: 100svh; padding-top: 96px; padding-bottom: 96px; }
.statement__text { font-weight: 400; font-size: clamp(44px, 7.8vw, 112px); line-height: .965; letter-spacing: -.04em; max-width: 10.6em; }
.statement__sub { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; line-height: 1.6; max-width: 28em; }

/* ---------- Recent work: images drift over a pinned heading ---------- */
.recent { position: relative; background: var(--orange); color: var(--ink); --pin: #E5462C; }
.has-motion:not(.motion-failed) .recent { background: var(--ink); color: var(--stock); --pin: #343532; }
.recent__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); font-size: clamp(64px, 14.4vw, 208px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; color: var(--pin); pointer-events: none; z-index: 0; }
.recent__body { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; padding-top: 72px; padding-bottom: clamp(96px, 11vw, 160px); }
.recent__tiles { display: flex; flex-direction: column; gap: clamp(72px, 11vw, 160px); padding-top: clamp(140px, 22vh, 260px); }
.shot { display: block; will-change: transform; }
/* Every tile is the same size and shape as the three in the hero: 4:3 landscape, a third of the page wide. */
.shot { width: calc((100% - 48px) / 3); }
.shot__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0, 0, 0, .14); }
.shot__img img, .shot__img video { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.shot__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.shot--1 { margin-left: 34%; }
.shot--2 { margin-left: auto; }
.shot--3 { margin-top: clamp(-200px, -10vw, -40px); }
.shot--4 { margin-left: 44%; }
.shot--5 { margin-left: 9.5%; margin-top: clamp(-160px, -6vw, -20px); }
.recent__more { display: flex; justify-content: center; margin-top: clamp(72px, 9vw, 130px); }
.recent .pill--ink { --fill: var(--stock); }

/* ---------- About + clients ---------- */
.about { position: relative; background: var(--ink); color: var(--stock); padding: clamp(88px, 10.5vw, 152px) 0 clamp(88px, 10vw, 144px); overflow: hidden; }
.about .mono--muted { color: var(--muted-ink); }
.ring { position: absolute; pointer-events: none; }
.ring--about { width: min(76vw, 1100px); right: max(-25vw, -360px); top: -120px; color: rgba(243, 242, 238, .05); }
.about__grid { position: relative; display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 696fr); gap: clamp(32px, 6.6vw, 96px); align-items: start; }
.about__img img { width: 100%; }
.about__copy { display: flex; flex-direction: column; gap: clamp(28px, 3.3vw, 48px); padding-top: 24px; }
.about__lead { font-size: clamp(26px, 2.78vw, 40px); line-height: 1.3; letter-spacing: -.02em; }
.about__detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3.3vw, 48px); line-height: 28px; }
.about__detail > div { display: flex; flex-direction: column; gap: 12px; }
.stats { display: flex; gap: clamp(24px, 4.4vw, 64px); padding-top: 32px; border-top: 1px solid var(--rule-ink); }
.stats__item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stats__num { font-size: clamp(52px, 7.4vw, 112px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.clients { position: relative; display: grid; grid-template-columns: minmax(0, 392fr) minmax(0, 920fr); margin-top: clamp(72px, 6.6vw, 96px); }
.clients::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--rule-ink); }
.clients__label { display: flex; flex-direction: column; gap: 16px; padding: 52px 24px 0 0; }
.clients__list { padding-top: 40px; font-size: clamp(22px, 2.78vw, 40px); line-height: 1.4; letter-spacing: -.02em; }

/* ---------- Project index ---------- */
.index { padding: clamp(80px, 9.7vw, 140px) 0 clamp(80px, 8.9vw, 128px); }
.index__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: clamp(40px, 6.7vw, 96px) minmax(0, 1fr) auto; align-items: center; min-height: clamp(84px, 10vw, 144px); border-bottom: 1px solid var(--rule-stock); }
.row--all { border-bottom-color: var(--ink); }
.row__num { color: var(--muted-stock); transition: color .3s; }
.rows { counter-reset: row; }
.rows > li:not([hidden]) > .row:not(.row--all) { counter-increment: row; }
.row:not(.row--all) .row__num::before { content: counter(row, decimal-leading-zero); }
.rows__empty { padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--rule-stock); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; color: var(--muted-stock); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__btn { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-stock); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.filters__btn:hover { border-color: var(--ink); }
.filters__btn.is-on { background: var(--ink); border-color: var(--ink); color: var(--stock); }
.row__name { font-size: clamp(34px, 6.67vw, 96px); line-height: 1.02; letter-spacing: -.04em; padding: .16em 0; }
.row__name > span + span:not(.row__thumb) { margin-left: .22em; }
.row__thumb { display: inline-block; vertical-align: middle; width: 0; height: .92em; margin: -.1em 0 0; border-radius: 50%; overflow: hidden; opacity: 0; transition: width .55s var(--ease), margin .55s var(--ease), opacity .3s; }
.row__thumb { position: relative; }
.row__thumb img { position: absolute; left: 0; top: 0; width: .92em; max-width: none; height: 100%; object-fit: cover; opacity: 0; }
.row__thumb img.is-on { opacity: 1; }
.row__meta { display: inline-flex; align-items: center; gap: 12px; color: var(--muted-stock); text-align: right; transition: color .3s; }
.row__meta .ico { color: var(--orange); opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .4s var(--ease); }
.row__count { font-size: clamp(17px, 1.95vw, 28px); letter-spacing: 0; vertical-align: baseline; }
.row--all .row__meta { color: var(--ink); }
.row--all .row__meta .ico { opacity: 1; transform: none; color: inherit; width: clamp(32px, 3.9vw, 56px); height: auto; }
@media (hover: hover) {
	.row:hover .row__num { color: var(--orange); }
	.row:hover .row__meta { color: var(--ink); }
	.row:hover .row__meta .ico { opacity: 1; transform: none; }
	/* Equal space either side of the circle. Left: .26em, less the -.04em letter-spacing that trails the last letter before it, so .22em. Right: the next word's own .22em space, so the circle adds none. */
	.row:hover .row__thumb { width: .92em; margin: -.1em 0 0 .26em; opacity: 1; }
	.row--all:hover .row__meta .ico { transform: translate(6px, -6px); }
}

/* ---------- Services ---------- */
.services { background: var(--ink); color: var(--stock); padding: clamp(80px, 9.7vw, 140px) 0 clamp(80px, 8.9vw, 128px); }
.services__grid { display: grid; grid-template-columns: minmax(0, 392fr) minmax(0, 920fr); }
.services__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-right: clamp(24px, 4.4vw, 64px); }
.services__lead { font-size: clamp(22px, 1.95vw, 28px); line-height: 1.29; letter-spacing: -.02em; }
.svc { border-top: 1px solid var(--stock); }
.svc__row { display: grid; grid-template-columns: 56px minmax(0, 480fr) minmax(0, 300fr) 40px; align-items: center; gap: 24px; min-height: clamp(96px, 9.4vw, 136px); padding: 12px 0; border-bottom: 1px solid var(--rule-ink); transition: background-color .35s var(--ease), color .35s var(--ease), padding .35s var(--ease); }
.svc li:last-child .svc__row { border-bottom-color: var(--stock); }
.svc__num { color: var(--muted-ink); transition: color .35s; }
.svc__title { font-size: clamp(34px, 4.45vw, 64px); line-height: 1; letter-spacing: -.02em; }
.svc__text { line-height: 28px; }
.svc__arrow { display: flex; justify-content: flex-end; }
.svc__arrow .ico { transition: transform .35s var(--ease); }
@media (hover: hover) {
	.svc__row:hover { background: var(--orange); color: var(--ink); padding-left: 16px; padding-right: 16px; border-bottom-color: var(--orange); }
	.svc__row:hover .svc__num { color: var(--ink); }
	.svc__row:hover .svc__arrow .ico { transform: translate(3px, -3px); }
}

/* ---------- Testimonials ---------- */
.quotes { position: relative; background: var(--orange); color: var(--ink); padding: clamp(80px, 9vw, 130px) 0 clamp(64px, 6.6vw, 96px); overflow: hidden; }
.quotes .wrap { position: relative; }
.quotes__head { display: flex; justify-content: space-between; gap: 16px; }
/* Every quote sits in the same cell. Script sets the height to the quote on show, so a short quote does not leave the space of the longest one. */
/* Clipped top and bottom only: the opening quote mark hangs out to the left and must stay visible. */
.quotes__stage { display: grid; margin: clamp(32px, 3.9vw, 56px) 0; clip-path: inset(0 -100vw); transition: height .6s var(--ease); }
.quote { grid-area: 1 / 1; align-self: start; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 3.9vw, 56px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .15s, visibility 0s; }
/* The opening quote mark hangs in the margin so the first word sits flush with the lines below.
   It is placed outside the text block, not pulled back by a measured indent, so it stays flush whatever the font's quote mark width. */
.quote blockquote p { position: relative; font-size: clamp(28px, 3.9vw, 56px); line-height: 1.18; letter-spacing: -.02em; max-width: 20em; }
.quote__mark { position: absolute; right: 100%; top: 0; padding-right: .04em; white-space: nowrap; }
.quote figcaption { display: flex; align-items: center; gap: 20px; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.quote strong { font-size: 20px; font-weight: 500; line-height: 28px; }
.quote__badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--stock); font-size: 20px; font-weight: 500; flex: none; }
.quotes__foot { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding-top: 32px; border-top: 1px solid var(--ink); }
.quotes__bars { display: flex; gap: 8px; }
.quotes__bars span { width: 56px; height: 3px; background: var(--rule-orange); overflow: hidden; }
.quotes__bars i { display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.quotes__bars .is-done i { transform: scaleX(1); }
.quotes__bars .is-active i { animation: bar var(--quote-time, 8s) linear forwards; }
.quotes.is-paused .quotes__bars .is-active i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.quotes__nav { display: flex; gap: 8px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 9.7vw, 140px) 0 clamp(88px, 10vw, 144px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 392fr) minmax(0, 920fr); }
.faq__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-right: clamp(24px, 4.4vw, 64px); }
.faq__title { font-weight: 400; font-size: clamp(40px, 4.45vw, 64px); line-height: 1; letter-spacing: -.02em; }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule-stock); }
.qa:last-child { border-bottom-color: var(--ink); }
.qa h3 { font-weight: 400; }
.qa button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 96px; padding: 20px 0; text-align: left; font-size: clamp(20px, 1.95vw, 28px); line-height: 1.29; letter-spacing: -.02em; }
.qa__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); flex: none; transition: background-color .3s, color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__icon { background: var(--ink); color: var(--stock); }
.qa.is-open .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.is-open .qa__panel { grid-template-rows: 1fr; }
.qa__panel > div { overflow: hidden; }
.qa__panel p { max-width: 40em; padding: 0 64px 36px 0; line-height: 28px; }

/* ---------- Newsletter ---------- */
.news { background: var(--ink); color: var(--stock); padding: clamp(80px, 9.7vw, 140px) 0 clamp(64px, 6.6vw, 96px); }
.news .mono--muted { color: var(--muted-ink); }
.news__grid { display: grid; grid-template-columns: minmax(0, 392fr) minmax(0, 480fr) minmax(0, 440fr); align-items: end; }
.news__grid > .mono { align-self: start; padding-top: 16px; }
.news__title { font-weight: 400; font-size: clamp(40px, 4.45vw, 64px); line-height: 1; letter-spacing: -.02em; margin-bottom: 12px; max-width: 8em; }
.news__form { display: flex; align-items: flex-end; gap: 16px; padding-left: clamp(0px, 4.4vw, 64px); }
.news__form label { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--stock); }
.news__form input { width: 100%; background: transparent; border: 0; padding: 0; color: var(--stock); font: inherit; font-size: 20px; line-height: 1.4; outline: none; border-radius: 0; }
.news__form input::placeholder { color: var(--muted-ink); opacity: 1; }
.news__form label:focus-within { border-bottom-color: var(--orange); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--stock); }
.footer .mono--muted { color: var(--muted-ink); }
.footer__inner { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 72px); padding-top: clamp(48px, 5vw, 72px); padding-bottom: 40px; }
.footer__cta { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(40px, 3.9vw, 56px); border-top: 1px solid var(--rule-ink); }
.footer__talk { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Pulled left by the L's own side space so the letter sits flush with the text above and below. */
.footer__talk-text { font-size: clamp(84px, 19.4vw, 280px); line-height: .93; letter-spacing: -.05em; white-space: nowrap; margin-left: -.058em; }
.footer__talk-btn { display: inline-flex; align-items: center; justify-content: center; width: clamp(64px, 11.1vw, 160px); height: clamp(64px, 11.1vw, 160px); border-radius: 50%; background: var(--stock); color: var(--ink); flex: none; transition: background-color .35s var(--ease), transform .5s var(--ease); }
.footer__talk-btn .ico { width: 45%; height: auto; stroke-width: 1px; }
.footer__talk-btn .ico path { stroke-width: 1; }
.footer__talk:hover .footer__talk-btn { background: var(--orange); transform: rotate(45deg); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 32px; border-top: 1px solid var(--rule-ink); }
.footer__cols h2 { font-weight: 400; margin-bottom: 16px; }
.footer__cols p { overflow-wrap: anywhere; }
.footer__cols a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.footer__cols a:hover, .footer__cols a.link { background-size: 100% 1px; }
.footer__cols a.link { display: inline; padding: 0; font-weight: 400; }
.footer__gap { display: block; height: 12px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--stock); }
.footer__policies { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.footer__cookie { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-ink); cursor: pointer; }
.footer__cookie:hover { color: var(--stock); }

/* ---------- Cookie choice ---------- */
.consent { position: fixed; left: var(--gutter); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 90; width: min(420px, calc(100vw - 2 * var(--gutter))); padding: 20px; background: var(--ink); color: var(--stock); border: 1px solid var(--rule-ink); border-radius: 16px; box-shadow: 0 16px 40px rgba(29, 30, 28, .28); opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.consent[hidden] { display: none; }
.consent.is-on { opacity: 1; transform: none; }
.consent__text { font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.consent__text a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.consent__actions { display: flex; gap: 8px; margin-top: 16px; }
/* Both buttons carry the same weight: declining is as easy as accepting. */
.consent__btn { flex: 1; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--stock); color: var(--stock); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.consent__btn:hover, .consent__btn:focus-visible { background: var(--stock); color: var(--ink); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-ink); }
.marquee--name { border-top: 1px solid var(--rule-ink); padding: clamp(16px, 2.2vw, 32px) 0; }
.marquee--name .marquee__track { animation-duration: 28s; }
.marquee--name .marquee__item { flex: none; padding-right: .28em; font-size: clamp(64px, 12.2vw, 176px); line-height: 1; letter-spacing: -.04em; white-space: nowrap; text-transform: uppercase; }
.marquee__year { color: var(--orange); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.2vw, 32px); padding-top: clamp(40px, 6.6vw, 96px); padding-bottom: clamp(48px, 6.6vw, 96px); }
.page-hero__title { font-weight: 400; font-size: clamp(56px, 10.55vw, 152px); line-height: .92; letter-spacing: -.04em; max-width: 100%; overflow-wrap: anywhere; }
.page-hero__lede { max-width: 30em; font-size: clamp(18px, 1.4vw, 20px); font-weight: 500; line-height: 1.6; }
.back { display: inline-flex; align-items: center; gap: 8px; }
.back .ico { transition: transform .3s var(--ease); }
.back:hover .ico { transform: translateX(-4px); }

.index--page { padding-top: 0; }

/* Work page: two projects to a row, image first. */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) 24px; padding-top: clamp(32px, 3.9vw, 56px); }
.cards > li[hidden] { display: none; }
.cards .rows__empty { grid-column: 1 / -1; }
.card { display: flex; flex-direction: column; gap: 20px; }
.card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rule-stock); }
.card__img img, .card__img video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card__text { display: flex; flex-direction: column; gap: 8px; }
.card__name { display: flex; justify-content: space-between; gap: 16px; }
.card__tags { color: var(--muted-stock); text-align: right; }
.card__line { font-size: clamp(20px, 1.95vw, 28px); line-height: 1.29; letter-spacing: -.02em; max-width: 24em; text-wrap: balance; }
a.card:hover .card__img img, a.card:hover .card__img video { transform: scale(1.04); }
a.card .card__line { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); align-self: flex-start; }
a.card:hover .card__line { background-size: 100% 1.5px; }
/* Play: smaller pieces, three to a row, and nothing to click through to. */
.cards--play { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--play { align-items: start; }
.cards--play .card__img { aspect-ratio: auto; }
.cards--play .card__img img, .cards--play .card__img video { height: auto; }
.cards--play .card__line { font-size: 17px; line-height: 1.6; letter-spacing: 0; color: var(--muted-stock); }

/* Case study */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; padding-top: 24px; border-top: 2px solid var(--accent, var(--ink)); }
.facts dt { color: var(--muted-stock); margin-bottom: 8px; }
.facts dd { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; line-height: 1.4; }
.case__lead { overflow: hidden; }
.case__lead img, .media img, .media video { width: 100%; height: auto; display: block; }
.case__lead > img { transform-origin: 50% 50%; }
.case__story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6.6vw, 96px); padding-top: clamp(64px, 8.9vw, 128px); padding-bottom: clamp(64px, 8.9vw, 128px); }
.case__story h2 { font-weight: 400; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.case__story p { font-size: clamp(20px, 1.95vw, 28px); line-height: 1.36; letter-spacing: -.02em; }
.case__lede { max-width: 34em; font-size: clamp(20px, 1.95vw, 28px); line-height: 1.36; letter-spacing: -.02em; margin-bottom: clamp(40px, 5vw, 72px); }
.case__media { display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(64px, 8.9vw, 128px); }
/* With no brief or outcome text, the lead image is followed straight away by the rest: keep the same gap as between every other image. */
.case__lead + .case__media { padding-top: 24px; }
.media { margin: 0; overflow: hidden; }
.media--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; overflow: visible; }
.media--pair figure { overflow: hidden; }
.media--pair img, .media--pair video { height: 100%; object-fit: cover; }
.media--embed { aspect-ratio: 16 / 9; }
.media--embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.media--text { max-width: 44em; padding: clamp(24px, 4vw, 56px) 0; overflow: visible; }
.media--text h2 { font-weight: 400; margin-bottom: 16px; }
.media--text p { font-size: clamp(20px, 1.95vw, 28px); line-height: 1.36; letter-spacing: -.02em; }
.case__quote { background: var(--ink); color: var(--stock); padding: clamp(72px, 9.7vw, 140px) 0; }
.case__quote .quote { opacity: 1; visibility: visible; gap: 32px; }
.case__quote figcaption { color: var(--muted-ink); }
.next { padding-top: clamp(64px, 8.9vw, 128px); padding-bottom: clamp(72px, 8.9vw, 128px); }
.next > .mono { padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.next .row { border-bottom-color: var(--ink); }
.next .row__num { visibility: hidden; }

/* Logo and icon archives */
.marks-wrap { padding-bottom: clamp(64px, 8.9vw, 128px); }
.marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-stock); border: 1px solid var(--rule-stock); }
.marks__item { background: var(--stock); overflow: hidden; }
.marks__item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.marks__item:hover img { transform: scale(1.04); }

/* Process */
.rise { background: var(--ink); color: var(--stock); padding: clamp(48px, 5.5vw, 80px) 0 clamp(72px, 8.9vw, 128px); }
.rise__step { display: grid; grid-template-columns: minmax(0, 300fr) minmax(0, 420fr) minmax(0, 592fr); align-items: center; gap: 24px; padding: clamp(24px, 3.3vw, 48px) 0; border-bottom: 1px solid var(--rule-ink); }
.rise__step:last-child { border-bottom-color: var(--stock); }
.rise__letter { font-size: clamp(120px, 16.6vw, 240px); line-height: .82; letter-spacing: -.05em; color: var(--orange); margin-left: -.05em; }
.rise__body .mono { color: var(--muted-ink); margin-bottom: 8px; }
.rise__title { font-weight: 400; font-size: clamp(40px, 4.45vw, 64px); line-height: 1; letter-spacing: -.02em; }
.rise__text { display: flex; flex-direction: column; gap: 8px; line-height: 28px; }
.rise__summary { font-size: clamp(20px, 1.95vw, 28px); line-height: 1.29; letter-spacing: -.02em; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 696fr); gap: clamp(40px, 6.6vw, 96px); padding-bottom: clamp(80px, 10vw, 144px); }
.contact__lede { font-size: clamp(20px, 1.95vw, 28px); line-height: 1.36; letter-spacing: -.02em; margin-bottom: clamp(32px, 4vw, 56px); }
.contact__details { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.contact__details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule-stock); }
.contact__details dt { color: var(--muted-stock); padding-top: 4px; }
.contact__details dd { font-weight: 500; overflow-wrap: anywhere; }
.form { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.form__trap { position: absolute; left: -9999px; }
.form__legal { color: var(--muted-stock); font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }
/* The reCAPTCHA badge is replaced by the line of text under the Send button, as Google allows. */
.grecaptcha-badge { visibility: hidden; }
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; padding-bottom: 12px; border-bottom: 1px solid var(--ink); transition: border-color .3s; }
.field:focus-within { border-bottom-color: var(--orange); }
.field .mono { color: var(--muted-stock); }
.field i { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; padding: 0; color: var(--ink); font: inherit; font-size: 20px; line-height: 1.4; outline: none; border-radius: 0; resize: vertical; }
.notice { padding: 32px 0; border-top: 2px solid var(--ink); }
.notice__title { font-weight: 400; font-size: clamp(32px, 4.45vw, 64px); line-height: 1; letter-spacing: -.02em; margin-bottom: 16px; }
.notice--error { border-top-color: var(--orange); padding: 16px 0; margin-bottom: 24px; font-weight: 500; }

@media (max-width: 900px) {
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards--play { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.case__story, .contact { grid-template-columns: minmax(0, 1fr); }
	.rise__step { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); align-items: start; }
	.rise__text { grid-column: 2; }
	.rise__letter { font-size: 110px; }
}
@media (max-width: 760px) {
	.media--pair { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.cards, .cards--play { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.card { gap: 14px; }
	.case__media { gap: 16px; }
	.case__lead + .case__media { padding-top: 16px; }
	.marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rise__step { grid-template-columns: minmax(0, 72px) minmax(0, 1fr); gap: 8px 16px; }
	.rise__letter { font-size: 80px; line-height: .9; }
	.rise__title { font-size: 36px; }
	.contact__details > div { grid-template-columns: 96px minmax(0, 1fr); }
	.field input, .field textarea { font-size: 17px; }
}

/* ---------- Text with links (brief, outcome, FAQ answers, About, text blocks) ---------- */
.rich > * + * { margin-top: .8em; }
.rich a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; transition: color .25s var(--ease); }
.rich a:hover { color: var(--orange); }
.case__story .rich a:hover, .media--text .rich a:hover, .faq .rich a:hover { color: var(--muted-stock); }

/* ---------- Plain text pages (Privacy Policy) ---------- */
.prose { max-width: calc(44em + 2 * var(--gutter)); padding-bottom: clamp(72px, 9vw, 128px); line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-weight: 400; font-size: clamp(26px, 2.78vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin-top: 1.6em; }
.prose h3 { font-weight: 500; font-size: 20px; margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: revert; }
.holding__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- Page not found ---------- */
.holding { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(96px, 12vw, 176px); }
.holding__title { font-weight: 400; font-size: clamp(56px, 10.5vw, 152px); line-height: .92; letter-spacing: -.04em; }
.holding__text { max-width: 30em; font-size: 20px; font-weight: 500; }
.holding__list { margin-top: 24px; width: 100%; border-top: 1px solid var(--ink); }
.holding__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule-stock); font-size: clamp(24px, 3vw, 40px); letter-spacing: -.02em; }

/* ---------- Page transitions: the page fades to dark on the way out and back from dark on the way in ---------- */
html::after { content: ""; position: fixed; inset: 0; z-index: 300; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .55s var(--ease); }
html.is-leaving::after { opacity: 1; transition: opacity .38s ease-in; pointer-events: auto; }
html.is-arriving::after { opacity: 1; transition: none; }
html.is-leaving main, html.is-leaving .footer { transform: translateY(-14px); transition: transform .4s ease-in; }

/* ---------- Motion: starting states. Everything is visible without JS or with reduced motion. ---------- */
.has-motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.has-motion.is-loading .site-header--over,
.has-motion.is-loading [data-hero-fade],
.has-motion.is-loading [data-hero-title],
.has-motion.is-loading [data-hero-img] { opacity: 0; }
.has-motion [data-blur] { visibility: hidden; }
.has-motion:not(.motion-ready) [data-qa], .has-motion:not(.motion-ready) [data-quote] blockquote p, .has-motion:not(.motion-ready) [data-quote] figcaption { opacity: 0; }
.motion-failed [data-qa], .motion-failed [data-quote] blockquote p, .motion-failed [data-quote] figcaption { opacity: 1 !important; }
.motion-failed [data-reveal] { opacity: 1 !important; transform: none !important; }
.motion-failed [data-blur] { visibility: visible !important; }
.line-mask { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
/* Split words carry a blur while they animate, and Safari clips a blurred inline-block to its own box, which cut off descenders (g, y, p) until the blur was cleared. The padding gives the glyphs room and the negative margin keeps the layout unchanged. */
.w { padding: .14em .08em .26em; margin: -.14em -.08em -.26em; }

/* ==========================================================================
   Smaller screens
   ========================================================================== */
@media (max-width: 1100px) {
	.svc__row { grid-template-columns: 40px minmax(0, 1fr) 32px; }
	.svc__text { grid-column: 2; grid-row: 2; }
	.svc__title { grid-column: 2; }
	.svc__arrow { grid-column: 3; grid-row: 1; }
	.news__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 0; }
	.news__grid > .mono { grid-column: 1 / -1; padding-top: 0; }
}

@media (max-width: 900px) {
	.site-header { padding-top: 12px; --bar-h: 56px; --in: calc((100vw - 2 * var(--gutter) - 204px) / 2); }
	.site-header__bar { position: relative; isolation: isolate; transition: color .45s var(--ease); }
	.site-header__bar::before { content: ""; position: absolute; left: 50%; top: 50%; width: 204px; height: 64px; border-radius: 999px; background: var(--ink); box-shadow: 0 8px 30px rgba(29, 30, 28, .18); transform: translate(-50%, -50%) scale(.7, .85); opacity: 0; transition: transform .8s var(--ease), opacity .45s var(--ease); z-index: -1; pointer-events: none; }
	.site-header__logo { width: 56px; height: 56px; transition: transform .8s var(--ease); will-change: transform; }
	.site-header__nav, .site-header__cta { display: none; }
	.menu-toggle { display: inline-flex; height: 48px; padding: 0 22px; font-size: 16px; gap: 10px; }
	.site-header__actions { transition: transform .8s var(--ease); will-change: transform; }
	.site-header.is-compact { padding-top: 12px; }
	.site-header.is-compact .site-header__bar { width: 100%; padding: 0; background: rgba(29, 30, 28, 0); box-shadow: none; }
	.site-header.is-compact .site-header__bar::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	.site-header.is-compact .site-header__logo { width: 56px; height: 56px; transform: translateX(calc(var(--in) + 4px)) scale(.857); }
	.site-header.is-compact .site-header__actions { transform: translateX(calc(var(--in) * -1 - 8px)); }
	.site-header.is-compact .menu-toggle { height: 48px; padding: 0 22px; }
	.site-header--plain ~ main { padding-top: 80px; }

	.hero__top { grid-template-columns: minmax(0, 1fr); }
	.hero__intro { max-width: 30em; padding-top: 0; }
	.about__grid, .clients, .services__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
	.about__img { max-width: 520px; }
	.clients__label { padding: 32px 0 0; }
	.clients__list { padding-top: 20px; }
	.services__intro, .faq__intro { padding-right: 0; margin-bottom: 40px; }
	.footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.news__form { padding-left: 0; grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.mono { font-size: 12px; line-height: 18px; }
	.hero { padding-top: 104px; }
	.hero__title { font-size: clamp(44px, 13.4vw, 60px); line-height: 1; }
	/* The set line break only fits on wider screens. On phones it would leave single words on their own lines. */
	.hero__title br { display: none; }
	/* Intro: a touch smaller, and wrapped so the last line never holds a single word. */
	.hero__intro p:last-child { font-size: 16px; line-height: 25px; text-wrap: balance; }
	.only-wide { display: none; }
	.only-phone { display: inline; }
	.hero__tiles { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74vw; grid-template-rows: auto auto; gap: 16px 12px; margin-left: 0; margin-right: 0; padding-right: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.hero__tiles::-webkit-scrollbar { display: none; }
	.tile { scroll-snap-align: start; gap: 16px; }
	/* Room after the last tile comes from the scroller, so every tile stays the same width. */
	.hero__tiles { padding-right: var(--gutter) !important; }

	/* Less air above the statement on phones: it sits near the top of its screen instead of dead centre. */
	.statement__inner { justify-content: flex-start; padding-top: 112px; padding-bottom: 72px; }
	.marquee__logo img { height: calc(var(--k, 1) * 72px); }

	.recent__pin { flex-direction: column; align-items: flex-start; justify-content: center; font-size: clamp(72px, 24.6vw, 110px); }
	.recent__body { padding-top: 32px; }
	.recent__tiles { gap: 64px; padding-top: 18vh; }
	.shot { width: 74vw; }
	.shot--1, .shot--3, .shot--5 { margin-left: auto; margin-top: 0; }
	.shot--2, .shot--4 { margin-left: 0; }
	.shot__cap { flex-direction: column; gap: 0; }
	.shot__cap span:last-child { opacity: .7; }

	.about__detail { grid-template-columns: minmax(0, 1fr); }
	.stats { justify-content: space-between; }
	.ring--about { width: 120vw; right: -60vw; top: 20%; }
	
	.index__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; padding: 14px 0; }
	.row__num { display: none; }
	.row__name { font-size: clamp(32px, 10.2vw, 44px); }
	.row__meta { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
	.row--all .row__meta { grid-column: 2; grid-row: 1; }
	.row--all .row__num { display: none; }

	.svc__row { grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 4px 12px; padding: 20px 0; }
	.svc__title { font-size: 32px; }
	.svc__text { font-size: 15px; line-height: 23px; color: var(--muted-ink); }

	.quotes__foot { justify-content: space-between; }
	.quotes__bars span { width: 32px; }
	.quote strong { font-size: 17px; }
	.round { width: 48px; height: 48px; }

	.qa button { min-height: 76px; padding: 16px 0; }
	.qa__icon { width: 44px; height: 44px; }
	.qa__panel p { padding-right: 0; padding-bottom: 28px; line-height: 25px; }

	.news__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.news__form input { font-size: 17px; }

	.footer__talk-text { white-space: normal; font-size: clamp(84px, 23.5vw, 110px); line-height: .92; }
	.footer__talk { align-items: flex-end; }
	.footer__legal { flex-direction: column; }
}

@media (hover: none) and (min-width: 761px) {
	.row__thumb { width: .92em; margin: -.1em 0 0 .26em; opacity: 1; }
}
@media (max-width: 760px) {
	.row__thumb { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; }
	.marquee--logos .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
	.marquee--logos .marquee__logo[aria-hidden] { display: none; }
	.quotes__bars .is-active i { animation: none; transform: scaleX(1); }
	* { transition-duration: .01ms !important; }
}
