/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

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

/**
Use a more readable tab size (opinionated).
*/

html {
	-moz-tab-size: 4;
	-o-tab-size: 4;
	   tab-size: 4;
}

/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/*
Sections
========
*/

/**
Remove the margin in all browsers.
*/

body {
	margin: 0;
}

/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/

body {
	font-family:
		system-ui,
		-apple-system, /* Firefox supports this but not yet `system-ui` */
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
}

/*
Grouping content
================
*/

/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/

hr {
	height: 0; /* 1 */
	color: inherit; /* 2 */
}

/*
Text-level semantics
====================
*/

/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
	-webkit-text-decoration: underline dotted;
	        text-decoration: underline dotted;
}

/**
Add the correct font weight in Edge and Safari.
*/

b,
strong {
	font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
	font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/*
Tabular data
============
*/

/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
	text-indent: 0; /* 1 */
	border-color: inherit; /* 2 */
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/

button,
select { /* 1 */
	text-transform: none;
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

/**
Remove the inner border and padding in Firefox.
*/

::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
Restore the focus styles unset by the previous rule.
*/

:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/

:-moz-ui-invalid {
	box-shadow: none;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
	padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
	vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
	display: list-item;
}

/* :focus, */

.project-gallery-controls button:focus {
	box-shadow: 0 0 0 1px hsl(195, 100%, 50%), 0 0 0 4px hsl(195, 53%, 79%);
}

button::-moz-focus-inner {
	border: none;
	padding: 0;
}

button:-moz-focusring {
	outline: none !important;
}

/* Carousels */

.carousel {
	position: relative;
}

.carousel._initialized {
}

.carousel__track {
	display: flex;
	overflow: hidden;
	overflow-behavior: contain;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
	-ms-overflow-style: none; /* IE */
	overflow-x: auto;
	overscroll-behavior-x: none; /* contain */
	scroll-behavior: smooth;
	-ms-scroll-chaining: none;
	/*-ms-scroll-snap-type: x mandatory;*/
	/*-webkit-scroll-snap-type: x mandatory;*/
	-ms-scroll-snap-type: x proximity;
	    scroll-snap-type: x proximity;
	scrollbar-width: none; /* FF */
}

.carousel__track::-webkit-scrollbar {
	display: none;
}

.scroll__track._grabbing,
.carousel__track._grabbing {
	cursor: -webkit-grab;
	cursor: grab;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.scroll__track._grabbing::before,
.carousel__track._grabbing::before {
	bottom: 0;
	content: "";
	display: block;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 999;
}

.carousel._mandatory .carousel__track {
	-ms-scroll-snap-type: x mandatory;
	    scroll-snap-type: x mandatory;
}

/* Buttons */

.carousel::before,
.carousel::after {
	background: #fff;
	bottom: 0;
	content: "";
	display: block;
	height: auto;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: ease 0.2s;
	transition-property: visibility, opacity;
	visibility: hidden;
	width: 20px;
	z-index: 1;
}

.carousel::before {
	background: radial-gradient(
		ellipse at -30% 50%,
		rgba(0, 0, 0, 0.3),
		rgba(97, 97, 97, 0) 72%
	);
	left: 0;
}

.carousel::after {
	background: radial-gradient(
		ellipse at 70% 50%,
		rgba(0, 0, 0, 0.3),
		rgba(97, 97, 97, 0) 72%
	);
	right: 0;
}

.carousel._initialized._next-visible::after,
.carousel._initialized._prev-visible::before {
	opacity: 1;
	visibility: visible;
}

.carousel__ctrl {
	background-color: #fff;
	border: none;
	border-radius: 100%;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
	height: 40px;
	margin-top: -20px;
	position: absolute;
	text-align: center;
	top: 50%;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	width: 40px;
	z-index: 2;
}

.carousel__ctrl[disabled] {
	color: grey;
}

.carousel__ctrl._prev {
	left: -20px;
}

.carousel__ctrl._next {
	right: -20px;
}

/* pagination */

.pagination {
	margin: 5px;
	text-align: center;
}

.page {
	display: inline-block;
	background-color: lightgrey;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	height: 6px;
	margin: 3px;
	padding: 0;
	transition: background-color ease 0.4s;
	width: 6px;
}

.page._current {
	background-color: black;
}

/* content and variations */

.box {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 400px;
	scroll-snap-align: center;
}

.box._no-snap {
	scroll-snap-align: none;
}

.box._single {
	max-width: 100%;
	min-width: 100%;
}

.box._third {
	max-width: 33.333333%;
	min-width: 33.333333%;
}

.box._fours {
	max-width: 25%;
	min-width: 25%;
}

.box._half {
	max-width: 50%;
	min-width: 50%;
}

.box._half-next {
	/* classical visual hint about upon scroll */
	max-width: 28.57%;
	min-width: 28.57%;
}

.box:nth-child(1) {
	background: #eee;
}

.box:nth-child(2) {
	background: #8bc34a;
}

.box:nth-child(3) {
	background: #cddc39;
}

.box:nth-child(4) {
	background: #ffeb3b;
}

.box:nth-child(5) {
	background: #ffc107;
}

.box:nth-child(6) {
	background: #ff9800;
}

.box:nth-child(7) {
	background: #c8bafe;
}

.box:nth-child(8) {
	background: #9980ff;
}

.box:nth-child(9) {
	background: #7b5cfd;
}

/* Vertical carousel */

.scroll {
	padding: 1px 10px;
	position: relative;
}

.scroll::before,
.scroll::after {
	background-color: #666;
	content: "";
	height: 1px;
	left: 50%;
	opacity: 0;
	position: absolute;
	transition: ease 0.3s;
	transition-property: width, left, opacity;
	width: 0;
	z-index: 1;
}

.scroll._initialized._prev-visible::before,
.scroll._initialized._next-visible::after {
	left: 0;
	opacity: 1;
	width: 100%;
}

/* This is the heart of the carousel */

.scroll__track {
	display: flex;
	flex-direction: column;
	height: 400px;
	overflow: hidden;
	overflow-behavior: contain;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
	-ms-overflow-style: none; /* IE */
	overflow-y: auto;
	overscroll-behavior-y: contain;
	scroll-behavior: smooth;
	-ms-scroll-chaining: none;
	-ms-scroll-snap-type: y proximity;
	    scroll-snap-type: y proximity;
	scrollbar-width: none; /* FF */
}

.scroll__track::-webkit-scrollbar {
	display: none;
}

.thumb {
	background: #eee;
	cursor: pointer;
	display: block;
	height: 40px;
	line-height: 40px;
	margin-bottom: 5px;
	position: relative;
	scroll-snap-align: center;
	text-align: center;
	width: 40px;
}

.thumb::after {
	bottom: 0;
	box-shadow: inset 0 0 0 0 lightblue;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: box-shadow ease 0.3s;
}

.thumb._current::after {
	box-shadow: inset 0 0 0 3px lightblue;
}

/* Gallery */

.gallery {
	display: flex;
}

.gallery .scroll {
	flex-basis: 40px;
	margin-right: 20px;
}

.gallery .carousel {
	max-width: 400px;
	width: 100%;
}

:root {
  --outer-gutters: 1rem;
}

@media (min-width: 40.001rem) {

:root {
    --outer-gutters: 1.5rem
}
  }

:root {
  --flow-space: 0.75rem;
}

:root {
  --bp-small: 24rem;
  --bp-medium: 40rem;
  --bp-large: 62rem;
  --bp-extra-large: 78rem;
}

/* @media --scale: 1.X  */

body::after {
  content: "";

  display: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: whitesmoke;
  color: #000;
  padding: 0.25rem;
  opacity: 0.5;
}

@media (max-width: 24rem) {

body::after {
    content: "--viewport-smallest"
}
  }

@media (min-width: 24.001rem) {

body::after {
    content: "--viewport-small"
}
  }

@media (min-width: 40.001rem) {

body::after {
    content: "--viewport-medium"
}
  }

@media (min-width: 68.001rem) {

body::after {
    content: "--viewport-large"
}
  }

@media (min-width: 78.001rem) {

body::after {
    content: "--viewport-extra-large"
}
  }

@media (min-width: 94.001rem) {

body::after {
    content: "--viewport-extra-extra-large"
}
  }

a:not([class]) {
  /* color: currentColor; */
  color: var(--color-text);
}

:focus {
  /* outline: 2px dashed;
  outline-offset: 0.25rem; */
}

/* a:active, .menu a:active {
  color: red;
} */

main:focus {
  outline: none;
}

[href]:hover {
  text-decoration: none;
}

img {
  /* max-width: min(55rem, 100%); */
  max-width: 100%;
  vertical-align: bottom;
}

figcaption p {
    margin-top: 0.5rem;
    font-size: var(--size-300);
    font-style: italic;
    text-align: right;
    max-width: none;
    opacity: 0.8;
  }

blockquote {
  padding-left: var(--size-600);
  border-left: 5px solid;
  font-style: italic;
}

::-moz-selection {
  color: #fff;
  background: rgba(0, 0, 0, 0.99);
}

::selection {
  color: #fff;
  background: rgba(0, 0, 0, 0.99);
}

body {
  position: relative;
}

.a11y-nav {
  position: absolute;
  top: -20em;
  left: 0;
  right: 0;
  /* width: 100%; */
  z-index: 1;
}

.a11y-nav a:focus,
.a11y-nav a:hover {
  /* box-shadow: 3px 3px 5px #eee; */
  text-decoration: none;
  top: 20em;
}

.a11y-nav a {
  background-color: var(--color-bg-default);

  font-weight: 700;
  left: 0;
  padding: 12px;
  position: absolute;
  right: 0;
  text-align: center;
}

/* mixins */

/* @import "fonts.css"; */

html {
  scroll-behavior: smooth;
  font-size: 95%;
}

/* 20px */

@media (min-width: 68.001rem) {

html {
    font-size: 115%
}
  }

:root {
  /* Major Third 1.25 */

  --size-300: 0.8rem;
  --size-400: 1rem;
  --size-500: 1.25rem;
  --size-600: 1.563rem;
  --size-700: 2.441rem;
  --size-800: 3.052rem;
}

body {
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  /* font-family:"Neue Haas Unica Pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif; */
}

h1,h2,h3,h4,h5,h6,
ol,
ul,
p,
dl {
  margin-top: 1rem;
  margin-bottom: 0;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, ol:first-child, ul:first-child, p:first-child, dl:first-child {
    margin-top: 0;
  }

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 500;
}

h1,
h2 {
  font-weight: 500;
}

strong,
b {
  font-weight: 500;
}

h1 {
  font-size: var(--size-500);
}

h2 {
  font-size: var(--size-400);
}

h3 {
  font-size: var(--size-400);
}

h1 {
  max-width: 35ch;
}

.text :is(h2, h3) {
  max-width: 25ch;
}

.text :is(p, li) {
  max-width: 60ch;
}

.page-title {
  font-size: var(--size-600);
  margin-top: 0;
}

.projects-header,
.page-title {
  margin-bottom: calc(2 * var(--flow-space));
}

@media (min-width: 40.001rem) {

.projects-header,
.page-title {
    margin-bottom: calc(4 * var(--flow-space))
}
  }

/* Flow */

.flow {
  --flow-space: 0.75rem;
}

.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

.flow h1:not(.page-title),.flow h2:not(.page-title),.flow h3:not(.page-title),.flow h4:not(.page-title),.flow h5:not(.page-title),.flow h6:not(.page-title) {
  margin-top: calc(2 * var(--flow-space));
}

:root {
  --hue: 0deg;
  --lightness: 50%;
  --color-text: hsl(var(--hue) 0% 0% / 90%);
  --color-text-lowcontrast: hsl(var(--hue) 0% 0% / 60%);
  --color-bg-default: hsl(var(--hue) 85% var(--lightness));
}

body {
  background-color: var(--color-bg-default);
  color: var(--color-text);
}

.projects-categories li,
.projects-list-item-cover,
.project-gallery-item {
  background-color: var(--color-bg-default);
}

.projects-list-item-cover img,
.vita img {
  mix-blend-mode: multiply;
  filter: contrast(120%) brightness(120%) saturate(0%);
}

.bgcover {
  content: "";
  display: block;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--color-bg-default);
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
}

/* @import "colors-dark.css"; */

.site-header {
  padding-top: 2rem;
  display: grid;
  grid-gap: 1rem;
}

.site-title {
  color: currentColor;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
}

.site-title span {
    /* color: var(--color-text-lowcontrast); */
    opacity: 0.8;
    display: block;
  }

@media (min-width: 68.001rem) {
  .site-title span {
    text-align: right;
  }
}

.site-title b {
  text-transform: uppercase;
  font-size: var(--size-500);
  letter-spacing: 0.025em;
  font-weight: bold;
}

.site-title i {
  font-style: normal;
  font-size: 130%;
  /* color: hsla(0deg 0% 50% / 100%); */
  opacity: 0.8;
  opacity: 0.75;
}

[aria-current] {
  font-weight: bold;
}

.menu {
  display: flex;
}

.menu li {
    margin-right: 1rem;
  }

.menu {
  padding-left: 0;
  list-style-type: none;
  display: flex;
  align-items: flex-end;
}

.menu a {
  opacity: 0.8;
  text-decoration: none;
  display: block;
  padding: 0.5rem;
  margin: -0.5rem;
}

.menu a:hover {
    color: var(--color-text);
  }

.menu [aria-current] {
  color: var(--color-text);
}

@media (min-width: 68.001rem) {
  .site-header {
    padding-top: 3rem;
  }

  .main-navigation {
    display: flex;
  }

  .main-navigation li {
    margin-right: 2rem;
  }
}

.site-footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  opacity: 0.5;
}

.site-footer ol {
  margin-top: 0;
}

@media (min-width: 68.001rem) {
  .site-footer {
    display: flex;
    justify-content: space-between;
  }
}

.colorSwitcher-container {
  display: none;
}

:root {
  --content-width: 74rem;
  --outer-padding: var(--outer-gutters);
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.site-content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

.wrap, .main {
  padding-left: var(--outer-padding);
  padding-right: var(--outer-padding);
}

.tpl-project .main {
  padding-left: 0;
  padding-right: 0;
}

/* .site-header, .site-content {
  max-width: 74rem;
  margin-left: auto;
  margin-right: auto;
} */

@media (min-width: 68.001rem) {
  :root {
    --outer-padding: calc(var(--outer-gutters) * 2);
  }
}

@media (min-width: 78.001rem) {
  :root {
    --outer-padding: calc(var(--outer-gutters) * 2);
  }
}

@media (min-width: 94.001rem) {
  :root {
    --outer-padding: calc(var(--outer-gutters) * 4);
  }
}

@media (min-width: 68.001rem) {
  .wrap,
  body {
    --content-width: var(--bp-large);
  }
}

@media (min-width: 78.001rem) {
  .wrap,
  body {
    --content-width: var(--bp-extra-large) - 2rem;
    --outer-padding: calc(
      (100vw - var(--content-width)) / 2 + var(--outer-gutters) * 6
    );
  }
}

/* === LAYOUT === */

.grid {
  /* @mixin grid; */
}

/* Apply Grid */

.site-header {
  --gutter: 2rem;
  display: grid;
  width: 100%;
  grid-column-gap: var(--gutter);
  grid-template-columns: 1fr;
}

@media (min-width: 68.001rem) {

.site-header {
    grid-template-columns: repeat(12, 1fr);
}
  }

@media (min-width: 68.001rem) {
  .site-header .logo {
    grid-column: 1 / span 4;
  }

  .site-header .main-navigation {
    grid-column: 5 / span 8;
  }
}

.main {
  --gutter: 2rem;
  display: grid;
  width: 100%;
  grid-column-gap: var(--gutter);
  grid-template-columns: 1fr;
}

@media (min-width: 68.001rem) {

.main {
    grid-template-columns: repeat(12, 1fr);
}
  }

@media (min-width: 68.001rem) {
  .main-content {
    grid-column: 5 / span 8;
  }

  .project-content {
    grid-column: 1 / -1;
  }
}

.main {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

@media (min-width: 40.001rem) {

.main {
    padding-top: 4rem;
    padding-bottom: 4rem
}
  }

.projects-header {
  display: flex;
  justify-content: space-between;
}

.projects-header :is(h1,h2,h3,h4,h5,h6, ol) {
  margin-top: 0;
  margin-bottom: 0;
}

.tpl-home .projects-categories h1,.tpl-home .projects-categories h2,.tpl-home .projects-categories h3,.tpl-home .projects-categories h4,.tpl-home .projects-categories h5,.tpl-home .projects-categories h6 {
  display: none;
}

/* .tpl-home .projects-categories a {
  pointer-events: none;
  cursor: default;
  outline: none;
}

.tpl-home .projects-categories a:focus,
.tpl-home .projects-categories a:active {
  outline: none;
  box-shadow: none;
} */

.projects-categories a {
  display: block;
}

article.project {
  padding-bottom: 2rem;
}

/* header */

.project-header {
  --flow-space: 0.25rem;
}

.project-header .project-category {
    opacity: 0.8;
    position: relative;
    display: inline-block;
  }

.project-header .page-title {
    margin-bottom: 0;
  }

.project-header .project-subtitle {
    opacity: 0.8;
    display: none;
  }

.project-header {

  margin-bottom: 2rem;
}

/* Gallery */

.project-gallery {
  width: 100vw;
}

.project-gallery-item {
  height: 20rem;
  flex: 1 0 80vw;
  scroll-snap-align: start;
}

.project-gallery-item figure {
  height: 100%;
  margin: 0 1rem 0 0;
  display: flex;
  flex-direction: column;
}

.project-gallery-item figure:last-child {
    margin-right: 0;
  }

.project-gallery-item figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    max-width: none;
  }

.project-gallery-item figure figcaption {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

.project-gallery-item-image-container {
  flex: 1 1;
  min-height: 0;
}

@media (min-width: 40.001rem) {
  .project-gallery-item {
    height: 30rem;
  }
}

@media (min-width: 68.001rem) {
  .project-gallery-item {
    flex-basis: 50rem;
    height: 35rem;
  }
}

/* Meta */

.project-meta {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.project-meta dl {
  margin: 0;
}

.project-meta dt {
  font-weight: bold;
}

.project-meta dd {
  margin-left: 0;
  margin-bottom: 0;
  max-width: 44ch;
}

/* Layout Meta */

.project-meta dl {
  display: grid;
  grid-gap: 1rem 1rem;
}

@media (min-width: 40.001rem) {
  .project-meta dl {
    grid-gap: 1rem 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .project-meta-el--description {
    grid-column: 1 / -1;
  }
}

@media (min-width: 68.001rem) {
  .project-meta dl {
    /* grid-template-columns: repeat(4, minmax(min-content, 1fr)); */
    grid-template-columns: repeat(4, 1fr);
  }

  .project-meta-el--description {
    grid-column: 3 / -1;
    grid-row: 1 / span 2;
  }
}

.tpl-project .main {
  padding-bottom: 0;
}

.tpl-project .site-footer {
  box-shadow: none;
  margin-top: 2rem;
}

/* New Scroller Layout */

.carousel__track {
  padding-left: 0;
  list-style-type: none;
  transform: translate3d(0, 0, 0);
  padding-left: var(--outer-padding);
  padding-right: var(--outer-padding);
  scroll-padding-left: var(--outer-padding);
  align-items: center;
  white-space: nowrap;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
}

.carousel__track > li {
  margin-right: 1rem;
}

.carousel__track > li:last-child {
    margin-right: 0;
  }

.carousel__track > li:last-child::after {
  position: relative;
  left: 100%;
  border: 1px solid transparent;
  display: block;
  content: "";
  width: var(--outer-padding);
}

.project-gallery-controls {
  position: relative;
  margin-bottom: 3rem;
}

.project-gallery-controls button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  position: absolute;
  bottom: -2rem;
  transform: translateY(50%);
  z-index: 1;
  transition: opacity 0.2s;
  background: var(--color-text);
  color: var(--color-bg-default);
  width: 2.5rem;
  height: 2.5rem;
}

.project-gallery-controls button:disabled {
  opacity: 0;
  pointer-events: none;
}

[data-elem-next-button] {
  right: var(--outer-padding);
}

[data-elem-prev-button] {
  left: var(--outer-padding);
}

@media (pointer: coarse) {
  .project-gallery-controls {
    display: none;
  }
}

.projects-categories :is(ol, ul) {
  padding-left: 0;
  list-style-type: none;
  grid-gap: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 40.001rem) {

.projects-categories :is(ol, ul) {
    grid-gap: 2rem;
    /* grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); */
    grid-template-columns: 1fr 1fr
}
  }

.projects-categories a {
  text-decoration: none;
}

.projects-list :is(ol, ul) {
  grid-gap: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  /* @media (--viewport-large) {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  @media (--viewport-extra-large) {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  } */
}

@media (min-width: 40.001rem) {

.projects-list :is(ol, ul) {
    grid-gap: 2rem
    /* grid-template-columns: 1fr 1fr 1fr; */
}
  }

.projects-list-item--large {
  grid-column: span 2;
  grid-row: span 1;
}

@media (min-width: 40.001rem) {

.projects-list-item--large {
    grid-row: span 2
}
  }

.projects-list :is(ol, ul) {
  padding-left: 0;
  list-style-type: none;
}

.projects-list-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* flex: 0; */

.projects-list-item-cover img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }

.projects-list-item--large .projects-list-item-cover {
  flex: 1;
}

.projects-list-item-text {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.projects-list-item-title {
  margin-top: calc(1 * var(--flow-space));
  margin-bottom: 0;
  font-size: var(--size-400);
}

.projects-list-item-subtitle {
  margin-top: 0;
  display: none;
  line-height: 1.3;
}

.projects-list-item-category {
  margin-top: 0;
  margin-bottom: 0;

  color: var(--color-text);
  opacity: 0.8;
}

/* Disabled */

.projects-list-item-cover {
  display: block;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1.3rem 0.75rem -1rem hsl(0deg 0% 0% / 40%);
}

.projects-list-item-cover:hover {
    box-shadow: 0 0.75rem 0.5rem -0.6rem hsl(0deg 0% 0% / 65%);
    transform: translateY(4px);
  }

.projects-list-item-cover {
  transition: box-shadow 0.2s, transform 0.2s, background 1s, color 0s !important;
}

/* Table */

.tag,
.category {
  font-size: var(--size-300);
  position: relative;
  padding-left: 0.6rem;
  margin-right: 0.6rem;
  white-space: nowrap;
}

.tag::before, .category::before {
    content: "";
    width: 4px;
    height: 4px;
    background: currentColor;
    position: absolute;
    top: calc(50% - 1px);
    left: 0rem;
  }

.tag {
  color: var(--color-text-lowcontrast);
}

.th-title {
  font-weight: bold;
}

[role="region"][aria-labelledby][tabindex] {
  overflow: auto;
}

[role="region"][aria-labelledby][tabindex]:focus {
  /* outline: 0.1em solid rgba(0, 0, 0, 0.1); */
  outline-style: solid;
}

.projects-table td:nth-child(4),
.projects-table td:nth-child(5) {
  white-space: nowrap;
}

.projects-table td:nth-child(5),
.projects-table thead th:nth-child(5) {
  text-align: right;
}

.projects-table table {
  font-size: var(--size-400);
  border-spacing: 0rem;
  text-align: left;
}

.projects-table table td,
  .projects-table table th {
    font-weight: normal;
    padding: 1rem 1rem;
    box-shadow: inset 0 -1px 0 0 var(--color-line, #aaa);
    vertical-align: top;
  }

.projects-table thead {
  font-size: var(--size-300);
  color: var(--color-text-lowcontrast);
  letter-spacing: 0.03em;
}

.projects-table tbody {
  text-align: left;
}

.projects-navigation-list {
  display: flex;
  justify-content: space-between;
}

.projects-navigation-el > a {
  display: block;
  padding: 0.75rem;
  margin: 0 -0.75rem;
}

@media (hover: hover) and (pointer: fine) {
    .projects-navigation-el:hover polygon {
      fill: var(--color-text);
    }
}

.projects-navigation-el-icon svg {
  vertical-align: bottom;
}

.projects-navigation-el-icon svg polygon {
    fill: var(--color-text);
    opacity: 0.8;
  }

.projects-navigation-prev svg {
  transform: rotate(180deg);
}

@media (min-width: 40.001rem) {
  .projects-navigation-next:hover .projects-navigation-el-icon {
    transform: translateX(0.25rem);
  }

  .projects-navigation-prev:hover .projects-navigation-el-icon {
    transform: translateX(-0.25rem);
  }

  .projects-navigation-el-icon,
  .projects-navigation-el-icon polygon {
    transition: 0.2s;
  }
}

.breadcrumb ol {
  padding-left: 0;
  list-style-type: none;
  font-size: var(--size-300);
  margin-bottom: 1rem;
  display: flex;
}

.breadcrumb ol li:first-child {
    display: none;
  }

/* display: none; */

.breadcrumb ol li:last-child a {
      font-weight: normal;
      opacity: 0.5;
    }

.breadcrumb ol li {
    margin-right: 1.5rem;
    position: relative;
  }

.breadcrumb ol li::after {
    content: "";
    position: absolute;
    top: 0.1rem;
    right: -0.75rem;
    width: 1px;
    height: 1rem;
    background: var(--color-text);
    opacity: 0.3;
    transform: rotate(10deg);
  }

.breadcrumb ol li:last-child::after {
    display: none;
  }

.breadcrumb ol a {
    text-decoration: none;
  }

.breadcrumb ol a:hover {
    text-decoration: underline;
  }

.profile-team {
  padding-left: 0;
  list-style-type: none;
}

.profile-team-el {
  box-shadow: 0 1px 0 var(--color-text);
}

.profile-team-el:last-child {
    box-shadow: none;
  }

.js .profile-team-el .vita {
  height: 0;
  overflow: hidden;
  transition: height 0.3s;
}

.profile-team-el h3 {
    position: relative;
  }

.profile-team-el svg {
    width: 16px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 1rem;
    transition: transform 0.3s;
    pointer-events: none;
  }

.profile-team-el.has-meta h3:hover {
  /* background: hsl(0deg 0% 0% / 0.05); */
  text-decoration: underline;
}

.profile-team-el[data-visible] svg {
  transform: translateY(-50%) rotate(45deg);
}

[data-visible].profile-team-el .vita {
  /* height: auto; */
  /* overflow: visible; */
}

.vita-inner {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.profile-team-el h1,.profile-team-el h2,.profile-team-el h3,.profile-team-el h4,.profile-team-el h5,.profile-team-el h6 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 0 !important;
  max-width: none;
}

.vita-photo-inner {
  margin-bottom: 1rem;
}

.profile-team-el h1 path,.profile-team-el h2 path,.profile-team-el h3 path,.profile-team-el h4 path,.profile-team-el h5 path,.profile-team-el h6 path {
  fill: var(--color-text);
}

.js .profile-team-el.has-meta h1,.js .profile-team-el.has-meta h2,.js .profile-team-el.has-meta h3,.js .profile-team-el.has-meta h4,.js .profile-team-el.has-meta h5,.js .profile-team-el.has-meta h6 {
  cursor: pointer;
}

.vita-photo-inner {
  display: inline-block;
  background: var(--color-bg-default);
}

.js .vita-photo-inner {
  opacity: 0;
  transition: 0.3s;
}

@media (min-width: 68.001rem) {
  .vita-inner {
    position: relative;
  }

  .vita-text {
    min-height: 2rem;
  }

  .vita-photo {
    position: absolute;
    left: calc(-1 * var(--gutter));
    top: -3rem;
    pointer-events: none;
  }

  .vita-photo-inner {
    --gutter: 5rem;
    margin-left: calc(-100%);
    margin-right: 100%;
  }
}

/*# sourceMappingURL=screen.css.map */