@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;*/
	/*--page: 2.25rem;*/
	--gap: 1.5rem;
	--page: 1.5rem;
	--bottom: 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);
	--canvas-height: 70vh;
	--accent: #CCFF33;
	--darkgray: rgb(0 0 0 / 0.4);
	--text: var(--background);
	--text: #000;
 	font-size: clamp(0.8rem, calc(0.75rem + ((1vw - 0.625rem) * 0.6868)), 1.25rem);
  scrollbar-color: #fff var(--background);
  color: var(--text);
}

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

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

main {
	flex: 1;
	display: grid;
	margin-top: var(--canvas-height);
	grid-template-columns: 1fr;
	grid-template-rows: auto minmax(4rem, 1fr) minmax(0, var(--footer-height));
	background-color: rgb(255 255 255);
	position: relative;
	z-index: 1;
	min-height: calc(100vh - var(--page) - var(--page));
	transform: translateY(25vh);
	transition: transform 1s ease-in-out;
}

.ok main {
	transform: translateY(0);
}

.content {
	display: flex;
	flex-direction: column;
	padding-top: calc(1.235em * 2);
}

.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;
}

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

footer.site {
	padding: 0;
	/*position: sticky;
	bottom: var(--page);
	pointer-events: none;*/
}

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

footer.site a {
	pointer-events: auto;
}

footer .logo {
	display: inline-flex;
	height: 100%;
	padding: 0.75em;
	width: auto;
	background-color: rgb(255 255 255);
}

.email,
.button,
.home .projects h3,
.default h1,
.default h2,
.default h3,
.default h4 {
	font-family: "KTFConcrete-A-Extrabold", sans-serif;
	font-weight: 800;
	letter-spacing: 0.05rem;
	font-size: 1.2rem;
	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: rgb(255 255 255);
	padding-bottom: 0.75em;
	margin-bottom: -0.75em;
}

.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: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: center;
}

.about figcaption {
	text-align: center;
}

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

.content .gallery img {
	object-fit: contain;
	object-position: center;
}

figcaption {
	text-align: left;
	margin-top: 0.25em;
}

.projects .box {
	max-width: 34rem;
	min-width: 30vw;
	padding-left: 4rem;
	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;
	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 {
	position: fixed;
	bottom: calc(var(--bottom) - 1.4rem);
	left: calc(var(--page) + var(--gap));
	font-size: 0.75rem;
	display: inline-flex;
	align-items: center;
	color: var(--text);
	background-color: var(--background);
	opacity: 0;
	transition: opacity 0.2s ease-in-out 0.2s;
	font-family: inherit;
}

.ok .footnote {
	opacity: 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: absolute;
	inset: 0;
	pointer-events: none;
	/*height: var(--canvas-height);*/
	height: calc(var(--canvas-height) + 25vh);
	z-index: -1;
	background-color: var(--background);
}

.choice .canvas {
	display: grid;
	height: 100%;
	padding-bottom: 25vh;
	padding-inline: var(--page);
}

.choice .c-img {
	display: flex;
	align-items: flex-start;
	height: 100%;
	position: sticky;
	/*top: calc(var(--page) - var(--offset));*/
	top: var(--page);
	/*top: var(--offset);*/
	left: 0;
	right: 0;
}

.choice .c-img img {
	transform: translateY(var(--offset));
}

.default {
	--canvas-height: 25vh;
}

.empty {
	--canvas-height: 100vh;
}

.image, figure img {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

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

@media (max-width: 62.4375rem) or (orientation: portrait) {
	.about .block-gallery .box {
		position: unset;
		bottom: unset;
		left: unset;
}
}
.empty {
	overflow: clip;
}
.empty main {
	margin-top: 0;
	background-color: transparent;
}
.empty .box {
	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 > * {
	background-color: var(--background);
	color: #000;
	line-height: 1;
	text-align: center;
}

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