:root {
  --gradient-7: linear-gradient(to bottom right,#72c6ef,#004e8f);
  --gradient-27: conic-gradient(from .5turn at bottom left,#ff1493,#639);
  --gradient-2: linear-gradient(to bottom right,#48005c,#8300e2,#a269ff);
  --gradient-1: linear-gradient(to bottom right,#1f005c,#5b0060,#870160,#ac255e,#ca485c,#e16b5c,#f39060,#ffb56b);
  --font-sans: var(--font-system-ui);
  --size-4: 1.25rem;
  --sand-1: #e6e4dc;
  --size-3: 1rem;
  --size-2: .5rem;
  --radius-2: 5px;
  --border-size-2: 2px;
  --shadow-2: 0 3px 5px -2px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 3%)),0 7px 14px -5px hsl(var(--shadow-color)/calc(var(--shadow-strength) + 5%));
  --gradient-8: conic-gradient(from 90deg at 50% 0%,#111,50%,#222,#111);
  --sand-10: #38352d;
  --gradient-17: conic-gradient(from -90deg at 50% -25%,blue,#8a2be2);
  --font-weight-5: 500;
  --font-size-fluid-2: clamp(1.5rem,6vw,2.5rem);
  --font-size-3: 1.25rem;
  --size-1: .25rem;
  --layer-3: 3;
  --ease-1: cubic-bezier(.25,0,.5,1);
  --layer-2: 2;
  --sand-8: #5f5746;
  --layer-1: 1;
  --font-size-0: .75rem;
  --layer-important: 2147483647;
  --size-10: 5rem;
  --font-size-fluid-3: clamp(2rem,9vw,3.5rem);
  --font-lineheight-00: .95;
  --size-8: 3rem;
  --sand-0: #f8fafb;
  --border-size-1: 1px;
  --sand-4: #aea58c;
  --radius-4: 2rem;
  --font-size-2: 1.1rem;
  --font-size-4: 1.5rem;
  --font-size-1: 1rem;
  --font-system-ui: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  --shadow-color: 220 40% 2%;
  --shadow-strength: 25%;
}
@keyframes slide-up {
  to {
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes slide-right {
  to {
    transform: translateX(0);
  }
}
@keyframes revealClipPath {
  to {
    clip-path: inset(-100% 0% -100% -100%);
  }
}
@keyframes scale-in {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}
:root {
  --color-acting: linear-gradient( to bottom right, hsl(159, 100%, 28%), hsl(187, 100%, 28%) );
  --color-directing: var(--gradient-7);
  --color-leadership: var(--gradient-27);
  --color-teaching: var(--gradient-2);
  --color-contact: var(--gradient-1);
  --color-logo: var(--gradient-1);
  --color-home: var(--gradient-1);
  --grid-desktop: [full-start] calc(50vw - 27.5rem) [full-content-start] 1fr
    [main-content-start] repeat(6, 1fr) [main-content-end] repeat(1, 1fr)
    [full-content-end] calc(50vw - 27.5rem) [full-end];
  --grid-primary: [full-start] 1rem [full-content-start main-content-start]
    repeat(8, 1fr) [main-content-end full-content-end] 1rem [full-end];
}

@font-face {
  font-family: "ChunkFive Regular";
  src: url("/fonts/ChunkFive-Regular.woff2");
}
@font-face {
  font-family: "Urbanist";
  src: url("/fonts/Urbanist-VariableFont_wght.woff2");
}
@font-face {
  font-family: "Poppins Medium";
  src: url("/fonts/Poppins-Medium.woff2");
}
@font-face {
  font-family: "EB Garamond 12";
  src: url("/fonts/EBGaramond.woff2");
}
@font-face {
  font-family: "EB Garamond 12";
  src: url("/fonts/EBGaramond-Italic.woff2");
  font-style: italic;
}
/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
:root {
  box-sizing: border-box;
}

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

* {
  line-height: calc(1em + 8px);
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100svh;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

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

body {
  padding: 1rem;
  background-clip: padding-box; /* !importanté */
  position: relative;
}
body:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Urbanist", var(--font-sans);
}

* + h2 {
  margin-top: var(--size-4);
}

html {
  background: var(--sand-1);
  font-family: var(--font-sans);
}
@media screen and (min-width: 40rem) {
  html {
    font-size: 125%;
  }
}

li {
  margin-left: var(--size-3);
}

main.portfolio {
  text-align: center;
}

* + p {
  margin-top: var(--size-2);
}

.button {
  background-color: transparent;
  font-family: inherit;
  cursor: pointer;
  background-image: var(--background);
  border-radius: var(--radius-2);
  border: var(--border-size-2) solid var(--background);
  box-shadow: var(--shadow-2);
  color: #f2f2f2;
  display: inline-block;
  padding: var(--size-2);
  text-decoration: none;
  text-shadow: 1px 1px 1px #3a3a3a;
}
@media screen and (-ms-high-contrast: active) {
  .button {
    border: 2px solid currentcolor;
  }
}
.button:hover {
  filter: brightness(1.2);
}

.figure-image {
  position: relative;
}
.figure-image::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--gradient-8);
  mask: url("/masks/hexagons.svg") center/100% 100% no-repeat;
  opacity: 0.25;
}
.figure-image::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: white;
  mask: url("/masks/hexagon.svg") center/contain no-repeat;
  filter: drop-shadow(2px 2px 2px var(--sand-10));
}
.figure-image:nth-of-type(even)::before {
  background: var(--gradient-17);
  transform: rotate(180deg);
}
.figure-image img {
  margin: auto;
  mask: url("/masks/hexagon.svg") center/contain no-repeat;
  position: relative;
}
.figure-image + * {
  margin-top: 1.5rem;
}

.hero {
  filter: drop-shadow(2px 2px 1px var(--sand-10));
}
.hero__image {
  mask: url("/masks/hexagon.svg") center/100% 100% no-repeat;
}

.logo {
  color: transparent;
  background: var(--color-logo);
  background-clip: text;
  text-align: left;
  font-weight: var(--font-weight-5);
  position: relative;
  padding-left: 2rem;
  max-width: fit-content;
  margin: auto;
}
.logo::before {
  position: absolute;
  right: 2rem;
  top: 0;
  background: var(--color-logo);
  content: "";
  mask: url("/masks/logo.svg") top right/contain no-repeat;
  width: calc(var(--font-size-fluid-2) * 2 * 0.866);
  height: calc(var(--font-size-fluid-2) * 2);
}
.logo h1 {
  font-size: calc(var(--font-size-fluid-2) * 2);
  font-weight: var(--font-weight-5);
}
@media screen and (min-width: 40rem) {
  .logo h1 {
    text-indent: -2rem;
    padding-left: 2rem;
  }
}

a.logo {
  margin: 0;
}
a.logo::before {
  content: "";
  background: var(--color-logo);
  width: 2rem;
  mask: url("/images/logo.svg") center/contain no-repeat;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.menu-toggle {
  border: none;
  background-color: transparent;
  font-family: inherit;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}
@media screen and (-ms-high-contrast: active) {
  .menu-toggle {
    border: 2px solid currentcolor;
  }
}

nav {
  font-family: "Urbanist", var(--font-sans);
  font-size: var(--font-size-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--size-1);
  margin: var(--size-2) auto;
  max-width: 1400px;
}
nav.home {
  justify-content: center;
  margin: 1rem auto;
}
nav.home ul {
  font-size: 2.5rem;
}
nav .menu-toggle {
  z-index: var(--layer-3);
}
nav ul {
  align-items: center;
  background: var(--sand-1);
  bottom: 0;
  display: flex;
  flex-direction: column;
  font-size: 2.5rem;
  gap: 2rem;
  height: 100svh;
  left: 0;
  list-style: none;
  margin-top: 2em;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: 0.2s var(--ease-1) opacity, 0.4s var(--ease-1) z-index;
  width: 100%;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 1.25rem;
    gap: 1rem;
    margin: 0;
    position: static;
    height: initial;
    opacity: 1;
    z-index: initial;
  }
}
nav ul.open {
  opacity: 1;
  z-index: var(--layer-2);
}
nav ul.open li {
  animation: fade-in 0.35s var(--ease-1) forwards, slide-up 0.35s var(--ease-1) forwards;
  opacity: 0;
  transform: translateY(calc(var(--size-2) * -1));
}
nav ul.open li:nth-child(1) {
  animation-delay: 0.3s;
}
nav ul.open li:nth-child(2) {
  animation-delay: 0.35s;
}
nav ul.open li:nth-child(3) {
  animation-delay: 0.4s;
}
nav ul.open li:nth-child(4) {
  animation-delay: 0.45s;
}
nav ul.open li:nth-child(5) {
  animation-delay: 0.5s;
}
nav li {
  position: relative;
  margin-left: initial;
}
@media screen and (min-width: 768px) {
  nav li:has(a.logo) {
    margin-right: auto;
  }
}
nav li a:not(.logo) {
  color: var(--sand-8);
  position: relative;
  text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6666666667);
  text-decoration: none;
  z-index: var(--layer-1);
  padding: var(--size-2) var(--size-4);
}
nav li a:not(.logo)::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: var(--background);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-1);
}
nav li a:not(.logo):hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.portfolio-extras {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-2);
  justify-content: center;
  margin: var(--size-3) 0;
}
.portfolio-extras .button {
  font-size: var(--font-size-0);
}

.portfolio-extra {
  animation: fade-out 0.7s ease-out;
  max-width: 60ch;
  color: #f2f2f2;
  background-color: #000;
  border: none;
  margin: 0 auto;
  padding: var(--size-4);
  text-align: left;
}
.portfolio-extra[open] {
  animation: fade-in 0.65s cubic-bezier(0.3, 1, 0.3, 1), scale-in 0.65s cubic-bezier(0.3, 1, 0.3, 1);
  position: fixed;
  z-index: var(--layer-important);
}
.portfolio-extra::backdrop {
  background-color: #000;
  animation: fade-in 0.7s ease-out forwards;
}
.portfolio-extra .close-modal, .portfolio-extra__title {
  position: fixed;
}
.portfolio-extra .container {
  margin: var(--size-10) var(--size-4) var(--size-4);
}
.portfolio-extra .close-modal {
  top: 0;
  margin: var(--size-2) auto;
}
.portfolio-extra__title {
  font-family: "Urbanist", var(--font-sans);
  bottom: 0;
  padding: var(--size-2) 0;
  background: rgba(0, 0, 0, 0.6666666667);
  width: 100%;
}

.portfolio-item {
  position: relative;
  display: grid;
  grid: "image" "text" auto/auto;
  align-items: center;
  max-width: 1400px;
  margin: auto;
}
.portfolio-item::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--background) left;
  mask: url("/masks/hexagons-repeatable.svg") center/contain no-repeat;
  opacity: 0.25;
}
.portfolio-item:nth-of-type(even)::before {
  transform: rotate(180deg);
  background-position-x: right;
}
.portfolio-item__text {
  grid-area: text;
  margin: 1rem;
  text-align: center;
  background-image: var(--background);
  background-clip: text;
  color: rgba(0, 0, 0, 0.35);
  position: relative;
  text-decoration: none;
  display: inline-block;
  transition: color var(--ease-1) 250ms;
}
.portfolio-item__title {
  font-family: "Urbanist", var(--font-sans);
  font-size: var(--font-size-fluid-3);
  font-weight: var(--font-weight-5);
  line-height: var(--font-lineheight-00);
  margin-bottom: var(--size-1);
}
.portfolio-item__link {
  grid-area: image;
  width: fit-content;
}
.portfolio-item__image {
  mask: url("/masks/hexagon-2.svg") center/contain no-repeat;
}
@media screen and (min-width: 40rem) {
  .portfolio-item {
    grid: "image text" 1fr/1fr 1fr;
  }
  .portfolio-item:nth-of-type(even) {
    grid: "text image" 1fr/1fr 1fr;
  }
}

.section-header {
  max-width: 920px;
  margin: calc(var(--size-8) + var(--size-4)) auto;
  font-size: var(--font-size-fluid-2);
  position: relative;
}
.section-header::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--background);
  padding: var(--size-8) 0;
  mask: url("/masks/hexagons.svg") center/100% 100%;
  top: calc(-1 * var(--size-8));
  opacity: 0.5;
  transform: rotate(var(--deg)) rotate3d(0, 1, 0);
}
.section-header h1 {
  padding: var(--size-4);
  text-align: center;
  background: var(--background);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(2px 2px 1px var(--sand-10));
}

.splash {
  max-width: 1400px;
  margin: 1rem auto 4rem;
  display: grid;
  align-items: end;
  position: relative;
  gap: 1rem;
}
.splash::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--color-logo);
  mask: url("/masks/hexagons.svg") center top/100% 100%;
  z-index: -1;
}
@media screen and (min-width: 40rem) {
  .splash {
    grid-template-columns: 1fr 1fr;
  }
}
.splash .text {
  background-color: var(--sand-0);
  border: var(--border-size-1) solid var(--sand-4);
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-2);
  padding: var(--font-size-2);
  padding: var(--font-size-4);
  max-width: 30ch;
  margin: 0 auto;
}

#spotlight {
  position: fixed;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 99999;
  color: #fff;
  background-color: #000;
  opacity: 0;
  overflow: hidden;
  user-select: none;
  transition: opacity 0.2s ease-out;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  contain: strict;
  touch-action: none;
  pointer-events: none;
}
#spotlight.show {
  opacity: 1;
  transition: none;
  pointer-events: auto;
}
#spotlight.white {
  color: #212529;
  background-color: #fff;
}
#spotlight.white .spl-adjust-huener,
#spotlight.white .spl-prev,
#spotlight.white .spl-next,
#spotlight.white .spl-page ~ * {
  filter: invert(1);
}
#spotlight.white .spl-progress {
  background-color: rgba(0, 0, 0, 0.35);
}
#spotlight.white .spl-header,
#spotlight.white .spl-footer {
  background-color: rgba(255, 255, 255, 0.65);
}
#spotlight.white .spl-button {
  background: #212529;
  color: #fff;
}
#spotlight .cover {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
#spotlight .contain {
  object-fit: contain;
  height: 100%;
  width: 100%;
}
#spotlight .autofit {
  object-fit: none;
  width: auto;
  height: auto;
  max-height: none;
  max-width: none;
  transition: none;
}

.spl-track {
  position: absolute;
  width: 100%;
  height: 100%;
  contain: strict;
}

.spl-adjust-huener {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 42px;
  opacity: 0;
}

.spl-adjust-huener.adjust-hue {
  background-image: url("/images/spotlight/preloader.svg");
  transition: opacity 0.2s linear 0.25s;
  opacity: 1;
}

.spl-adjust-huener.error {
  background-image: url("/images/spotlight/error.svg");
  background-size: 128px;
  transition: none;
  opacity: 0.5;
}

.spl-scene {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.1, 1, 0.1, 1);
  contain: layout size;
  will-change: transform;
}

.spl-pane > * {
  position: absolute;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  left: 50%;
  top: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.65s cubic-bezier(0.3, 1, 0.3, 1), opacity 0.65s ease;
  contain: layout style;
  will-change: transform, opacity;
  visibility: hidden;
}

.spl-pane {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.3, 1, 0.3, 1);
  contain: layout size;
  will-change: transform, contents;
}

.spl-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;
  text-align: right;
  background-color: rgba(0, 0, 0, 0.45);
  transform: translateY(-100px);
  transition: transform 0.35s ease;
  overflow: hidden;
  will-change: transform;
}

#spotlight.menu .spl-header,
.spl-header:hover {
  transform: translateY(0);
}

.spl-header div {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  width: 50px;
  height: 50px;
  opacity: 0.5;
}

.spl-progress {
  position: absolute;
  top: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.45);
  transform: translateX(-100%);
  transition: transform linear;
}

.spl-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  line-height: 20px;
  padding: 20px 20px 0 20px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  will-change: transform;
}

#spotlight.menu .spl-footer,
.spl-footer:hover {
  transform: translateY(0);
}

.spl-title {
  font-size: 22px;
  margin-bottom: 20px;
  font-family: "Urbanist", var(--font-sans);
}

.spl-description {
  margin-bottom: 20px;
}

.spl-button {
  display: inline-block;
  background: #fff;
  color: #000;
  border-radius: 5px;
  padding: 10px 20px;
  margin-bottom: 20px;
  cursor: pointer;
}

.spl-page {
  float: left;
  width: auto;
  line-height: 50px;
}

.spl-page ~ * {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px;
  float: right;
}

.spl-fullscreen {
  background-image: url("/images/spotlight/maximize.svg");
}

.spl-fullscreen.on {
  background-image: url("/images/spotlight/minimize.svg");
}

.spl-autofit {
  background-image: url("/images/spotlight/autofit.svg");
}

.spl-zoom-out {
  background-image: url("/images/spotlight/zoom-out.svg");
  background-size: 22px;
}

.spl-zoom-in {
  background-image: url("/images/spotlight/zoom-in.svg");
  background-size: 22px;
}

.spl-download {
  background-image: url("/images/spotlight/download.svg");
  background-size: 20px;
}

.spl-theme {
  background-image: url("/images/spotlight/theme.svg");
}

.spl-play {
  background-image: url("/images/spotlight/play.svg");
}

.spl-play.on {
  background-image: url("/images/spotlight/pause.svg");
  animation: pulsate 1s ease infinite;
}

.spl-close {
  background-image: url("/images/spotlight/close.svg");
}

.spl-prev,
.spl-next {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 50px;
  height: 50px;
  opacity: 0.65;
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 100%;
  cursor: pointer;
  margin-top: -25px;
  transform: translateX(-100px);
  transition: transform 0.35s ease;
  background-image: url("/images/spotlight/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px;
  will-change: transform;
}

.spl-next {
  left: auto;
  right: 20px;
  transform: translateX(100px) scaleX(-1);
}

#spotlight.menu .spl-prev {
  transform: translateX(0);
}

#spotlight.menu .spl-next {
  transform: translateX(0) scaleX(-1);
}

@media (hover: hover) {
  .spl-page ~ div {
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  .spl-page ~ div:hover,
  .spl-prev:hover,
  .spl-next:hover {
    opacity: 1;
  }
}
@media (max-width: 500px) {
  .spl-header div {
    width: 44px;
  }
  .spl-footer .spl-title {
    font-size: 20px;
  }
  .spl-footer {
    font-size: 14px;
  }
  .spl-prev,
  .spl-next {
    width: 35px;
    height: 35px;
    margin-top: -17.5px;
    background-size: 15px 15px;
  }
  .spl-adjust-huener {
    background-size: 30px 30px;
  }
}
.hide-scrollbars {
  overflow: hidden !important;
}

@keyframes pulsate {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
.subtitle {
  font-size: var(--font-size-1);
  text-align: center;
  background: var(--background);
  background-clip: text;
  color: rgba(0, 0, 0, 0.3);
}

.wrapper {
  display: grid;
  grid-template-columns: var(--grid-primary);
}
.wrapper > * {
  grid-column: main-content;
}
.wrapper .full-content {
  grid-column: full-content;
}
@media screen and (min-width: 40rem) {
  .wrapper {
    grid-template-columns: var(--grid-desktop);
  }
}
.wrapper.wide {
  display: block;
}

.hidden {
  display: none;
  visibility: hidden;
}

.home ul {
  width: initial;
}
.home ul.open {
  margin-top: 0;
}

@media screen and (min-width: 768px) {
  .mobile-only {
    display: none;
    visibility: hidden;
  }
}