@font-face {
	font-family: "NimbusSanL-BoldCond";
	src: url("../fonts/NimbusSanL-BoldCond.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "KTFConcrete-A-Extrabold";
	src: url("../fonts/KTFConcrete-A-Extrabold.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	font: inherit;
}

body {
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	appearance: none;
	border: none;
	background: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

p {
	text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

a {
	color: inherit;
	text-decoration: none;
}

p a {
	text-decoration: underline dotted;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid;
	outline-offset: 2px;
}

[data-sr] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* CHOICE-D */
:root {
	/*--page: clamp(1.5rem, 4vmin, 3.5rem);*/
	/*--page: 2.25rem;*/
	--page: 36px;
	--gap: 1.5rem;
	--headroom: calc(1.235em * 3);
	--slides-r: var(--page);
	--slides-l: var(--page);
	--slides-t: 7.5rem;
	--slides-b: 6.5rem;
	--footer-height: 7rem;
	--footer-height: min(8rem, 17vh);
 	font-size: clamp(0.8rem, calc(0.75rem + ((1vw - 0.625rem) * 0.6868)), 1.25rem);
  scrollbar-color: var(--background) #fff;
  color: #000;
}

html {
	background-color: var(--background);
	height: 100%;
	width: 100%;
	overflow: clip;
	scroll-behavior: smooth;
}

body {
	font-family: "NimbusSanL-BoldCond", sans-serif;
	font-feature-settings: "liga" 0;
	font-weight: 700;
	overflow: clip;
	height: 100%;
	line-height: 1.235em;
	font-size: 1rem; /*1.0625rem*/
	padding: var(--page);
}

main {
	height: 100%;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto minmax(4rem, 1fr) minmax(0, var(--footer-height));
	gap: 0;
	overflow: clip;
	position: relative;
	/*transition: opacity 0.2s ease-out;*/
}

.content {
	display: flex;
	flex-direction: column;
	gap: 0;
	height: 100%;
	overflow-x: clip;
	overflow-y: auto;
}

.home .content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.2fr) minmax(0, 1fr);
}

.shows-impressions .content {
	pointer-events: none;
}

header.site,
footer.site {
	width: 100%;
	padding: var(--gap);
	line-height: 1;
}

header.site,
footer.site .mix,
.about .header,
.clients,
.projects,
.default .content,
.about .block {
	background-color: rgba(255, 255, 255, 1);
	mix-blend-mode: screen;
}

.projects .header {
	position: sticky;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 1);
}

footer.site {
	padding: 0;
}

footer.site .mix::before {
	content: "";
	position: absolute;
	display: block;
	top: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: rgba(255, 255, 255, 1);
}

footer.site .mix {
	display: flex;
	justify-content: center;
	align-items: center;
	height: var(--footer-height);
	position: relative;
}

footer .logo {
	display: inline-flex;
	height: 80%;
	width: auto;
}

.email,
.button,
.home .projects h3,
.default h1,
.default h2,
.default h3,
.default h4,
[data-tl-layer="text"] {
	font-family: "KTFConcrete-A-Extrabold", sans-serif;
	font-weight: 800;
	letter-spacing: 0.05rem;
	font-size: 1.25rem;
	color: inherit;
}

.email {
	display: block;
}

.projects footer {
	position: sticky;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 1.235em;
	justify-content: space-between;
	align-items: unset;
	padding-top: 0.3175em;
	margin-top: 0.9175em;
	background-color: rgba(255, 255, 255, 1);
	padding-bottom: 5px;
	margin-bottom: -5px;
}

.projects footer a:not([href]) {
	opacity: 0;
}

.about {
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-self: flex-start;
	text-align: center;
}

.about .block .box {
	max-width: 41rem;
	padding-bottom: 0;
}

.about .block:last-child {
	padding-bottom: 1.235em;
}

.about .block-gallery {
	mix-blend-mode: normal;
	min-height: 28vh;
}

.about .block:last-child,
.about .block:last-child .box {
	padding-bottom: 0;
}

.about .block:last-child {
	flex: 1;
}

.clients {
	text-align: center;
}

.box,
.clients {
	padding: 0 var(--gap) 1.235em;
}

.header {
	min-height: var(--headroom);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.header + * {
	padding-top: 1.235em;
}

.clients br {
	display: none;
}

.gallery,
.clients ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding-left: 0;
}

.gallery {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--gap);
	padding-block: 1.235em;
	justify-self: flex-end;
}

.gallery:last-child {
	padding-bottom: 0;
}

.about .gallery {
	justify-self: flex-start;
	justify-content: flex-start;
	flex-wrap: nowrap;
}

.content .gallery li {
	flex: 1 1 11rem;
	max-width: 11rem;
}

.content .gallery img {
	max-height: 25vh;
	width: auto;
	object-fit: contain;
	object-position: left;
}

figcaption {
	text-align: left;
	margin-top: 0.25em;
	color: var(--background);
}

.about .block-gallery figcaption {
	background-color: #fff;
}

.projects .box {
	max-width: 30rem;
	justify-self: flex-end;
	margin-left: auto;
	padding-bottom: 5px;
	grid-template-rows: minmax(var(--headroom), auto) 1fr var(--footer-height);
}

.projects dt {
	display: inline-block;
	min-width: 14ch;
}

.projects dd {
	display: inline;
}

.mb {
	margin-bottom: 1.235em;
}

.mb:last-child {
	margin-bottom: 0;
}

.default .content {
	padding-inline: var(--gap);
}

.default .content .box {
	max-width: 41rem;
	margin-inline: auto;
}

.default ul,
.default ol {
	margin-block: 1.235em;
}

hr {
	border: none;
	margin: var(--headroom) 0 0;
}

.default h1 {
	line-height: 1;
	text-align: center;
}

.default h2 {
	line-height: 1;
	margin-top: 1.235em;
	text-align: center;
}

.default h3,
.default h4 {
	line-height: 1;
	font-size: 1.0625rem;
	margin-top: 0.6em;
}

.default h4 {
	line-height: 1;
	font-size: 0.9rem;
}

.error .content {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: var(--headroom);
	max-width: unset;
	justify-content: center;
}

.contact {
	--letter-gap: 2.95em;
	--letter-gap-at: 8.9em;
	transform: translate3d(0,0,0);
	position: relative;
	font-size: calc((100vw - (var(--page) + var(--gap)) * 2) / 100);
	display: grid;
	grid-template-areas: ". instagram . . linkedin . a . b . address . c";
	grid-template-columns: 6.75em 7.15em var(--letter-gap) var(--letter-gap) 7.2em var(--letter-gap-at) 7.05em var(--letter-gap) 11.1em var(--letter-gap) 22.4em var(--letter-gap) auto;
	align-items: flex-start;
}

.contact .email {
	grid-column: 1 / -1;
	grid-row: 1 / 1;
}

.contact .phone-and-address,
.contact .linkedin,
.contact .instagram {
	max-width: 100%;
  text-overflow: ellipsis;
  overflow: clip;
  white-space: nowrap;
  padding: 0.15em 0.3em;
}

.contact .address {
	text-overflow: ellipsis;
  white-space: nowrap;
  padding-block: 0.1em;
  margin-block: -0.1em;
}

.contact .instagram {
	grid-area: instagram;
	text-align: center;
}

.contact .linkedin {
	grid-area: linkedin;
	text-align: center;
}

.contact .phone-and-address {
	grid-area: address;
	padding-inline: 1em;
	text-align: center;
	justify-content: center;
	display: flex;
	gap: 1em;
}

.contact .address {
	overflow: hidden;
}

.contact .linkedin,
.contact .instagram,
.footnote,
.empty h1 {
	font-family: "KTFConcrete-A-Extrabold", sans-serif;
	font-weight: 800;
	letter-spacing: 0.05em;
	font-size: 1.176em;
}

.footnote {
	font-size: 0.9rem;
	position: fixed;
	bottom: 0;
	left: 0;
	padding-left: var(--page);
	height: var(--page);
	display: flex;
	align-items: center;
	color: rgba(0,0,0,1);
}

.disabled {
	opacity: 0.25;
	transition: opacity 0.2s linear 0.1s;
	z-index: -1;
}

[data-element="nav"] {
	display: flex;
	justify-content: space-between;
	gap: var(--gap);
}

[data-element="impressions"] {
	text-align: center;
}

[data-dialog="impressions"] {
	text-align: center;
	position: fixed;
	z-index: 200;
	inset: 0;
	overflow: clip;
	user-select: none;
	isolation: isolate;
	padding: var(--slides-t) 0 var(--slides-b) 0;
}

[data-dialog="impressions"].loading {
	cursor: wait;
}

[data-dialog="impressions"][data-hidden] {
	display: none;
	pointer-events: none;
}

[data-dialog="impressions"] .button {
	cursor: pointer;
}

.slides {
	overflow-y: clip;
	overflow-x: auto;
	height: 100%;
	display: flex;
	isolation: isolate;
	gap: var(--gap);
	justify-content: safe center;
	overscroll-behavior: contain;
	align-items: center;
	padding: 0;
	scrollbar-color: #fff var(--background);
	scrollbar-color: initial;
}

.slides figure {
	width: auto;
	height: 100%;
	position: relative;
}

.slides figcaption {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	font-size: 90%;
	color: var(--background);
}

.slides figure img {
	height: 100%;
	width: auto !important;
	max-width: unset;
}

[data-dialog="impressions"] .x {
	/*position: absolute;
	bottom: calc(var(--slides-b) + var(--page) - 1rem);
	right: var(--slides-r);*/
	position: fixed;
	top: var(--page);
	right: var(--page);
	padding: 1rem;
	font-size: 2.5rem;
	color: #000;
}

.shows-impressions .projects .button {
	opacity: 0.2;
}

.shows-impressions .legal-notice {
	display: none;
}

.backdrop {
	cursor: default;
	position: fixed;
	inset: 0;
	pointer-events: none;
}

.shows-impressions .backdrop {
	pointer-events: auto;
}

.choice {
	position: fixed;
	inset: 0;
	pointer-events: none;
	height: 100%;
	z-index: -1;
	background-color: var(--background);
	overflow: clip;
	display: grid;
	place-content: center;
}

progress {
	position: relative;
	z-index: 1;
	accent-color: #CCFF33;
	transition: opacity 200ms;
	opacity: 0;
}

/*::-webkit-progress-value {
	transition: width 100ms ease-in-out;
}*/

.d {
	background-color: rgba(0, 0, 0, 0.2);
	position: fixed;
	inset: 0;
	z-index: 1;
}

.empty .d {
	display: none;
}

.choice canvas {
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
}

@media (hover: hover) {
	:any-link:hover,
	button:hover,
	.x[data-close="impressions"]:hover {
		color: var(--hover);
	}
}

@media (max-width: 62.4375rem) or (orientation: portrait) {
	.about .block-gallery .box {
		position: unset;
		bottom: unset;
		left: unset;
}
}

.empty .box {
	background-color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--gap);
	gap: 1.235em;
	font-size: 2rem;
	justify-self: center;
	align-self: center;
	grid-row: 1 / -1;
}

.empty .box svg {
	width: 20rem;
}
