body {
  font-family: "cofo-sans-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 400;
  font-size: 14pt;
  line-height: 120%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

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

a:hover {
  opacity: 0.6;
}

/* ---------------- HEADER – Grundstil -------------------------------- */

header {
  position: fixed;
  top: 1.875rem;
  left: 1.875rem;
  right: 1.875rem;
  background: white;
  border: 1px solid black;
  padding: 1.25rem;
  z-index: 100;
  font-family: "cofo-sans-mono-variable", sans-serif;
  font-size: 0.875rem;
  line-height: 1.3;
  height: 1rem;
  overflow: hidden;
}

header.header-animated {
  transition: height 0.35s ease;
}

header.open {
  height: calc(100dvh - 1.875rem);
  overflow-y: auto;
}

/* ---------------- HEADER – Top --------------------------------------- */

.header-top {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  column-gap: 2.5rem;
  align-items: center;
}

.header-name {
  grid-column: 1 / 3;
  white-space: nowrap;
}

/* ---------------- HEADER – Menu -------------------------------------- */

.header-menu {
  display: contents;
}

.header-menu>div {
  white-space: nowrap;
  display: flex;
  align-items: center;
  opacity: 0;
}

.header-menu.initialized>div {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.header-about {
  grid-column: 3 / 6;
  justify-self: start;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-werkgruppen {
  grid-column: 6 / 9;
  justify-self: start;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-contact {
  grid-column: 9 / 10;
  justify-self: start;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-menu.initialized>.header-about:hover,
.header-menu.initialized>.header-werkgruppen:hover,
.header-menu.initialized>.header-contact:hover,
.header-info-mobile:hover {
  opacity: 0.6;
}

header:not(.open) .header-about {
  transform: translateX(var(--about-transform, 0));
}

header:not(.open) .header-werkgruppen {
  transform: translateX(var(--werkgruppen-transform, 0));
}

header:not(.open) .header-contact {
  transform: translateX(var(--contact-transform, 0));
}

header.open .header-about,
header.open .header-werkgruppen,
header.open .header-contact {
  transform: translateX(0);
  cursor: default;
}

header.open .header-about:hover,
header.open .header-werkgruppen:hover,
header.open .header-contact:hover {
  opacity: 1;
}

.header-animated .header-menu>div {
  transition: transform 0.35s ease, cursor 0.35s ease;
}

/* ---------------- HEADER – Close -------------------------------------- */

.header-close {
  grid-column: 10 / 11;
  justify-self: end;
  width: 0.875rem;
  height: 0.875rem;
  cursor: pointer;
  display: none;
  position: relative;
  transition: opacity 0.2s;
}

.header-close:hover {
  opacity: 0.6;
}

header.open .header-close {
  display: block;
}

.header-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.header-close span:first-child {
  transform: rotate(45deg);
}

.header-close span:last-child {
  transform: rotate(-45deg);
}

/* ---------------- HEADER – Content -------------------------------------- */

.header-content {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  column-gap: 2.5rem;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  align-items: start;
  opacity: 0;
}

header.open .header-content {
  max-height: none;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  opacity: 1;
}

/* ---------------- HEADER – About -------------------------------------- */

.header-about-text {
  grid-column: 3 / 6;
  font-family: "cofo-sans-variable", sans-serif;
}

.header-about-text p:first-child {
  margin-top: 0;
}

/* ---------------- HEADER – Werkgruppen -------------------------------------- */

.header-werkgruppen-list {
  grid-column: 6 / 9;
  font-family: "cofo-sans-variable", sans-serif;
}

.header-werkgruppen-list .category-title {
  font-family: "cofo-sans-mono-variable";
  margin: 0;
}

.header-werkgruppen-list .category-title:not(:first-child) {
  margin-top: 1.2em;
}

.header-werkgruppen-list ul {
  list-style: none;
  margin: 0;
  padding-left: 1em;
}

/* ---------------- HEADER – Kontakt -------------------------------------- */

.header-contact-data {
  grid-column: 9 / 11;
  font-family: "cofo-sans-mono-variable", sans-serif;
}

.header-contact-data p:first-child {
  margin-top: 0;
}

/* ---------------- HEADER – Imprint -------------------------------------- */

.header-imprint {
  position: absolute;
  padding: 1.25rem;
  top: calc(2.5rem + 1.3em);
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  column-gap: 2.5rem;
  background: white;
  border-top: 1px solid black;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: 5;
}

header.imprint-open .header-imprint {
  transform: translateY(0);
}

.header-imprint-inner {
  font-family: "cofo-sans-variable", sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  max-height: 100%;
  overflow-y: auto;
  grid-column: 3 / 10;
  grid-row: 1;
  padding-bottom: 1.875rem;
}

.header-imprint-link {
  margin-top: 1em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-imprint-link:hover {
  opacity: 0.6;
}

.header-imprint-close {
  grid-column: 10 / 11;
  grid-row: 1;
  justify-self: end;
  width: 0.875rem;
  height: 0.875rem;
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-imprint-close:hover {
  opacity: 0.6;
}

.header-imprint-close span {
  position: absolute;
  background: currentColor;
}

.header-imprint-close .arrow-stem {
  top: 0;
  left: 50%;
  width: 1px;
  height: 0.8125rem;
  transform: translateX(-50%);
}

.header-imprint-close .arrow-left {
  top: 0.4375rem;
  left: 50%;
  width: 0.4375rem;
  height: 1px;
  transform-origin: left center;
  transform: translateX(-0.3125rem) rotate(45deg);
}

.header-imprint-close .arrow-right {
  top: 0.4375rem;
  right: 50%;
  width: 0.4375rem;
  height: 1px;
  transform-origin: right center;
  transform: translateX(0.3125rem) rotate(-45deg);
}

header.no-imprint-animation .header-imprint {
  transition: none;
}

.header-imprint-toggle-mobile {
  display: none;
}

/* ---------------- PROJECT – Columns -------------------------------------- */

.projects-grid {
  display: flex;
  height: 100dvh;
  gap: 0;
  margin: 0;
  padding: 0;
}

.project-column {
  border-left: 1px solid black;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  flex: 1;
}

.project-column:first-child {
  border-left: none;
}

.project-column.collapsed {
  flex: 0 0 3rem;
  padding-right: 3.75rem;
}

.project-column.expanded {
  flex: 1;
  cursor: default;
}

.project-column[data-disabled="true"]:hover {
  cursor: default;
}

.project-column[data-disabled="true"]:hover .project-title {
  color: rgb(230, 230, 230);
}

.project-title-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-left: 1.5rem;
  margin-bottom: 3.5rem;
  align-self: flex-start;
}

.project-title-row .project-title {
  margin-left: 0;
  margin-bottom: 0;
  align-self: auto;
}

.project-coming-soon {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: "cofo-sans-mono-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 400;
  font-size: 1.5rem;
  color: rgb(230, 230, 230);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.project-column[data-disabled="true"]:hover .project-coming-soon {
  opacity: 1;
}

.project-title {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-family: "cofo-sans-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 460;
  font-size: 4rem;
  transform: rotate(180deg);
  color: rgb(230, 230, 230);
  transition: color 0.2s;
  padding: 1.25rem;
  margin-left: 1.5rem;
  margin-bottom: 3.5rem;
  margin-right: 1rem;
  position: relative;
  z-index: 10;
  align-self: flex-start;
}

.project-column:hover .project-title {
  color: rgb(0, 0, 0);
}

.project-column.expanded .project-title {
  color: rgb(0, 0, 0);
}

/* ---------------- PROJECT – Content -------------------------------------- */

.project-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 0;
  transition: opacity 0.3s ease 0.2s;
}

.project-column.expanded .project-content {
  opacity: 1;
  pointer-events: auto;
}

:root {
  --footer-height: 5rem;
}

.project-content-inner {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  padding: 1.875rem;
  margin-left: 5rem;
  white-space: nowrap;
  height: calc(100dvh - var(--footer-height));
  align-items: flex-end;
}

/* ---------------- PROJECT – Images -------------------------------------- */

.project-images {
  display: flex;
  flex-direction: row;
  gap: 0;
  white-space: nowrap;
  align-items: flex-end;
  font-size: 0;
  line-height: 0;
}

.project-images img {
  height: auto;
  width: auto;
  display: inline-block;
  object-fit: contain;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
  font-size: 0.875rem;
}

.project-images img[data-size="small"] {
  max-height: calc(100dvh - 25rem);
}

.project-images img[data-size="medium"] {
  max-height: calc(100dvh - 12.5rem);
}

.project-images img[data-size="large"] {
  max-height: calc(100dvh - 3.125rem);
}

/* ---------------- PROJECT – Subsection -------------------------------------- */

.subsection {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  flex-shrink: 0;
}

.subsection-label {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: "cofo-sans-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 460;
  font-size: 4rem;
  color: rgb(230, 230, 230);
  padding: 1.6rem;
  margin: 0;
  margin-right: 1.875rem;
  flex-shrink: 0;
  align-self: flex-end;
}

.subsection-labels-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: visible;
  display: none;
}

.subsection-label-fixed {
  position: absolute;
  right: 0;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: "cofo-sans-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 460;
  font-size: 4rem;
  color: rgb(230, 230, 230);
  padding: 1.6rem;
  padding-top: 1.2rem;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.2s;
}

.subsection-label-fixed:hover {
  color: rgb(0, 0, 0);
}

.subsection-label-inline {
  position: sticky;
  left: 5rem;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: "cofo-sans-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wght" 460;
  font-size: 4rem;
  color: rgb(0, 0, 0);
  padding: 1.6rem;
  margin: 0;
  cursor: pointer;
  pointer-events: auto;
  align-self: stretch;
  visibility: hidden;
  transition: color 0.2s;
}

.subsection-label-inline:hover {
  color: rgb(100, 100, 100);
}

.project-title-sticky {
  display: none;
}

/* ---------------- FOOTER – Default -------------------------------------- */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid black;
  z-index: 999;
  font-family: "cofo-sans-mono-variable", sans-serif;
  font-size: 0.875rem;
  line-height: 1.3;
  min-height: 3.125rem;
  padding: 0 3.125rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  column-gap: 2.5rem;
  align-items: center;
  min-height: 3.125rem;
}

.footer-home {
  display: contents;
}

.footer-home-text {
  grid-column: 1 / 10;
  padding: 0.9375rem 0;
  display: none;
}

.footer-home .footer-language {
  grid-column: 10 / 11;
  padding: 0.9375rem 0;
  text-align: right;
}

.language-switcher {
  gap: 0.3125rem;
  width: 100%;
}

.language-switcher a {
  text-decoration: none;
  color: black;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.language-switcher a:hover {
  opacity: 0.8;
}

.language-switcher a.active {
  opacity: 1;
}

/* ---------------- FOOTER – Project -------------------------------------- */

.footer-project,
.footer-project-dynamic {
  display: contents;
}

.footer-category {
  grid-column: 1 / 3;
  padding: 1rem 0;
  padding-right: 1.25rem;
}

.footer-text {
  grid-column: 3 / 7;
  padding: 1rem 0;
  position: relative;
}

.footer-text::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: black;
}

.footer-details {
  grid-column: 7 / 10;
  padding: 1rem 0;
  position: relative;
}

.footer-details::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: black;
}

.footer-project-dynamic .footer-language {
  grid-column: 10 / 11;
  text-align: right;
  padding: 1rem 0;
  position: relative;
}

.footer-project-dynamic .footer-language::before {
  content: "";
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: black;
}

.project-info-details p:first-child {
  margin-top: 0;
}

.project-info-details p:last-child {
  margin-bottom: 0;
}

.project-info-details code,
.project-info-text code {
  font-family: "cofo-sans-mono-variable", sans-serif;
  font-size: 0.875rem;
  line-height: 1.3;
}

/* ---------------- FOOTER – Expanded -------------------------------------- */


.footer-expandable {
  position: relative;
}

.footer-label {
  cursor: pointer;
  transition: opacity 0.2s;
  user-select: none;
  display: block;
}

.footer-label:hover {
  opacity: 0.6;
}

.footer-expanded-content {
  position: absolute;
  bottom: 100%;
  background: white;
  padding: 0 1.25rem;
  margin-bottom: 0;
  white-space: normal;
  text-align: left;
  line-height: 150%;
  max-height: 0;
  overflow: hidden;
  z-index: 1000;
  border: 1px solid black;
  border-bottom: none;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "cofo-sans-variable", sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  pointer-events: none;
}

.footer-text .footer-expanded-content {
  left: -1.5rem;
  right: -1.0625rem;
}

.footer-details .footer-expanded-content {
  left: -1.5rem;
  right: -4.5625rem;
}

.footer-expanded-content.active {
  max-height: 25rem;
  padding: 1.25rem;
  padding-right: 3rem;
  overflow-y: auto;
  pointer-events: auto;
}

.footer-expanded-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  cursor: pointer;
  width: 0.875rem;
  height: 0.875rem;
  z-index: 10;
  transition: opacity 0.2s;
}

.footer-expanded-close:hover {
  opacity: 0.6;
}

.footer-expanded-close span {
  position: absolute;
  background: currentColor;
}

.footer-expanded-close .arrow-stem {
  top: 0;
  left: 50%;
  width: 1px;
  height: 0.8125rem;
  transform: translateX(-50%);
}

.footer-expanded-close .arrow-left {
  top: 0.4375rem;
  left: 50%;
  width: 0.4375rem;
  height: 1px;
  transform-origin: left center;
  transform: translateX(-0.3125rem) rotate(45deg);
}

.footer-expanded-close .arrow-right {
  top: 0.4375rem;
  right: 50%;
  width: 0.4375rem;
  height: 1px;
  transform-origin: right center;
  transform: translateX(0.3125rem) rotate(-45deg);
}

.footer-expanded-content::-webkit-scrollbar {
  width: 0.375rem;
}

.footer-expanded-content::-webkit-scrollbar-track {
  background: #ffffff;
}

.footer-expanded-content::-webkit-scrollbar-thumb {
  background: #dadada;
}

.footer-expanded-content::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

/* ---------------- RESPONSIVE – Body -------------------------------------- */

@media (max-width: 64em) {
  body {
    overflow: hidden;
    font-size: 12pt;
  }

  /* ---------------- RESPONSIVE – Header -------------------------------------- */

:root {
  --footer-height: 5rem;
}

@supports (height: 100dvh) {

  
  .projects-grid {
    height: calc(var(--dvh, 1dvh) * 100);
  }
  
  .project-content-inner {
    height: calc(calc(var(--dvh, 1dvh) * 100) - var(--footer-height));
  }
}

  header {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0;
    height: 3.125rem;
  }

  header.open {
    height: auto;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-top {
    grid-template-columns: 1fr auto;
    column-gap: 1.25rem;
    padding: 1rem;
  }

  .header-name {
    grid-column: 1;
    white-space: nowrap;
  }

  .header-menu {
    display: none;
  }

  .header-info-mobile {
    display: block !important;
    grid-column: 2;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .header-info-mobile:hover {
    opacity: 0.6;
  }

  header.open .header-info-mobile {
    display: none !important;
  }

  .header-close {
    grid-column: 2;
    display: none;
  }

  header.open .header-close {
    display: block;
  }

  .header-content {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-bottom: 0;
  }

  header.open .header-content {
    max-height: none;
    padding-top: 0;
    margin-top: 0;
    opacity: 1;
  }

  .header-about-text,
  .header-werkgruppen-list,
  .header-contact-data {
    grid-column: 1;
    padding: 1rem;
    margin-bottom: 0;
    border-top: 1px solid black;
  }

  .header-about-text p:last-child,
  .header-werkgruppen-list p:last-child,
  .header-contact-data p:last-child,
  .header-imprint-inner p:last-child {
    margin-bottom: 0;
  }

  /* ---------------- RESPONSIVE – Imprint -------------------------------------- */

  .header-imprint {
    position: static;
    transform: none;
    transition: none;
    background: transparent;
    border-top: none;
    padding: 1rem;
    grid-template-columns: 1fr;
    column-gap: 0;
    display: none;
  }

  .header-imprint-link {
    display: none;
  }

  .header-imprint-toggle-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem 1rem;
    border-top: 1px solid black;
    cursor: pointer;
  }

  .header-imprint-toggle-mobile .toggle-arrow {
    width: 0.875rem;
    height: 0.875rem;
    position: relative;
    flex-shrink: 0;
  }

  .header-imprint-toggle-mobile .toggle-arrow span {
    position: absolute;
    background: currentColor;
  }

  .header-imprint-toggle-mobile .arrow-stem {
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 0.8125rem;
    transform: translateX(-50%);
  }

  .header-imprint-toggle-mobile .arrow-left {
    top: 0.375rem;
    left: 50%;
    width: 0.4375rem;
    height: 1px;
    transform-origin: left center;
    transform: translateX(-0.3rem) translateY(0.17rem) rotate(45deg);
  }

  .header-imprint-toggle-mobile .arrow-right {
    top: 0.375rem;
    right: 50%;
    width: 0.4375rem;
    height: 1px;
    transform-origin: right center;
    transform: translateX(0.3rem) translateY(0.17rem) rotate(-45deg);
  }

  header.imprint-open .header-imprint-toggle-mobile .arrow-left {
    transform: translateX(-0.3rem) rotate(-45deg);
  }

  header.imprint-open .header-imprint-toggle-mobile .arrow-right {
    transform: translateX(0.3rem) rotate(45deg);
  }


  header.open.imprint-open .header-imprint {
    display: block;
    padding: 1rem;
    padding-top: 0;
    margin-top: -3rem;
    border-top: none;
  }

  .header-imprint-inner {
    grid-column: 1;
    max-height: none;
    overflow-y: visible;
    padding-bottom: 1rem;
  }

  .header-imprint-close {
    display: none;
  }

  /* ---------------- RESPONSIVE – Project Columns   -------------------------------------- */

  .projects-grid {
    flex-direction: column;
    height: calc(100dvh - 7.16rem);
    gap: 0;
    padding-top: 4.5rem;
    margin: 0;
  }

  .projects-grid:has(.project-column.expanded) {
    padding-top: 0;
    height: calc(100dvh - 2.66rem);  
  }

  .project-column {
    border-left: none;
    border-bottom: 1px solid black;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    min-height: 0; /* NEU */
  }

  .project-column:last-child {
    border-bottom: none;
  }

  .project-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.25rem;
    margin: 0;
    padding: 0.9375rem;
    color: rgb(230, 230, 230);
    transition: color 0.2s;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    order: -1;
  }

  .project-column:active .project-title,
  .project-column.expanded .project-title {
    color: rgb(0, 0, 0);
  }

  .project-column.collapsed {
    flex: 0 0 3.125rem;
    min-height: 0;
    overflow: hidden;
  }

  .project-column.expanded {
    flex: auto;
  }

  .project-column.expanded .project-title-sticky {
    display: block;
    position: sticky;
    top: 4.5rem;
    left: 0;
    height: 3rem;
    cursor: pointer;
    z-index: 20;
  }

  .project-title-row {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    margin-bottom: 0;
  }

  .project-coming-soon {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1rem;
    padding: 0 0 0 1rem;
    opacity: 0;
    transition: opacity 0.2s;
  }

  @keyframes fadeInOut {
    0% {
      opacity: 0;
    }

    15% {
      opacity: 1;
    }

    75% {
      opacity: 1;
    }

    100% {
      opacity: 0;
    }
  }

  .project-coming-soon.visible {
    animation: fadeInOut 2.2s ease forwards;
    pointer-events: none;
  }

  .project-column[data-disabled="true"]:hover .project-coming-soon {
    opacity: 0;
  }

  /* ---------------- RESPONSIVE – Project Content   -------------------------------------- */

  .project-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    transition: opacity 0.3s ease 0.2s;
    -webkit-overflow-scrolling: touch;
  }

  .project-title-sticky {
    position: sticky;
    top: 4.45rem;
    z-index: 20;
    font-family: "cofo-sans-variable", sans-serif;
    font-variation-settings: "slnt" 0, "wght" 460;
    font-size: 2.25rem;
    padding: 0.9375rem;
    margin: 0;
    color: rgb(0, 0, 0);
    display: block;
    visibility: visible;
    transition: visibility 0s ease 0s;
  }

  .project-column.expanded .project-title {
    display: none;
  }

  .project-column.expanded .project-content {
    opacity: 1;
    pointer-events: auto;
  }

  .project-column:not(.expanded) .project-title-sticky {
    visibility: hidden;
  }

  .project-content-inner {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    height: auto;
    white-space: normal;
    align-items: stretch;
    gap: 0;
  }

  .project-content-inner>.project-title-mobile {
    font-family: "cofo-sans-variable", sans-serif;
    font-variation-settings: "slnt" 0, "wght" 460;
    font-size: 2.25rem;
    padding: 0.9375rem;
    margin: 0;
    color: rgb(0, 0, 0);
  }

  /* ---------------- RESPONSIVE – Project Images   -------------------------------------- */

  .project-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: normal;
    width: 100%;
  }

  .project-images img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .project-images img[data-size="large"] {
    width: 100%;
  }

  .project-images img[data-size="medium"] {
    width: 87.5%;
  }

  .project-images img[data-size="small"] {
    width: 75%;
  }

  /* ---------------- RESPONSIVE – Project Subsection   -------------------------------------- */
  .subsection {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: unset;
  }

  .subsection-label-inline {
    position: sticky;
    top: 6.6rem;
    left: unset;
    bottom: unset;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.25rem;
    padding: 0.9375rem;
    align-self: stretch;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    z-index: 19;
    cursor: pointer;
    visibility: hidden;
  }

  .subsection-label-fixed {
    position: absolute;
    right: unset;
    left: 0;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.25rem;
    padding: 0.9375rem;
    width: 100%;
    box-sizing: border-box;
    background: none;
    border: none;
    color: rgb(230, 230, 230);
    cursor: pointer;
    pointer-events: auto;
  }

  .subsection-label-fixed:nth-child(1) {
    bottom: 0 !important;
  }

  .subsection-label-fixed:nth-child(2) {
    bottom: 3.5rem !important;
  }

  .subsection-label-fixed:nth-child(3) {
    bottom: 7rem !important;
  }

  .subsection-labels-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: visible;
  }

  /* ---------------- RESPONSIVE – Project Text / Details   -------------------------------------- */

  .project-text-mobile {
    font-family: "cofo-sans-variable", sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0;
    margin: 0;
  }

  .mobile-section-label {
    font-family: "cofo-sans-mono-variable", sans-serif;
    font-size: 0.875rem;
    padding: 0.75rem 0.9375rem;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    display: block;
  }

  .mobile-section-content {
    padding: 1rem;
  }

  .project-info-details code,
  .project-info-text code,
  .project-details-content code,
  .project-text-content code {
    font-family: "cofo-sans-mono-variable", sans-serif;
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .project-text-content p,
  .project-details-content p {
    margin: 0;
  }

  .project-details-content p + p {
  margin-top: 0;
}

  /* ---------------- RESPONSIVE – Footer   -------------------------------------- */

  footer {
    padding: 0 0.9375rem;
    min-height: 2.66rem;
  }

  .footer-content {
    grid-template-columns: 1fr auto;
    column-gap: 0.9375rem;
    min-height: 2.5rem;
  }

  .footer-home-text {
    grid-column: 1;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    display: none;
  }

  .footer-home .footer-language {
    grid-column: 2;
    padding: 0.75rem 0;
    text-align: right;
  }

  .footer-project,
  .footer-project-dynamic {
    display: none !important;
  }

  .subsection-label {
    display: none;
  }

}