@font-face {
  font-family: "Maxima";
  src: url("../fonts/Maxima-Med.woff2") format("woff2"),
    url("../fonts/Maxima-Med.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  --page: #fff;
  --text: #000;
  --blue: #007fff;
  --green: #1bc805;
  --edge: 10px;
  --header-top: 10px;
  --desktop-type: 34px;
  --line: 1.15;
  --site-max: 2560px;
  --control-stroke: 3px;
  --control-size: 24px;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: var(--text);
  font-family: "Maxima", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-width: 320px;
  overscroll-behavior-y: none;
}

body>main,
body>.site-footer {
  background: var(--page);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--site-max);
}

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

img {
  display: block;
  height: auto;
  width: 100%;
}

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

.site-header {
  align-items: flex-start;
  color: #fff;
  display: flex;
  font-size: var(--desktop-type);
  justify-content: space-between;
  line-height: var(--line);
  margin: 0 auto;
  mix-blend-mode: difference;
  padding: 0 var(--edge);
  pointer-events: none;
  position: fixed;
  text-align: center;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--site-max));
  z-index: 10000;
}

.is-section-page .site-header {
  color: #000;
  padding-left: 10px;
  padding-right: 10px;
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

.brand {
  color: #fff;
}

.desktop-nav {
  display: contents;
}

.desktop-nav a {
  color: #fff;
  display: block;
}

.desktop-nav .is-blue {
  color: #fff;
}

.desktop-nav .is-green {
  color: #fff;
}

.desktop-nav .is-light {
  color: #fff;
}

.menu-button {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-projects {
  display: none;
}

.desktop-home {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(12, 1fr);
  padding: 80px var(--edge) 0;
}

.feature {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 116px;
  margin: 0;
  min-height: 100vh;
}

.feature img {
  height: 100vh;
  object-fit: cover;
}

.feature a {
  display: block;
}

.feature figcaption {
  align-items: flex-end;
  display: flex;
  font-size: 20px;
  height: 100vh;
  justify-content: flex-start;
  line-height: var(--line);
  margin: 0;
  min-width: 0;
  overflow: visible;
  text-align: left;
  width: auto;
  writing-mode: sideways-lr;
}

.feature:nth-of-type(even) {
  grid-template-columns: 116px 1fr;
}

.feature:nth-of-type(even) img {
  grid-column: 2;
}

.feature:nth-of-type(even) figcaption {
  grid-column: 1;
  grid-row: 1;
}

.feature.narrow-right {
  grid-column: 6 / -1;
  grid-template-columns: 1fr 116px;
}

.feature.narrow-right img {
  grid-column: 1;
}

.feature.narrow-right figcaption {
  grid-column: 2;
}

.landing-project:nth-of-type(odd) {
  grid-column: 1 / 12;
}

.landing-project:nth-of-type(even) {
  grid-column: 2 / -1;
}

.landing-project:nth-of-type(odd) {
  grid-template-columns: minmax(0, 1fr) max-content;
}

.landing-project:nth-of-type(odd) img {
  grid-column: 1;
}

.landing-project:nth-of-type(odd) figcaption {
  grid-column: 2;
  grid-row: 1;
  margin-left: 4px;
}

.landing-project:nth-of-type(even) {
  grid-template-columns: max-content minmax(0, 1fr);
}

.landing-project:nth-of-type(even) img {
  grid-column: 2;
}

.landing-project:nth-of-type(even) figcaption {
  grid-column: 1;
  grid-row: 1;
  margin-right: 4px;
}

/* Landingbilder behalten ihr ursprüngliches Seitenverhältnis. */
.landing-project {
  max-width: 100%;
  min-height: 0;
  width: fit-content;
}

.landing-project:nth-of-type(odd),
.landing-project:nth-of-type(even) {
  grid-column: 1 / -1;
  grid-template-columns: max-content max-content;
}

.landing-project:nth-of-type(odd) {
  justify-self: start;
}

.landing-project:nth-of-type(even) {
  justify-self: end;
}

.landing-project a {
  height: auto;
  max-width: calc(100vw - var(--edge) - var(--edge) - 40px);
  width: auto;
}

.landing-project img {
  display: block;
  height: auto;
  max-height: 90dvh;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.landing-project figcaption {
  align-self: stretch;
  height: auto;
}

.intro-copy {
  font-size: 34px;
  grid-column: 2 / 12;
  line-height: var(--line);
  margin: 40px 0 55px;
}

.intro-copy p {
  margin: 0;
}

.site-footer {
  display: flex;
  font-size: var(--desktop-type);
  justify-content: space-between;
  line-height: var(--line);
  padding: 71px var(--edge) 32px;
  text-align: center;
}

.plain-page {
  margin: 0 auto;
  max-width: 900px;
  padding: 68px 20px 80px;
}

.footer-page {
  min-height: 100vh;
  padding: 68px var(--edge) 80px;
}

.footer-page-inner {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
}

.footer-page h1,
.footer-page-copy {
  font-size: var(--desktop-type);
  font-weight: 400;
  line-height: var(--line);
  margin: 0;
}

.footer-page-copy p,
.footer-page-copy ul,
.footer-page-copy ol {
  margin: 0 0 28px;
}

.footer-page-copy p:last-child,
.footer-page-copy ul:last-child,
.footer-page-copy ol:last-child {
  margin-bottom: 0;
}

.footer-page-copy ul,
.footer-page-copy ol {
  padding-left: 34px;
}

.work-page {
  min-height: 100vh;
  padding: 80px 10px 30px;
}

.info-page {
  min-height: 100vh;
  padding: 80px 10px 30px;
}

.work-page {
  --accent: var(--blue);
}

.work-page.theme-green {
  --accent: var(--green);
}

.work-panel {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 98px);
  position: relative;
}

.service-card {
  --control-size: 18px;
  --control-stroke: 2px;
  align-self: start;
  background: #ebebeb;
  border-radius: 0;
  color: #000;
  font-size: 34px;
  line-height: var(--line);
  margin-top: 0;
  padding: 4px 10px 6px;
  z-index: 90;
}

.theme-green .service-card {
  grid-column: 2;
  grid-row: 1;
}

.service-item {
  margin: 0 0 3px;
}

.service-toggle {
  align-items: start;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 8px;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  padding: 0;
  text-align: left;
  width: 100%;
}

.service-toggle:focus,
.service-toggle:focus-visible,
.service-toggle:active {
  outline: none;
}

.service-title {
  font-weight: 400;
  text-align: center;
}

.service-symbol,
.team-symbol {
  display: block;
  height: var(--control-size);
  justify-self: end;
  position: relative;
  width: var(--control-size);
}

.service-symbol {
  margin-top: 0.26em;
}

.service-symbol::before,
.service-symbol::after,
.team-symbol::before,
.team-symbol::after {
  background: currentColor;
  content: "";
  display: block;
  height: var(--control-stroke);
  left: 0;
  position: absolute;
  top: calc((var(--control-size) - var(--control-stroke)) / 2);
  width: var(--control-size);
}

.service-symbol::after,
.team-symbol::after {
  opacity: 1;
  transform: rotate(90deg);
}

.service-item.is-open .service-symbol::after,
.team-member.is-open .team-symbol::after {
  opacity: 0;
}

.service-detail {
  font-size: 34px;
  height: 0;
  overflow: hidden;
  transition: height 260ms ease;
}

.service-detail-inner {
  margin: 5px 34px 8px 34px;
}

.service-detail ul,
.service-detail p {
  margin-bottom: 0;
  margin-top: 0;
}

.service-detail li+li {
  margin-top: 5px;
}

.service-info {
  font-size: 20px;
  line-height: var(--line);
  margin-top: 2px;
}

.work-intro {
  font-size: 34px;
  line-height: var(--line);
  margin-top: 28px;
}

.work-intro p {
  margin: 0;
}

.project-list {
  align-self: start;
  display: grid;
  font-size: 20px;
  gap: 22px;
  line-height: var(--line);
  padding: 0;
}

.project-list-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr) minmax(90px, 1fr) minmax(0, 1.25fr);
}

.project-list-row span {
  -webkit-hyphens: auto;
  hyphens: auto;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.project-column {
  align-self: start;
}

.theme-green .project-column {
  grid-column: 1;
  grid-row: 1;
}

.work-panel.is-service-shorter .service-card,
.work-panel.is-project-shorter .project-column {
  position: sticky;
  top: var(--sticky-top, 80px);
}

.project-images {
  align-self: start;
  display: none;
  gap: 0;
  grid-template-columns: 1fr;
}

.project-images article {
  margin: 0;
}

.project-images img {
  height: auto;
}

.project-images h2 {
  font-size: 20px;
  line-height: var(--line);
  margin: 3px 0 10px;
}

.work-page[data-view="images"] .project-list {
  display: none;
}

.work-page[data-view="images"] .project-images {
  display: grid;
}

.work-page[data-view="list"] .project-images {
  display: none;
}

.view-toggle {
  display: flex;
  gap: 116px;
  justify-content: center;
  margin-bottom: 34px;
  margin-top: -10px;
}

.view-toggle button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #CCC;
  cursor: pointer;
  font: inherit;
  font-size: 34px;
  padding: 0;
}

.view-toggle button.is-active,
.view-toggle button:hover {
  color: #000;
}

.is-section-page .site-footer {
  padding: 40px 10px 30px;
}

.info-content {
  margin-top: 80px;
  max-width: none;
  padding-left: calc(7.5% + 1px);
  padding-right: calc(25% + 5px);
}

.info-text {
  padding: 0;
}

.info-hero-row {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 3.4fr) minmax(260px, 1fr);
}

.info-hero {
  margin: 0;
}

.info-hero img {
  height: auto;
}

.info-hero figcaption {
  font-size: 20px;
  line-height: var(--line);
  margin: 3px 0 10px;
}

.info-lead {
  font-size: 34px;
  line-height: var(--line);
  margin-bottom: 60px;
}

.info-lead p {
  margin: 0;
}

.info-menu {
  display: grid;
  gap: 10px;
  font-size: 34px;
  line-height: var(--line);
  position: fixed;
  right: max(10px, calc((100vw - var(--site-max)) / 2 + 10px));
  text-align: right;
  top: 68px;
  width: max(260px, calc((min(100vw, var(--site-max)) - 40px) / 4.4));
  z-index: 10;
}

.info-menu-sticky {
  top: 68px;
}

.info-section {
  scroll-margin-top: 200px;
}

.info-section+.info-section {
  margin-top: 80px;
}

.info-section-title {
  font-size: 34px;
  font-weight: 400;
  line-height: var(--line);
  margin: 0 0 28px;
  text-align: center;
}

.info-section h2:not(.info-section-title) {
  font-size: 34px;
  font-weight: 400;
  line-height: var(--line);
  margin: 0 0 28px;
  text-align: left;
}

.info-section p,
.info-section li {
  font-size: 20px;
  line-height: var(--line);
}

.info-section p {
  margin: 0 0 36px;
}

.info-section p:last-child,
.info-section ul:last-child,
.info-section ol:last-child {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 0 10px;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2.3fr);
  margin: 0;
}

.contact-list dt,
.contact-list dd {
  font-size: 34px;
  line-height: var(--line);
  margin: 0;
  min-width: 0;
}

.contact-list dt {
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: normal;
}

.contact-list dd p {
  font-size: inherit;
  margin: 0;
}

.info-entry-list {
  display: grid;
  gap: 24px;
}

.info-entry {
  display: block;
}

.info-entry time,
.info-entry-body p,
.info-entry-body li {
  font-size: 20px;
  line-height: var(--line);
}

.info-entry time {
  display: block;
  margin-bottom: 14px;
}

.info-entry-body h3 {
  font-size: 34px;
  line-height: var(--line);
  margin: 0;
}

.info-entry-toggle {
  align-items: start;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 34px;
  grid-template-columns: 1fr var(--control-size);
  line-height: var(--line);
  padding: 0;
  text-align: left;
  width: 100%;
}

.info-entry-toggle:focus,
.info-entry-toggle:focus-visible,
.info-entry-toggle:active {
  outline: none;
}

.info-entry-symbol {
  display: block;
  height: var(--control-size);
  justify-self: end;
  margin-top: 0.2em;
  position: relative;
  width: var(--control-size);
}

.info-entry-symbol::before,
.info-entry-symbol::after {
  background: currentColor;
  content: "";
  display: block;
  height: var(--control-stroke);
  left: 0;
  position: absolute;
  top: calc((var(--control-size) - var(--control-stroke)) / 2);
  width: var(--control-size);
}

.info-entry-symbol::after {
  opacity: 1;
  transform: rotate(90deg);
}

.info-entry.is-open .info-entry-symbol::after {
  opacity: 0;
}

.info-entry-detail {
  height: 0;
  overflow: hidden;
  transition: height 260ms ease;
}

.info-entry-body {
  padding-top: 10px;
}

.info-entry-body p {
  margin: 0 0 20px;
}

.info-entry-body ul {
  margin: 0 0 20px;
  padding-left: 34px;
}

.info-entry-body p:last-child,
.info-entry-body ul:last-child,
.info-entry-body ol:last-child {
  margin-bottom: 0;
}

.info-entry-body img {
  margin-top: 14px;
}

.team-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-toggle {
  align-items: start;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 34px;
  grid-template-columns: 1fr var(--control-size);
  line-height: var(--line);
  padding: 0;
  width: 100%;
}

.team-symbol {
  margin-top: 0.2em;
}

.team-toggle:focus,
.team-toggle:focus-visible,
.team-toggle:active {
  outline: none;
}

.team-detail {
  height: 0;
  overflow: hidden;
  transition: height 260ms ease;
}

.team-detail-inner {
  padding-top: 10px;
}

.team-detail img {
  margin-bottom: 10px;
}

.team-detail p {
  font-size: 20px;
  line-height: var(--line);
  margin: 0 0 20px;
}

.team-detail p:last-child {
  margin-bottom: 0;
}

.project-page {
  min-height: 100vh;
  padding: 68px 10px 30px;
}

.project-detail {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.project-text,
.project-media {
  align-self: start;
}

.project-detail.is-text-shorter .project-text,
.project-detail.is-media-shorter .project-media {
  position: sticky;
  top: var(--sticky-top, 68px);
}

.project-text {
  font-size: 34px;
  line-height: var(--line);
  padding-right: 10px;
}

.project-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 28px;
}

.project-meta-single {
  grid-template-columns: 1fr;
}

.project-text span {
  display: block;
  font-size: 20px;
  line-height: var(--line);
  margin-bottom: 4px;
}

.project-text h1,
.project-text .project-meta-value {
  display: block;
  font-size: 34px;
  font-weight: 400;
  line-height: var(--line);
  margin: 0;
}

.project-field {
  margin-bottom: 0;
}

.project-field p,
.project-copy p,
.project-facts p {
  margin: 0 0 30px;
}

.project-field p:last-child,
.project-copy p:last-child,
.project-facts p:last-child,
.project-facts ul:last-child,
.project-facts ol:last-child {
  margin-bottom: 0;
}

.project-copy {
  margin-top: 0;
}

.project-facts {
  display: grid;
  gap: 22px 34px;
  grid-template-columns: 1fr;
  margin-top: 34px;
}

.project-facts section {
  min-width: 0;
}

.project-facts a {
  color: var(--blue);
}

.project-link-list,
.project-download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-link-list li + li,
.project-download-list li + li {
  margin-top: 4px;
}

.project-media {
  display: grid;
  gap: 10px;
}

.project-slide-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  text-align: left;
}

.project-slide-trigger:focus,
.project-slide-trigger:focus-visible,
.project-slide-trigger:active {
  outline: none;
}

.project-media img {
  height: auto;
}

.project-lightbox {
  background: #fff;
  display: none;
  inset: 0;
  position: fixed;
  z-index: 20000;
}

.project-lightbox.is-open {
  display: block;
}

.project-lightbox-media {
  align-items: stretch;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.project-lightbox-media img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.project-lightbox-controls {
  display: flex;
  gap: 42px;
  justify-content: center;
  position: fixed;
  right: 5vw;
  top: 60px;
  z-index: 20001;
}

.project-lightbox-controls button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
  display: block;
  height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
}

.project-lightbox-controls button:focus,
.project-lightbox-controls button:focus-visible,
.project-lightbox-controls button:active {
  outline: none;
}

.lightbox-arrow span,
.lightbox-arrow::before,
.lightbox-arrow::after,
.lightbox-close::before,
.lightbox-close::after {
  background: currentColor;
  content: "";
  display: block;
  position: absolute;
}

.lightbox-arrow span {
  height: var(--control-stroke);
  top: calc((44px - var(--control-stroke)) / 2);
  width: 31px;
}

.lightbox-arrow::before,
.lightbox-arrow::after {
  height: var(--control-stroke);
  width: 16px;
}

.lightbox-prev::before {
  left: 7px;
  top: calc((44px - var(--control-stroke)) / 2);
  transform: rotate(-45deg);
  transform-origin: left center;
}

.lightbox-prev::after {
  left: 7px;
  top: calc((44px - var(--control-stroke)) / 2);
  transform: rotate(45deg);
  transform-origin: left center;
}

.lightbox-prev span {
  left: 6px;
}

.lightbox-next::before {
  right: 7px;
  top: calc((44px - var(--control-stroke)) / 2);
  transform: rotate(45deg);
  transform-origin: right center;
}

.lightbox-next::after {
  right: 7px;
  top: calc((44px - var(--control-stroke)) / 2);
  transform: rotate(-45deg);
  transform-origin: right center;
}

.lightbox-next span {
  right: 6px;
}

.lightbox-close::before,
.lightbox-close::after {
  height: var(--control-stroke);
  left: 7px;
  top: calc((44px - var(--control-stroke)) / 2);
  width: 30px;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  html {
    background: #fff;
  }

  :root {
    --edge: 10px;
  }

  .site-header {
    align-items: center;
    background: transparent;
    display: grid;
    font-size: 34px;
    grid-template-columns: 35px 1fr 35px;
    left: 50%;
    line-height: var(--line);
    margin: 0;
    mix-blend-mode: difference;
    padding: 10px var(--edge) 0;
    position: fixed;
    top: 0;
    transform: translateX(-50%);
    z-index: 300;
  }

  .has-open-menu .site-header {
    align-items: start;
    background: #fff;
    bottom: 0;
    grid-template-rows: auto 1fr;
    mix-blend-mode: normal;
    pointer-events: auto;
  }

  .brand {
    color: #fff;
    grid-column: 2;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    appearance: none;
    background: transparent;
    border: 0;
    display: grid;
    gap: 7px;
    grid-column: 3;
    height: 25px;
    padding: 0;
    position: relative;
    width: 35px;
  }

  .menu-button span {
    background: #fff;
    display: block;
    height: 3px;
    width: 35px;
  }

  .has-open-menu .brand {
    color: #000;
  }

  .has-open-menu .menu-button span {
    background: #000;
  }

  .has-open-menu .menu-button {
    display: block;
    height: 35px;
  }

  .has-open-menu .menu-button span {
    left: 0;
    position: absolute;
    top: 16px;
  }

  .has-open-menu .menu-button span:first-child {
    transform: rotate(45deg);
  }

  .has-open-menu .menu-button span:nth-child(2) {
    display: none;
  }

  .has-open-menu .menu-button span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-nav {
    align-self: stretch;
    background: #fff;
    display: none;
    font-size: 34px;
    grid-column: 2;
    grid-row: 2;
    grid-template-rows: auto 1fr auto;
    line-height: var(--line);
    min-height: 0;
    padding: 12px 0 70px;
    text-align: center;
    z-index: 1;
  }

  .has-open-menu .mobile-nav {
    display: grid;
  }

  .mobile-nav-links {
    display: grid;
    gap: 16px;
  }

  .mobile-nav a {
    color: #000;
  }

  .mobile-nav-footer {
    align-self: end;
    font-size: 14px;
    line-height: var(--line);
    padding: 0 24px;
  }

  .mobile-nav-address {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .mobile-nav-address p {
    margin: 0;
  }

  .mobile-nav-footer p {
    margin: 0;
  }

  .mobile-nav-footer p:last-child {
    margin-bottom: 0;
  }

  body.has-open-menu {
    overflow: hidden;
  }

  .project-lightbox-controls {
    display: flex;
    gap: 0;
    justify-content: center;
    left: 50%;
    right: auto;
    top: 20px;
    transform: translateX(-50%);
    width: auto;
  }

  .project-lightbox-controls button {
    height: 36px;
    width: 36px;
  }

  .lightbox-arrow span {
    left: 50%;
    right: auto;
    top: calc(50% - var(--control-stroke) / 2);
    transform: translateX(-50%);
    width: 25px;
  }

  .lightbox-arrow::before,
  .lightbox-arrow::after {
    top: calc(50% - var(--control-stroke) / 2);
    width: 13px;
  }

  .lightbox-prev::before,
  .lightbox-prev::after {
    left: calc(50% - 13px);
  }

  .lightbox-next::before,
  .lightbox-next::after {
    right: calc(50% - 13px);
  }

  .lightbox-close::before,
  .lightbox-close::after {
    left: 50%;
    top: calc(50% - var(--control-stroke) / 2);
    transform-origin: center;
    width: 25px;
  }

  .lightbox-close::before {
    transform: translateX(-50%) rotate(45deg);
  }

  .lightbox-close::after {
    transform: translateX(-50%) rotate(-45deg);
  }

  .desktop-home {
    display: none;
  }

  .mobile-projects {
    display: block;
    padding: 65px var(--edge) 0;
  }

  .mobile-project {
    margin: 0;
  }

  .mobile-project img {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
  }

  .mobile-project h2 {
    font-size: 20px;
    line-height: var(--line);
    margin: 3px 0 10px;
  }

  .mobile-intro-copy {
    display: block;
    font-size: 20px;
    line-height: var(--line);
    margin: 36px 0 42px;
  }

  .site-footer {
    display: none;
  }

  .work-page,
  .info-page,
  .footer-page {
    padding: 68px 10px 40px;
  }

  .work-page {
    padding-bottom: 190px;
  }

  .work-panel,
  .info-page,
  .footer-page-inner {
    display: block;
  }

  .theme-green .service-card,
  .theme-green .project-column {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card {
    --control-size: 14px;
    --control-stroke: 2px;
    background: #ebebeb;
    border-radius: 0;
    bottom: 10px;
    left: 20px;
    font-size: 20px;
    margin-bottom: 10px;
    max-height: 45vh;
    overscroll-behavior: contain;
    overflow: auto;
    padding: 4px 10px 6px;
    position: fixed;
    right: 20px;
    top: auto;
    -webkit-overflow-scrolling: touch;
    width: auto;
    z-index: 80;
  }

  .theme-green .service-card {
    left: 20px;
    right: 20px;
  }

  .work-panel.is-service-shorter .service-card {
    position: fixed;
    top: auto;
  }

  .service-item {
    display: block;
    margin-bottom: 2px;
  }

  .service-symbol {
    justify-self: center;
    margin-top: 0.22em;
  }

  .service-detail {
    font-size: 20px;
    margin: 0;
  }

  .service-info {
    font-size: 14px;
  }

  .service-detail-inner {
    margin: 4px 24px 7px;
  }

  .work-intro {
    display: none;
  }

  .project-list {
    font-size: 20px;
    gap: 18px;
    padding: 0;
  }

  .project-list-row {
    align-items: start;
    gap: 2px 10px;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }

  .project-list-row span:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .project-list-row span:not(:first-child) {
    grid-column: 2;
  }

  .project-list-row span:nth-child(2) {
    grid-row: 1;
  }

  .project-list-row span:nth-child(3) {
    grid-row: 2;
  }

  .project-list-row span:nth-child(4) {
    grid-row: 3;
  }

  .project-images {
    gap: 0;
    width: 100%;
  }

  .project-images a,
  .project-images img,
  .project-slide-trigger,
  .project-media img {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
  }

  .project-images h2 {
    font-size: 20px;
    margin: 3px 0 10px;
  }

  .view-toggle {
    flex-direction: row-reverse;
    gap: 40px;
    justify-content: center;
    margin-bottom: 12px;
    margin-top: 0;
  }

  .view-toggle button {
    font-size: 20px;
  }

  .info-menu {
    display: none;
  }

  .info-hero-row {
    display: block;
  }

  .info-hero {
    margin-bottom: 8px;
  }

  .info-hero img,
  .info-entry-body img,
  .team-detail img {
    aspect-ratio: auto;
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
  }

  .info-content {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .info-lead,
  .info-section-title,
  .info-section h2:not(.info-section-title) {
    font-size: 20px;
  }

  .info-lead {
    margin-bottom: 42px;
  }

  .info-section-title,
  .info-section h2:not(.info-section-title) {
    margin-bottom: 22px;
  }

  .info-section p,
  .info-section li,
  .info-hero figcaption {
    font-size: 14px;
  }

  .info-hero figcaption {
    margin: 3px 0 10px;
  }

  .info-section+.info-section {
    margin-top: 42px;
  }

  .contact-list,
  .info-entry {
    display: block;
  }

  .contact-list dt,
  .contact-list dd {
    font-size: 14px;
  }

  .contact-list dt:not(:first-child) {
    margin-top: 14px;
  }

  .info-page + .site-footer {
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    gap: 10px 24px;
    padding: 20px 10px 30px;
  }

  .info-entry-list {
    --control-size: 14px;
    --control-stroke: 2px;
    gap: 34px;
  }

  .info-entry-toggle,
  .info-entry-body h3,
  .team-toggle,
  .footer-page h1,
  .footer-page-copy {
    font-size: 20px;
  }

  .info-entry time,
  .info-entry-body p,
  .info-entry-body li,
  .team-detail p {
    font-size: 14px;
  }

  .info-entry time {
    display: block;
    margin-bottom: 4px;
  }

  .team-grid {
    --control-size: 14px;
    --control-stroke: 2px;
    grid-template-columns: 1fr;
  }

  .project-page {
    padding: 68px 10px 40px;
  }

  .project-field p,
  .project-copy p,
  .project-facts p {
    margin: 0 0 20px;
  }

  .project-copy {
    margin-top: 0;
  }

  .project-detail {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .project-text {
    display: contents;
  }

  .project-text,
  .project-text h1,
  .project-text .project-meta-value {
    font-size: 20px;
  }

  .project-text span {
    font-size: 14px;
    margin-bottom: 1px;
  }

  .project-text .project-meta-value {
    font-size: 20px;
  }

  .project-meta {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
    order: 1;
  }

  .project-field,
  .project-copy,
  .project-facts {
    order: 3;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .project-media {
    margin-top: 0;
    order: 2;
  }

  .project-media img {
    min-height: 0;
  }
}
