/* Ueber EDGE */

@font-face {
	font-family: "Albert Sans";
	src: url("fonts/albert-sans-latin.woff2") format("woff2");
	font-weight: 300 600;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Albert Sans";
	src: url("fonts/albert-sans-latin-ext.woff2") format("woff2");
	font-weight: 300 600;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--ink: #1c1d1f;
	--ink-2: #2a2c2f;
	--text: #3b3d40;
	--muted: #7a7c80;
	--stone: #8c8579;
	--stone-light: #c9c3b8;
	--paper: #ffffff;
	--tint: #f4f3f0;
	--line: #e2dfd9;
	--ok: #2f6b4f;
	--error: #9b2c2c;

	--font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 128px);
	--header: 106px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 300 18px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1; letter-spacing: .01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 16px; }

/* Type */
.eyebrow {
	margin: 0 0 16px;
	color: var(--ink);
	font-size: 12px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.eyebrow a { text-decoration: none; }
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.h1 { font-size: clamp(34px, 4.2vw, 60px); font-weight: 500; line-height: 1; }
.h2 { font-size: clamp(32px, 4.2vw, 60px); font-weight: 500; line-height: 1; }
.lead { font-size: 18px; color: var(--text); max-width: 62ch; }

.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.2em; }
.prose h2 { margin: 2em 0 .6em; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.prose h3 { margin: 1.6em 0 .4em; font-size: 24px; font-weight: 400; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose--lead { font-size: 18px; margin-bottom: 32px; }
.prose--page { font-size: 18px; margin-bottom: 40px; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 38px;
	border: 2px solid var(--ink);
	background: transparent;
	color: var(--ink);
	font-size: 16px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost-light { border-color: #fff; color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header);
	padding-top: 30px;
	color: #fff;
	transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.site-header__inner.wrap { max-width: none; padding: 0 30px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 50px; }
.brand__dark { display: none; }
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid .brand__light { display: none; }
.site-header.is-solid .brand__dark { display: block; }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { position: fixed; background: transparent; color: #fff; box-shadow: none; transform: none; }
body.menu-open .site-header .brand__light { display: block; }
body.menu-open .site-header .brand__dark { display: none; }

.nav { display: flex; align-items: center; gap: 40px; }
.btn--header { min-height: 46px; padding: 12px 38px; border-color: currentColor; color: inherit; font-size: 14px; letter-spacing: .16em; }
.btn--header:hover, .btn--header[aria-current] { background: #fff; border-color: #fff; color: var(--ink); }
.site-header.is-solid .btn--header:hover, .site-header.is-solid .btn--header[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.langs { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.langs a { display: block; padding: 8px 0; color: inherit; opacity: .6; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-decoration: none; }
.langs a:hover, .langs a[aria-current] { opacity: 1; }
.menu .langs { justify-content: center; margin-bottom: 24px; }
.menu .langs a { font-size: 16px; }
.nav__list { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.nav__list a {
	position: relative;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
	display: block; width: 24px; height: 1.5px; margin: 0 auto; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; transform-origin: 50% 50%; }
.menu-toggle__bars::after { top: 7px; transform-origin: 50% 50%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: #fff; overflow-y: auto; }
.menu__inner { display: flex; flex-direction: column; align-items: center; min-height: 100%; padding-top: calc(var(--header) + 36px); padding-bottom: 40px; text-align: center; }
.menu__list { margin: 0 0 32px; padding: 0; list-style: none; }
.menu__list a { display: block; padding: 9px 0; font-size: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.menu .btn { width: 100%; margin-bottom: 32px; }
.menu__list a[aria-current] { color: var(--stone-light); }
.menu__mail { color: var(--stone-light); font-weight: 500; text-decoration: none; }

@media (max-width: 1180px) {
	.nav { display: none; }
	.menu-toggle { display: block; }
	.brand img { height: 36px; }
	:root { --header: 72px; }
	.site-header { padding-top: 18px; }
	.site-header__inner.wrap { padding: 0 var(--gutter); }
}

/* Inner pages start with a solid header area */
.is-inner .page-hero { padding-top: var(--header); }

/* Hero */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	color: #fff;
	background: var(--ink);
	isolation: isolate;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slides { z-index: -1; overflow: hidden; }
.hero__slide { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease, transform 8s linear; transform: scale(1.06); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(20, 21, 23, .72) 0%, rgba(20, 21, 23, .45) 45%, rgba(20, 21, 23, 0) 75%),
		linear-gradient(180deg, rgba(20, 21, 23, .55) 0%, rgba(20, 21, 23, .1) 28%, rgba(20, 21, 23, .2) 55%, rgba(20, 21, 23, .8) 100%);
}
.hero__inner { padding-top: calc(var(--header) + 40px); padding-bottom: clamp(56px, 10vh, 112px); }
.hero__title { max-width: 18ch; color: var(--stone-light); font-size: clamp(36px, 4.2vw, 60px); font-weight: 500; line-height: 1; }
.hero__text { max-width: 54ch; margin: 28px 0 40px; font-size: 18px; font-weight: 500; color: #fff; }

/* Page hero (inner pages) */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 52vh, 520px); background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 21, 23, .5), rgba(20, 21, 23, .15) 40%, rgba(20, 21, 23, .7)); }
.page-hero__inner { padding-top: 48px; padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero__title { color: #fff; font-size: clamp(38px, 5.4vw, 68px); font-weight: 500; }

/* Sections */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lead { margin-top: 20px; }
.section-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 32px; }
.section-row .btn { margin-bottom: clamp(32px, 4vw, 56px); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .h2 { max-width: 14ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin: 0 0 48px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.service__no { display: block; margin-bottom: 22px; color: var(--stone); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.service__title { margin-bottom: 10px; font-size: 22px; }
.service p { margin: 0; font-size: 16px; }

.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 80px 4fr 7fr; gap: 16px 40px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.service-row__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; }
.service-row__text { margin: 0; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row .service__no { margin: 0; } }

/* Figures */
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding: clamp(36px, 6vw, 80px); background: var(--ink); color: rgba(255, 255, 255, .82); }
.figures .h2 { color: #fff; margin-bottom: 24px; }
.figures__text p { max-width: 48ch; margin: 0; }
.figures__list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; margin: 0; align-content: center; }
.figures__list div { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 16px; }
.figures__list dt { order: 2; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-light); }
.figures__list dd { margin: 0 0 4px; color: #fff; font-size: clamp(44px, 5.5vw, 72px); font-weight: 300; line-height: 1; }
.figures__list div { display: flex; flex-direction: column-reverse; }
.markets { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; margin: 0; padding: 0; list-style: none; }
.markets li { padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 18px; }
@media (max-width: 860px) { .figures { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; gap: clamp(20px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--3 { grid-template-columns: 1fr; } }
.card[hidden] { display: none; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card__media--wide { aspect-ratio: 3 / 2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 24px; background: var(--tint); }
.card__title { color: var(--ink); font-size: clamp(24px, 2.1vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: .01em; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink); font-size: 12px; line-height: 1.25; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.card__meta span + span { color: var(--stone); font-size: 10px; text-align: right; }
.card__arrow { margin-top: auto; padding-top: 6px; color: var(--ink); font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.card__link:hover .card__arrow { transform: translateX(6px); }
.card--project .card__media { aspect-ratio: 5 / 6; }
.card__tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.cards__more { margin-top: clamp(32px, 4vw, 48px); }
.card__date { color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.card__text { font-size: 16px; }
.card__more { margin-top: auto; padding-top: 6px; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.card__more::after { content: " →"; transition: margin .3s var(--ease); }
.card__link:hover .card__more::after { margin-left: 6px; }
.tag { padding: 7px 10px; border-radius: 3px; background: var(--ink); color: #fff; text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { min-height: 40px; padding: 8px 18px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Feature band (image with overlapping card) */
.feature { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto var(--section); padding: 0 var(--gutter); }
.feature__media { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 16 / 10; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__card { grid-column: 7 / 13; grid-row: 1; align-self: center; z-index: 1; padding: clamp(32px, 4.5vw, 64px); background: var(--ink-2); color: rgba(255, 255, 255, .84); }
.feature__card .h2 { margin-bottom: 20px; color: #fff; }
.feature__card p { margin-bottom: 32px; }
@media (max-width: 860px) {
	.feature { grid-template-columns: 1fr; }
	.feature__media, .feature__card { grid-column: 1; }
	.feature__card { grid-row: 2; margin: -48px 16px 0; }
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.person__button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.person__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s var(--ease), transform .8s var(--ease); }
.person__button:hover .person__photo img, .person__button:focus-visible .person__photo img { filter: none; transform: scale(1.03); }
.person__name { display: block; margin-top: 16px; color: var(--ink); font-size: 20px; font-weight: 400; }
.person__role { display: block; color: var(--muted); font-size: 15px; }

.bio { width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; background: #fff; color: var(--text); }
.bio[open] { display: grid; grid-template-columns: 2fr 3fr; }
.bio::backdrop, .lightbox::backdrop { background: rgba(20, 21, 23, .82); }
.bio__photo { width: 100%; height: 100%; object-fit: cover; }
.bio__text { padding: clamp(28px, 4vw, 48px); overflow-y: auto; }
.bio__name { margin-bottom: 20px; font-size: 34px; font-weight: 300; }
.bio__close, .lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; background: #fff; }
.bio__close::before, .bio__close::after, .lightbox__close::before, .lightbox__close::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg);
}
.bio__close::after, .lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
@media (max-width: 680px) { .bio[open] { grid-template-columns: 1fr; overflow-y: auto; } .bio__photo { aspect-ratio: 4 / 3; height: auto; } }

/* Lightbox */
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 64px clamp(16px, 6vw, 96px); border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { display: flex; flex-direction: column; max-width: 100%; height: 100%; margin: 0; text-align: center; }
.lightbox__figure img { flex: 1 1 auto; min-height: 0; max-width: 100%; margin: 0 auto; object-fit: contain; }
.lightbox__figure figcaption { flex: none; max-width: 70ch; max-height: 22vh; margin: 16px auto 0; overflow-y: auto; color: rgba(255, 255, 255, .85); font-size: 15px; }
.lightbox__nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; }
.lightbox__nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border: solid #fff; border-width: 1.5px 1.5px 0 0; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.lightbox__nav--next { right: 16px; }
.lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.lightbox__nav:hover { background: rgba(255, 255, 255, .12); }

/* Article */
.article-head { padding: calc(var(--header) + clamp(48px, 7vw, 96px)) 0 clamp(32px, 4vw, 48px); }
.article-head .h1 { margin-bottom: 20px; }
.article-media img { width: 100%; max-height: 640px; object-fit: cover; }

/* Forms */
.form { display: grid; gap: 8px; }
.label { margin-top: 12px; color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.field { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 0; background: transparent; color: #fff; font: inherit; }
.field::placeholder { color: rgba(255, 255, 255, .6); }
.field--dark { border-color: var(--line); background: #fff; color: var(--ink); }
.field--dark:focus { border-color: var(--ink); outline: none; }
textarea.field { resize: vertical; min-height: 160px; }
.form .btn { justify-self: start; margin-top: 20px; }
.notice { margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid var(--ok); background: rgba(47, 107, 79, .08); color: var(--ink); font-size: 15px; }
.notice--error { border-color: var(--error); background: rgba(155, 44, 44, .08); }
.site-footer .notice { color: #fff; background: rgba(255, 255, 255, .08); }
.contact-mail { margin-top: 32px; font-size: clamp(22px, 2.4vw, 30px); }
.contact-mail a { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); font-size: 16px; }
.site-footer__links a { font-size: 18px; font-weight: 500; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: 56px; }
.site-footer__brand img { width: auto; height: 40px; margin-bottom: 24px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer .eyebrow { color: var(--stone-light); }
.site-footer__links { margin: 0; padding: 0; list-style: none; }
.site-footer__links a, .site-footer__mail { color: #fff; text-decoration: none; }
.site-footer__links a:hover, .site-footer__mail:hover { text-decoration: underline; }
.site-footer__links li { margin-bottom: 6px; }
.site-footer__mail { display: inline-block; margin-bottom: 12px; }
.newsletter { display: grid; gap: 12px; align-content: start; }
.newsletter .eyebrow { margin-bottom: 6px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; letter-spacing: .06em; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #fff; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.form-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; opacity: .75; }
.form-note a { color: inherit; }
.legal-page { padding-bottom: var(--section); }
.legal-page .prose h2:first-child { margin-top: 0; }
.legal-page .prose a { color: inherit; }
.legal-updated { margin-top: 40px; font-size: 14px; color: var(--stone); }
mark.todo { padding: 0 4px; background: #fff3b0; color: #6b5500; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; gap: 40px; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Project page */
.project-hero { position: relative; display: flex; align-items: flex-end; min-height: 86vh; min-height: 86svh; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.project-hero__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(20, 21, 23, .7) 0%, rgba(20, 21, 23, .35) 50%, rgba(20, 21, 23, 0) 80%),
		linear-gradient(180deg, rgba(20, 21, 23, .55) 0%, rgba(20, 21, 23, .05) 30%, rgba(20, 21, 23, .75) 100%);
}
.project-hero__inner { padding-top: calc(var(--header) + 32px); padding-bottom: clamp(96px, 14vh, 150px); }
.project-hero__title { max-width: 18ch; margin: 18px 0 20px; color: #fff; font-size: clamp(40px, 5.4vw, 72px); font-weight: 500; line-height: 1.02; }
.project-hero__intro { max-width: 56ch; margin: 0; color: rgba(255, 255, 255, .9); font-size: clamp(16px, 1.4vw, 19px); }
.crumbs { margin-bottom: 22px; color: rgba(255, 255, 255, .8); font-size: 13px; letter-spacing: .06em; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: #fff; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }

.facts-wrap { position: relative; z-index: 2; margin-top: -64px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 0 auto; }
.fact { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 26px; background: var(--tint); }
.fact dt { color: var(--stone); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.fact dd { margin: 0; color: var(--ink); font-size: 19px; font-weight: 400; line-height: 1.3; }

.wide-image { margin: 0 0 var(--section); }
.wide-image a { display: block; }
.wide-image img { width: 100%; max-height: 88vh; object-fit: cover; }
.carousel { position: relative; overflow: hidden; height: min(88vh, 62vw); background: var(--dark, #141517); }
.carousel__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; }
.carousel__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.carousel .carousel__slide img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.carousel__nav { position: absolute; z-index: 2; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(20, 21, 23, .25); cursor: pointer; transition: background .2s; }
.carousel__nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border: solid #fff; border-width: 2px 2px 0 0; }
.carousel__nav--prev { left: clamp(12px, 3vw, 40px); }
.carousel__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.carousel__nav--next { right: clamp(12px, 3vw, 40px); }
.carousel__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.carousel__nav:hover, .carousel__nav:focus-visible { background: rgba(20, 21, 23, .6); }
.carousel__count { position: absolute; z-index: 2; right: clamp(12px, 3vw, 40px); bottom: 20px; margin: 0; padding: 4px 12px; background: rgba(20, 21, 23, .55); color: #fff; font-size: 14px; letter-spacing: .14em; }
@media (max-width: 700px) { .carousel { height: 70vw; } .carousel__nav { width: 44px; height: 44px; margin-top: -22px; } }

.quote { margin: 0 auto; text-align: center; }
.quote p { margin: 0 0 20px; color: var(--ink); font-size: clamp(26px, 3.2vw, 40px); font-weight: 300; line-height: 1.25; }
.quote p::before { content: "“"; }
.quote p::after { content: "”"; }
.quote footer { color: var(--stone); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.milestone { padding: 0 0 8px; color: var(--muted); }
.milestone__bar { display: block; height: 3px; margin-bottom: 18px; background: var(--line); }
.milestone.is-done .milestone__bar { background: var(--ink); }
.milestone.is-current .milestone__bar { background: linear-gradient(90deg, var(--ink) 50%, var(--line) 50%); }
.milestone__title { display: block; color: var(--ink); font-size: 19px; }
.milestone:not(.is-done):not(.is-current) .milestone__title { color: var(--muted); }
@media (max-width: 680px) { .milestones { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }

.gallery { columns: 3 280px; column-gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.gallery li { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 20px); }
.gallery__item { position: relative; display: block; overflow: hidden; background: var(--line); }
.gallery__item img { width: 100%; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__caption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* Home: blocks modelled on inizia.ch */
.intro { padding: var(--section) 0; }
.intro--last { padding-top: calc(var(--section) * 1.2); }
.intro__head { max-width: 920px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.intro__head .lead { margin-top: 24px; }
.intro__body { max-width: 640px; margin-left: calc((100% + 32px) / 6); }
.intro__body .prose--lead { margin-bottom: 36px; }
.intro__body .lead { margin-bottom: 36px; }
@media (max-width: 860px) { .intro__body { margin-left: 0; } }

.tile { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 var(--section); }
.tile__media { grid-column: 2; grid-row: 1; min-height: clamp(520px, 62vw, 960px); overflow: hidden; background: var(--line); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__box {
	grid-column: 1; grid-row: 1; align-self: stretch;
	margin-top: clamp(64px, 10vw, 150px);
	padding: clamp(40px, 6vw, 96px) clamp(28px, 5vw, 88px) clamp(40px, 5vw, 80px) max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	background: var(--ink); color: rgba(255, 255, 255, .84);
}
.tile__box .h2, .showcase__box .h2, .numbers .h2 { color: var(--stone-light); }
.tile__box .h2 { max-width: 13ch; margin-bottom: 28px; }
.tile__box p { max-width: 46ch; }
.tile__box .btn { margin-top: 20px; }
@media (max-width: 860px) {
	.tile { grid-template-columns: 1fr; }
	.tile__media { grid-column: 1; min-height: 0; aspect-ratio: 4 / 3; }
	.tile__box { grid-column: 1; grid-row: 2; margin: 0; padding: 40px var(--gutter) 48px; }
}

.showcase { position: relative; margin: 0 0 calc(var(--section) + 72px); }
.showcase__img { width: 100%; height: clamp(420px, 66vw, 940px); object-fit: cover; }
.showcase__box {
	position: absolute; bottom: -72px; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	width: min(640px, 46%);
	padding: clamp(36px, 4.4vw, 64px);
	background: var(--ink); color: rgba(255, 255, 255, .84);
}
.showcase--top .showcase__box { top: 0; bottom: auto; }
.showcase--top { margin-bottom: var(--section); }
.showcase__box .h2 { margin-bottom: 24px; }
.showcase__box .btn { margin-top: 12px; }
@media (max-width: 860px) {
	.showcase, .showcase--top { margin-bottom: var(--section); }
	.showcase__img { height: auto; aspect-ratio: 4 / 3; }
	.showcase__box, .showcase--top .showcase__box { position: relative; inset: auto; width: auto; margin: -56px var(--gutter) 0; }
}

.numbers { margin: 0 clamp(8px, 1vw, 16px) var(--section); padding: var(--section) 0; background: var(--ink); color: rgba(255, 255, 255, .84); }
.numbers .h2 { max-width: 20ch; margin-bottom: 28px; }
.numbers__text { max-width: 60ch; }
.numbers__updated { margin: 28px 0 0; color: #fff; font-size: 18px; font-weight: 500; }
.numbers__list { margin: clamp(40px, 6vw, 80px) 0 0; }
.numbers__row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 32px; padding: clamp(20px, 2.6vw, 34px) 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.numbers__row dt { order: 2; color: #fff; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.2; font-weight: 500; }
.numbers__row dt span { display: block; color: rgba(255, 255, 255, .6); font-weight: 400; font-size: 15px; }
.numbers__row dd { order: 1; margin: 0; color: var(--stone-light); font-size: clamp(64px, 8.9vw, 128px); font-weight: 500; line-height: 1; letter-spacing: 0; }
@media (max-width: 600px) { .numbers__row { grid-template-columns: 1fr; } }
