@font-face {
  font-family: "Monument Grotesk";
  src:
    url("../fonts/ABCMonumentGrotesk-Regular-Trial.woff2") format("woff2"),
    url("../fonts/ABCMonumentGrotesk-Regular-Trial.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --color-black: #404040;
  --color-black-rgb: 64, 64, 64;

  --color-white: #fff;
  --color-white-rgb: 255, 255, 255;

  --color-yellow: #ffff00;
  --color-green: #34c759;
  --color-red: #ff383c;

  --color-orange-dark: #f6e5da;

  --color-mid-gray: #8c8c8c;
  --color-light-gray: #f4f4f4;

  --color-text: var(--color-black);
  --color-text-grey: var(--color-mid-gray);
  --color-background: var(--color-white);

  --space-xxs: 0.225rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-base: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-xxl: 8rem;

  --type-sm: 16px;
  --type-base: 20px;
  --type-md: 30px;
  --type-lg: 44px;

  --line-big: 145%;
  --line-base: 120%;
  --line-mid: 115%;
  --line-tight: 100%;

  --radius-small: 0.1rem;

  --width-sm: 600px;
  --width-md: 1024px;

  --font-family-sans: "Monument Grotesk", Helvetica, Arial, sans-serif;
}

@media (max-width: 991.98px) {
  :root {
    --type-sm: 14px;
    --type-base: 16px;
    --type-md: 24px;
    --type-lg: 32px;
  }
}

/* @media (max-width: 991.98px){
  :root {
  --type-sm: 12px;
  --type-base: 14px;
  --type-md: 24px;

  }
} */

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

html {
  font-family: var(--font-family-sans);
  font-size: var(--type-base);
  color: var(--color-text);
  background: var(--color-background);
  line-height: var(--line-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img {
  width: 100%;
}
body {
  margin: 0 auto;
}

ul {
  list-style-type: none;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

ul li::before {
  position: absolute;
  margin-left: -2rem;
  content: "●";
  color: var(--color-black);
  font-size: 0.8em;
  font-weight: 400;
  margin-right: 0.25rem;
}

a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong,
b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

address {
  font-style: normal;
}

.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-base);
  z-index: 990;
}

.header__tools-language {
  text-transform: uppercase;
}

.header__tools-language.active {
  display: none;
}

/* .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  display: block;
  background-color: rgb(23, 23, 23, 0.5);
  backdrop-filter: blur(7.5px);
  color: var(--color-white);
  font-size: var(--type-sm);
    border-radius: var(--radius-small);

} */

.menu,
.header__tools,
.logo-wrapper {
  display: flex;
  gap: var(--space-xxs);
  width: 100%;
}

.menu {
  justify-content: center;
}

.header__tools {
  justify-content: right;
}

.menu a,
.header__tools a,
.logo {
  padding: var(--space-xs) var(--space-sm);
  display: block;
  background-color: rgb(var(--color-black-rgb), 0.5);
  backdrop-filter: blur(7.5px);
  color: var(--color-white);
  font-size: var(--type-sm);
  border-radius: var(--radius-small);
  line-height: var(--line-tight);
  height: 32px;
  align-content: center;
}

.menu a:hover,
.header__tools a:hover,
.logo:hover {
  background-color: rgb(var(--color-black-rgb), 0.85);
}

.menu a[aria-current],
.logo[aria-current] {
  background-color: rgb(var(--color-black-rgb), 0.85);
}

.nav-toggle {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  background-color: rgb(var(--color-black-rgb), 0.5);
  backdrop-filter: blur(7.5px);
  color: var(--color-white);
  font-size: var(--type-sm);
  border-radius: var(--radius-small);
  line-height: var(--line-tight);
  z-index: 999;
}

.nav-toggle:hover {
  background-color: rgb(var(--color-black-rgb), 0.85);
}

.nav-toggle__label {
  position: relative;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 998;
  background-color: rgb(var(--color-black-rgb), 0.65);
  backdrop-filter: blur(24px) saturate(1.2);
  padding: var(--space-base);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu__nav,
.mobile-menu__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: var(--space-base);
}

.mobile-menu__nav *,
.mobile-menu__meta * {
  color: white;
  font-size: var(--type-lg);
  line-height: var(--line-base);
  text-align: center;
  margin-bottom: var(--space-xs);
}

.mobile-menu__nav .header__tools-language {
  text-transform: unset;
}

body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__contact {
  position: absolute;
  bottom: var(--space-base);
  left: 0;
  right: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 6rem;
  gap: var(--space-xxs);
  justify-content: center;
}

.mobile-menu__contact a {
  color: var(--color-white);
  font-size: var(--type-sm);
  background-color: rgb(var(--color-black-rgb), 0.5);
  backdrop-filter: blur(7.5px);
  border-radius: var(--radius-small);
  line-height: var(--line-tight);
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__contact a:hover {
  background-color: rgb(var(--color-black-rgb), 0.85);
}

@media (max-width: 767.98px) {
  .menu,
  .header__tools {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (min-width: 768px) {
  .nav-toggle,
  .mobile-menu {
    display: none;
  }
}

.social {
  display: flex;
  padding: 0 0.5rem;
}
.social a {
  padding: 1rem 0.5rem;
}

.section {
  padding: 3rem 0;
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

h1 {
  font-size: var(--type-md);
  line-height: var(--line-tight);
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 0.5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: 0.875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figure img {
  display: block;
}
.text figcaption {
  padding-top: 0.75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe,
.video video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: cover;
}
.img-caption,
.video-caption {
  padding-top: 0.75rem;
  line-height: 1.5em;
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (min-width: 60rem) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }
}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: 0.5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: 0.5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}

/* ----- main ----- */

main {
  padding-top: var(--space-xl);
  min-height: 100vh;
  min-height: 100svh;
}

.main-content {
  padding: var(--space-base) var(--space-base) var(--space-xl) var(--space-base);
}

.main-content__info {
  padding-top: 0;
}

.main-content h1 {
  margin-bottom: var(--space-xl);
  color: var(--color-mid-gray);
}

.main-content h1 span {
  color: var(--color-black);
}

.main-content__text {
  max-width: var(--width-sm);
  margin: 0 auto;
}

.main-content__text a {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-black);
  backdrop-filter: blur(7.5px);
  color: var(--color-black);
  font-size: var(--type-sm);
  border-radius: var(--radius-small);
  line-height: var(--line-tight);
  height: 32px;
  align-content: center;
}

/* .main-content__text a:hover {
  background-color: var(--color-light-gray);
} */

/* .main-content__text a {
  padding: var(--space-xs);
  border: 1px solid var(--color-black);
  text-decoration: none;
  color: inherit;
}

.main-content__text a::after {
  content: "→";
  display: inline-block;
  margin-left: var(--space-xs);
  transition: transform 0.3s ease;
}

.main-content__text a:hover::after {
  transform: translateX(6px);
} */

.main-content__text h2 {
  display: inline;
  color: var(--color-mid-gray);
}

.main-content__text h2 + p {
  display: inline;
}

.main-content__text p:has(+ ul) {
  margin-bottom: var(--space-md);
}

.main-content__text ul {
  margin-bottom: var(--space-md);
  margin-top: var(--space-md);
}

.main-content__text p {
  margin-bottom: var(--space-xl);
}

.main-content__text p + p {
  margin-top: var(--space-md);
}

.main-content__text p:last-of-type {
  margin-bottom: 0;
}

/*
.cross-page-banner {
  display: flex;
  justify-content: space-between;
  background-color: var(--color-light-gray);
  color: var(--color-mid-gray);
  margin: var(--space-base);
  padding: var(--space-base);
  border-radius: var(--radius-small);

}


.cross-page-banner__text--content {
  font-size: var(--type-md);
  line-height: var(--line-mid);
}

.cross-page-banner__text a {
  width: fit-content;
  padding: var(--space-xs) var(--space-sm);
  background-color: rgb(var(--color-black-rgb), 0.5);
  backdrop-filter: blur(7.5px);
  color: var(--color-white);
  font-size: var(--type-sm);
  border-radius: var(--radius-small);
  line-height: var(--line-tight);
}

.cross-page-banner__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cross-page-banner__image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/2;
  height: 100%;
  background-color: var(--color-black);
}

.cross-page-banner__image img {
  height: 100%;
  object-fit: cover;
  margin-bottom: 0;
} */

.cross-page-banner {
  padding: var(--space-base);
  padding-top: 0;
  margin-bottom: var(--space-lg);
}

.cross-page-banner-hp {
  margin-bottom: 0;
}

.cross-page-banner__link {
  display: grid;
  background-color: var(--color-light-gray);
  padding: var(--space-base);
  grid-template-columns: 2fr 1fr;
  gap: var(--space-base);
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-small);
}

@media (max-width: 991.98px) {
  .cross-page-banner__link {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .cross-page-banner__link {
    grid-template-columns: 1fr;
  }
}

.cross-page-banner__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-small);
}

.cross-page-banner__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.js .cross-page-banner__image img {
  transition: transform 0.5s ease, opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cross-page-banner__link:hover .cross-page-banner__image img {
  transform: scale(1.08);
}

.cross-page-banner__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cross-page-banner__text--content {
  color: rgb(var(--color-black-rgb), 0.5);
  font-size: var(--type-md);
  line-height: var(--line-mid);
}

/* arrow motion */
/* .cross-page-banner__cta .arrow {
  display: inline-block;
  transition: transform .3s ease;
} */

/* .cross-page-banner__link:hover .cross-page-banner__cta .arrow {
  transform: translateX(6px);
} */

@media (max-width: 767.98px) {
  .cross-page-banner__cta {
    display: none;
  }

  .cross-page-banner__image {
    width: 100%;
    aspect-ratio: 2/1;
  }
}

/* ----- creation ----- */

nav.filters,
nav.view-switcher {
  font-size: var(--type-md);
  line-height: var(--line-base);
  padding: 0 var(--space-base);
  color: var(--color-mid-gray);
}

nav.view-switcher .view-switcher__buttons {
  white-space: nowrap;
}

nav.filters a,
nav.view-switcher a {
  word-break: keep-all;
  white-space: nowrap;
}

nav.filters *:hover,
nav.view-switcher *:hover {
  color: var(--color-black);
}

nav.filters *:not(:last-child)::after,
nav.view-switcher *:not(:last-child)::after {
  content: ", ";
}

nav.filters .active,
nav.view-switcher .active {
  color: var(--color-black);
}

nav.filters .active::before,
nav.view-switcher .active::before {
  content: "● ";
}

.creation {
  padding: var(--space-lg) var(--space-base);
}

/*  */

/* .creation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
}

@media (max-width: 991.98px){
  .creation__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px){
  .creation__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.creation__gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 10vw, 12rem);
  margin: 0;
}

.creation__gallery .item {
  display: flex;
  border-radius: var(--radius-small);
  overflow: hidden;
}

.creation__gallery .item.left {
  justify-content: flex-start;
}

.creation__gallery .item.right {
  justify-content: flex-end;
} */

.creation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-base);
  margin: 0;
}

@media (max-width: 991.98px) {
  .creation__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .creation__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* @media (max-width: 991.98px)  { .creation__grid { column-count: 2; } }
@media (max-width: 767.98px)  { .creation__grid { column-count: 1; } } */

.creation__card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.creation__item {
  margin-bottom: var(--space-lg);
  break-inside: avoid;
}

.creation__image {
  display: block;
  border-radius: var(--radius-small);
  overflow: hidden;
}

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

.creation__image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
}
.creation__card:hover .creation__image img {
  transform: scale(1.06);
}

.creation__figure {
  position: relative;
}

.creation__title {
  margin-top: var(--space-base);
  font-size: var(--type-base);
  line-height: var(--line-mid);
}

.creation__title .creation__type {
  display: block;
  color: var(--color-mid-gray);
}

/* Coming soon */
.creation__item--coming-soon .creation__card,
.creation__row--coming-soon .creation__link {
  cursor: not-allowed;
}


.creation__lock {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  color: var(--color-white);
  line-height: 0;
}

.creation__lock svg {
  width: 16px;
  height: 16px;
}

.creation__lock-inline {
  display: inline-flex;
  vertical-align: middle;
  margin-left: var(--space-sm);
  opacity: 0.45;
  position: relative;
  top: -0.1em;
}

.creation__lock-inline svg {
  width: 1em;
  height: 1em;
}

/* Image container width */
/* .creation__gallery .creation__image {
  width: min(65vw, 900px);
}

.creation__gallery .item:nth-child(3n) .creation__image {
  width: min(50vw, 700px);
} */

.js .creation__image img {
  transition:
    transform 0.6s ease-in-out,
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.creation__item:hover .creation__image img {
  transform: scale(1.1);
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .creation__item:hover .creation__image img {
    transform: none;
  }
}
/*
.creation__gallery figcaption {
  max-width: 32rem;
  margin-top: base;
} */

/*
@media (max-width: 991.98px){
  .creation__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-base);
  }

  .creation__gallery > li {
    grid-column: span 1 !important;
  }
}

@media (max-width: 767.98px){
    .creation__gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);

  }
}
 */

.creation__gallery li::before,
.creation__grid li::before,
.creation__index li::before {
  content: none;
  margin: 0;
}

.creation__image {
  margin-bottom: var(--space-base);
}

/*
.creation__gallery .creation__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
} */

.creation__caption--subheadline {
  color: var(--color-mid-gray);
  display: block;
}

.span-1 {
  grid-column: span 1;
}

.span-2 {
  grid-column: span 2;
}

.creation__grid {
  gap: var(--space-base);
}

.creation__grid .creation__image {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius-small);
}

.creation__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.creation__index,
nav.creation__header {
  font-size: var(--type-sm);
  list-style: none;
  margin: 0;
}

.sort-indicator {
  margin-left: var(--space-xs);
}

.creation__row {
  border-bottom: 1px solid var(--color-light-gray);
}

.creation__link {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: var(--space-base);
  padding: 0.6rem 0;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.creation__row:hover .col__title::after {
  color: var(--color-light-gray);
  flex-wrap: nowrap;
  content: "●";
  margin-left: var(--space-sm);
}

.col {
  display: flex;
  align-items: start;
}

.col__year {
  text-align: right;
  justify-content: end;
}

.col__type {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .creation__link {
    grid-template-columns: auto auto;
  }

  .col__type {
    display: none;
  }
}

.col__type {
  min-width: 0;
}

.col__type .truncate {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.creation__link > * {
  min-width: 0;
}

.creation__link {
  position: relative;
}

.hover-cover {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.15s ease;
  z-index: 800;
}

@media (hover: none), (pointer: coarse), (max-width: 1199.98px) {
  .hover-cover {
    display: none !important;
  }
}

.creation__link:hover .hover-cover {
  opacity: 1;
}

.hover-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-small);
}

/* ----- projekt ----- */

.project__bread {
  padding: 0 var(--space-base);
  margin-bottom: var(--space-xl);
  /* margin-top: var(--space-md); */
  font-size: var(--type-md);
  line-height: var(--line-base);
  color: var(--color-mid-gray);
}

.project__bread h1 {
  color: var(--color-black);
  display: inline;
  line-height: var(--line-base);
}

/* ----- footer ----- */

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-base) var(--space-base);
  background-color: var(--color-black);
  color: rgb(var(--color-white-rgb), 0.5);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--type-md);
  color: rgb(var(--color-white-rgb), 0.5);
  line-height: var(--line-mid);
}

.footer__contacts * {
  display: inline-block;
  width: fit-content;
}

.footer__contacts a:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
}

.footer__social-link {
  padding: var(--space-xs) var(--space-sm);
  display: block;
  background-color: var(--color-white);
  color: var(--color-black);
  font-size: var(--type-sm);
  border-radius: var(--radius-small);
  line-height: var(--line-tight);
  height: 32px;
  align-content: center;
}

.footer__note {
  display: flex;
  justify-content: space-between;
  color: rgb(var(--color-white-rgb), 0.25);
  font-size: var(--type-sm);
}

.footer__note * {
  width: 100%;
}

.footer__note :nth-child(2) {
  text-align: center;
}

.footer__note :last-child {
  text-align: right;
}

@media (max-width: 991.98px) {
  .footer__note {
    flex-direction: column;
  }

  .footer__note *,
  .footer__note :last-child {
    text-align: center;
  }
}

.column {
  padding: var(--space-base);
}

ul.album-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-left: 0;
}

@media (max-width: 767.98px) {
  ul.album-gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}

.album-gallery .item {
  grid-column: span 6; /* default = full */
}

.album-gallery .item.is-half {
  grid-column: span 3;
}

.album-gallery .item.is-third {
  grid-column: span 2;
}

/* Optional mobile fallback */
@media (max-width: 768px) {
  .album-gallery {
    grid-template-columns: 1fr;
  }

  .album-gallery .item {
    grid-column: span 1;
  }
}

ul.album-gallery li {
  margin-bottom: 0;
}

ul.album-gallery li::before {
  position: absolute;
  margin-left: -0;
  content: "";
  font-weight: 400;
  margin-right: 0;
}

.intro__text {
  margin: 0 auto;
  padding: 0 var(--space-base);
  max-width: var(--width-md);
  margin-bottom: var(--space-xl);
}

@media (max-width: 1199.98px) {
  .intro__text {
    margin: 0;
    margin-bottom: var(--space-xl);
  }
}

.intro__text__body {
  margin-bottom: var(--space-lg);
  line-height: var(--line-base);
}

.intro__text__roles {
  font-size: var(--type-sm);
  line-height: var(--line-base);
}

.intro__text__roles h2 {
  display: inline;
  color: var(--color-mid-gray);
}

.next-project {
  margin-bottom: var(--space-lg);
}

.other-projects {
  padding: 0 var(--space-base) var(--space-base) var(--space-base);
  margin-bottom: var(--space-lg);
}

.values__items {
  margin: 0 auto;
  max-width: var(--width-sm);
}

.values__items li::before {
  content: "";
}

.value__item {
  background-color: var(--color-light-gray);
  padding: var(--space-base);
  margin-bottom: var(--space-base);
  border-radius: var(--radius-small);
}

.value__item * {
  color: var(--color-mid-gray);
  display: inline;
}

.value__lead p {
  color: var(--color-black);
}
/*
.credits {
  padding: var(--space-base);

}

.credits__inner {
  border-radius: var(--radius-small);
  background-color: var(--color-orange-dark);
  color: rgb(var(--color-black-rgb), 0.5);
  padding: var(--space-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits__inner * {
  max-width: var(--width-sm);
  text-align: center;
  font-size: var(--type-base);
  mix-blend-mode: color-burn;
  margin-bottom: 1rem;
}


} */

.main-content__contact {
  padding-top: 0;
}

.main-content__contact span a {
  color: var(--color-mid-gray);
}

form {
  border-radius: var(--radius-small);
  background-color: var(--color-light-gray);
  padding: var(--space-base);
  max-width: var(--width-md);
  margin: 0 auto;
}

fieldset {
  border: none;
  margin-bottom: var(--space-md);
}

form label,
fieldset legend {
  border-radius: var(--radius-small);
  color: var(--color-mid-gray);
  font-size: var(--type-sm);
  text-transform: uppercase;
}

fieldset label {
  display: flex;
  align-items: center;
  padding: var(--space-base);
  font-size: var(--type-base);
  text-transform: none;
  background-color: white;
  margin-bottom: 1px;
}

fieldset label input {
  display: none;
}

fieldset label span {
  display: inline-block;
  line-height: 100%;
}

fieldset label::before {
  display: inline-block;
  content: "";
  width: var(--space-base);
  height: var(--space-base);
  border: 1px solid var(--color-mid-gray);
  border-radius: 50%;
  margin-right: var(--space-sm);
  flex-shrink: 0;
}

fieldset label:has(input:checked) {
  background: var(--color-black);
  color: var(--color-white);
}

fieldset label:has(input:checked)::before {
  border: none;
  border: 1px solid var(--color-white);
  background-color: var(--color-white);
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  border: none;
  border-radius: var(--radius-small);
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: block;
  padding: var(--space-base);
  font-size: var(--type-base);
  text-transform: none;
  background-color: white;
  margin-bottom: 1px;
  margin-bottom: var(--space-md);
}

.field.has-error input[type="text"],
.field.has-error input[type="email"],
.field.has-error textarea {
  outline: 1.5px solid var(--color-red);
}

.field.has-error legend {
  color: var(--color-red);
}

.field__error {
  display: block;
  color: var(--color-red);
  font-size: var(--type-sm);
  padding: 0 var(--space-base);
  margin-top: calc(-1 * var(--space-sm));
  margin-bottom: var(--space-md);
}

button[type="submit"] {
  width: 100%;
  background-color: var(--color-green);
  border-radius: var(--radius-small);
  padding: var(--space-base);
  font-size: var(--type-base);
  color: var(--color-white);
  transition: background-color 0.2s ease;
}

button[type="submit"]:disabled {
  background-color: var(--color-mid-gray);
  cursor: not-allowed;
}

.alert {
  color: var(--color-white);
  margin: 0 auto;
  margin-bottom: var(--space-base);
  border-radius: var(--radius-small);
  padding: var(--space-base);
  max-width: var(--width-md);
}

.alert ul {
  margin-bottom: 0;
}

.alert ul li::before {
  color: white;
  content: "→";
}

.alert.alert.success ul li::before {
  color: white;
}

.alert.success {
  background-color: var(--color-green);
}

.alert.error {
  background-color: var(--color-red);
}

main:has(.hero) {
  padding-top: 0;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
  mix-blend-mode: difference;
}

.hero__slides img.active {
  opacity: 1;
}

.hero__logo {
  position: absolute;
  display: flex;
  justify-content: center;
  inset: 0;
  z-index: 2;
  padding: var(--space-base);
  pointer-events: none;
}

/* make the inline SVG responsive and predictable */
/* .hero__logo svg {
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
} */

.logo-blur-wrap {
  position: absolute;
  inset: var(--space-base);
}

/* this layer blurs ONLY where the letters are */
.logo-blur {
  width: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;

  /* the actual blur */
  -webkit-backdrop-filter: blur(100px);
  backdrop-filter: blur(100px);

  /* you need some alpha so blur is visible */
  background: rgb(255, 255, 255, 0.8);

  /* mask to the letters (Safari needs -webkit-mask) */
  -webkit-mask-image: url("/assets/icons/logo.svg");
  mask-image: url("/assets/icons/logo.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* credits */

.credits {
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  min-height: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  color: #ca726d;
  overflow: hidden;
}

.credits__title {
  font-size: var(--type-md);
  width: 100%;
}

.credits__inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-small);
  background: var(--color-orange-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* START SCREEN */

.credits__start {
  position: absolute;
  inset: 0;
  padding: var(--space-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-base);
  height: 100%;
}

.credits__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.credits__link {
  margin-top: auto;
  align-self: flex-end;
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid #ca726d;
  text-decoration: none;
  color: inherit;
}

/* .credits__link::after {
  content: "+";
  display: inline-block;
  margin-left: var(--space-xs);
  transition: transform 0.3s ease;
} */

/* .credits__link:hover::after {
  transform: translateX(6px);
} */

/* shared fade helper */
.credits__start,
.credits__roll {
  transition: opacity 0.6s ease;
}

.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ROLL WINDOW */
.credits__roll {
  font-size: var(--type-base);
  height: 100%;
  opacity: 0;
  pointer-events: none;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  width: 400px;
}

.credits.is-rolling .credits__roll {
  opacity: 1;
  pointer-events: auto;
}

.credits__ccc,
.credits__intro {
  font-size: var(--type-base);
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-base);
}

.credits__roll {
  overflow: hidden;
  position: absolute;
}

/* the moving block */
.credits__rollContent {
  will-change: transform;
}

.credits__ccc {
  margin: 0 0 var(--space-base);
}
.intro {
  margin: 0 0 var(--space-base);
}

.collaborators {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .credits__start,
  .credits__roll {
    transition: none;
  }
}

.credits__rollContent ul {
  margin: 0;
}

.credits__rollContent ul li {
  margin-bottom: 0;
}

.credits__rollContent ul li::before {
  content: "";
}

.is-loading .creation {
  opacity: 0.4;
  transition: opacity 0.15s;
}

img {
  border-radius: var(--radius-small);
}

.gallery ul li::before {
  margin-left: 0;
  content: "";
  margin-right: 0;
}

.credits__roll[aria-hidden="true"] {
  display: none;
}
.credits__roll[aria-hidden="false"] {
  display: block;
}

/* Page transition */
@keyframes page-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.js body {
  animation: page-fadein 0.3s ease forwards;
}
.js body.is-leaving {
  animation: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

/* Image fade-in on load */
.js .lazy-img {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.js .lazy-img.is-loaded {
  opacity: 1;
}

/* LQIP wrapper — tiny pixelated placeholder behind the real image */
.img-lqip {
  display: block;
  background-size: cover;
  background-position: center;
}
.img-lqip picture,
.img-lqip > picture {
  display: block;
}
