:root {
  --page: #ffffff;
  --soft: #f7f7f7;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #a0a0a0;
  --text: #333333;
  --line: #e4e4e4;
  --overlay: rgba(0, 0, 0, 0.72);
  --gap: 16px;
  --module-gap: 16px;
  --content: 1760px;
  --project-width: 1400px;
  --font-acumin: acumin-pro, "Acumin Pro", "Acumin Variable Concept", "Adobe Clean", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-acumin);
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--content);
  min-height: 196px;
  padding: 62px 24px 44px;
}

.wordmark {
  align-items: flex-start;
  display: inline-flex;
  min-width: 154px;
}

.wordmark img {
  display: block;
  height: auto;
  width: 154px;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: flex-end;
  padding-top: 0;
}

.main-nav a {
  color: #b8b8b8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #151515;
}

.site-shell {
  margin: 0 auto;
  max-width: var(--content);
  padding: 0 24px 72px;
}

.work-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  aspect-ratio: 404 / 316;
  background: #e7e7e7;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.015);
}

.project-card:focus-visible,
.back-link:focus-visible,
.source-link:focus-visible,
.main-nav a:focus-visible,
.wordmark:focus-visible,
.contact-form button:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid #0057ff;
  outline-offset: 3px;
}

.project-overlay {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), var(--overlay)),
    rgba(0, 0, 0, 0.18);
  color: #fff;
  inset: 0;
  opacity: 0;
  padding: 18px;
  position: absolute;
  transition: opacity 160ms ease;
}

.project-card:hover .project-overlay,
.project-card:focus-visible .project-overlay {
  opacity: 1;
}

.overlay-content {
  bottom: 16px;
  left: 18px;
  position: absolute;
  right: 18px;
}

.card-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.36);
}

.card-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.owner {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.36);
  white-space: nowrap;
}

.stats {
  color: rgba(255, 255, 255, 0.88);
  flex: 0 0 auto;
  font-size: 12px;
}

.project-topbar {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.project-topbar-inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  margin: 0 auto;
  max-width: 1400px;
  min-height: 66px;
  padding: 10px 24px;
}

.back-link,
.source-link {
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.back-link:hover,
.source-link:hover {
  text-decoration: underline;
}

.source-link {
  justify-self: end;
}

.project-topbar h1 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-flow {
  background: #f7f7f7;
  padding: 32px 0 88px;
}

.project-modules {
  padding-bottom: 80px;
}

.module {
  margin: 0 auto;
  max-width: var(--project-width);
  width: min(100%, var(--project-width));
}

.module img {
  background: #ececec;
  height: auto;
  width: 100%;
}

.module.contained {
  max-width: var(--project-width);
}

.module.spaced {
  margin-bottom: var(--module-gap);
  margin-top: var(--module-gap);
}

.module.bleed:not(.spaced) + .module.bleed:not(.spaced) {
  margin-top: 0;
}

.text-module {
  background: var(--surface);
  color: #222;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  padding: 56px 40px;
}

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

.text-module .bold {
  font-weight: 600;
}

.media-collection {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-collection figure {
  aspect-ratio: 4 / 3;
  background: #ececec;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.media-collection.items-1 {
  grid-template-columns: 1fr;
}

.media-collection.items-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-collection.items-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-collection img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.media-collection.items-1 figure {
  aspect-ratio: auto;
}

.media-collection.items-1 img {
  height: auto;
  object-fit: contain;
}

.video-module {
  background: #202020;
}

.video-link {
  align-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 34%),
    #202020;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 48px 24px;
  text-align: center;
  width: 100%;
}

.video-kicker {
  color: #9c9c9c;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.video-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.video-source {
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.4;
  margin-top: 16px;
}

.project-info,
.related-work {
  margin: 0 auto;
  max-width: var(--project-width);
  padding: 0;
  width: min(100%, var(--project-width));
}

.project-info {
  border-top: 1px solid #dddddd;
  color: #222222;
  padding-top: 58px;
}

.project-info-heading {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
}

.project-info-heading h2,
.related-work h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.project-description {
  color: #666666;
  font-size: 18px;
  line-height: 1.58;
  max-width: 780px;
}

.project-description p {
  margin: 0 0 20px;
}

.project-taxonomy {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  margin-top: 42px;
}

.project-facts {
  border-top: 1px solid #dddddd;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 38px 0 0;
}

.project-fact {
  border-right: 1px solid #dddddd;
  padding: 22px 26px 4px 0;
}

.project-fact:last-child {
  border-right: 0;
}

.project-fact dt,
.meta-group h3 {
  color: #777777;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 12px;
}

.project-fact dd {
  color: #333333;
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.project-fact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.meta-group h3 {
  margin-bottom: 14px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list span {
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  color: #222222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 15px;
}

.related-work {
  margin-top: 86px;
}

.related-work h2 {
  margin-bottom: 22px;
}

.related-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.variant-page {
  margin: 0 auto;
  max-width: 1500px;
  padding: 0 24px 96px;
}

.variant-intro {
  border-top: 1px solid var(--line);
  padding: 54px 0 24px;
}

.variant-intro h1,
.variant-block > h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 16px;
}

.variant-intro p {
  color: #777777;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  max-width: 760px;
}

.variant-block {
  margin-top: 52px;
}

.variant-block .project-info {
  background: #f7f7f7;
  max-width: none;
  padding: 48px;
}

.footer-preview {
  background: #f7f7f7;
  color: #222222;
  margin: 0 auto;
  max-width: var(--project-width);
  width: min(100%, var(--project-width));
}

.footer-logo {
  display: inline-flex;
}

.footer-logo img {
  width: 126px;
}

.footer-preview a {
  color: inherit;
  text-decoration: none;
}

.footer-preview a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links,
.footer-contact,
.footer-stack {
  display: flex;
  gap: 20px;
}

.footer-minimal {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  padding: 54px 48px;
}

.footer-contact,
.footer-links {
  color: #666666;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.footer-editorial {
  display: grid;
  gap: 48px;
  grid-template-columns: 180px minmax(280px, 1fr) minmax(180px, 0.7fr);
  padding: 64px 48px;
}

.footer-statement p {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
  max-width: 620px;
}

.footer-stack {
  align-items: flex-start;
  color: #666666;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  line-height: 1.35;
}

.footer-compact {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  padding: 36px 48px;
}

.footer-compact p {
  color: #999999;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.project-info-preview {
  background: #f7f7f7;
  color: #222222;
  min-height: 300px;
  padding: 52px 48px;
}

.project-info-preview h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 28px;
}

.project-info-preview h3,
.project-info-preview dt {
  color: #777777;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 12px;
}

.project-info-preview p,
.project-info-preview dd {
  color: #333333;
  font-size: 17px;
  line-height: 1.35;
  margin: 0;
}

.project-info-preview a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-info-compact {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.project-info-compact .preview-heading {
  grid-row: span 2;
}

.compact-meta {
  align-self: start;
  display: grid;
  gap: 24px 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-taxonomy {
  align-self: end;
  display: grid;
  gap: 28px;
}

.project-info-balanced {
  display: grid;
  gap: 38px 58px;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 0.75fr);
}

.balanced-copy {
  grid-row: span 2;
}

.balanced-facts {
  border-left: 1px solid #dddddd;
  display: grid;
  gap: 20px;
  margin: 0;
  padding-left: 36px;
}

.balanced-facts div {
  display: grid;
  gap: 8px;
  grid-template-columns: 110px minmax(0, 1fr);
}

.balanced-facts dt,
.balanced-facts dd {
  margin: 0;
}

.balanced-fields,
.balanced-keywords {
  border-top: 1px solid #dddddd;
  padding-top: 28px;
}

.balanced-fields {
  grid-column: 1;
}

.balanced-keywords {
  grid-column: 2;
}

.project-info-attached {
  display: grid;
  gap: 0 70px;
  grid-template-columns: minmax(430px, 1.55fr) minmax(470px, 1fr);
  min-height: 430px;
  padding: 64px 48px 54px;
}

.project-info.project-info-attached {
  background: #f7f7f7;
  border-top: 0;
  max-width: var(--project-width);
}

.attached-title {
  align-self: start;
}

.attached-title h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 28px;
}

.attached-title .project-description {
  max-width: 760px;
}

.attached-fields {
  align-self: start;
  justify-self: start;
  padding-top: 67px;
}

.attached-facts {
  align-self: end;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.attached-facts dt,
.attached-facts dd {
  font-size: 14px;
  line-height: 1.32;
  margin: 0;
}

.attached-facts dt,
.attached-fields h3,
.attached-keywords h3 {
  color: #777777;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
}

.attached-keywords {
  align-self: end;
}

.project-info-attached .chip-list {
  gap: 8px;
}

.project-info-attached .chip-list span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 13px;
  white-space: nowrap;
}

.project-info-editorial .project-editorial-grid {
  display: grid;
  gap: 34px 54px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  margin-top: 42px;
}

.project-editorial-facts {
  display: grid;
  gap: 18px 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.project-editorial-facts dt {
  color: #777777;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-editorial-facts dd {
  color: #333333;
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.content-page {
  margin: 0 auto;
  max-width: 980px;
  min-height: 720px;
  padding: 120px 24px 70px;
}

.page-heading {
  margin-bottom: 72px;
}

.page-heading h1 {
  font-family: var(--font-acumin);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  margin: 0 0 34px;
}

.es-page .page-heading h1 {
  font-family: var(--font-acumin);
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 0;
}

.page-heading p,
.page-heading span {
  color: #9e9e9e;
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 22px;
}

.page-heading span {
  font-size: 17px;
}

.contact-form {
  margin: 0 auto;
  max-width: 640px;
}

.contact-form label {
  color: #8d8d8d;
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #dddddd;
  border-radius: 3px;
  color: #333333;
  display: block;
  font: inherit;
  font-weight: 400;
  margin-top: 10px;
  padding: 14px 14px;
  width: 100%;
}

.contact-form input {
  height: 54px;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b7b7b7;
}

.contact-form button {
  background: #9c9c9c;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  min-width: 118px;
  padding: 15px 24px;
}

.contact-form button:hover {
  background: #111111;
}

.eu-funded-image {
  margin: 0 auto 72px;
  max-width: 920px;
  width: 100%;
}

.eu-copy {
  color: #8f8f8f;
  font-size: 27px;
  line-height: 1.45;
}

.eu-copy h2 {
  color: #9b9b9b;
  font-size: 30px;
  line-height: 1.45;
  margin: 0 0 62px;
}

.eu-copy p {
  margin: 0 0 32px;
}

.not-found {
  margin: 120px auto;
  max-width: 640px;
  padding: 0 24px;
  text-align: center;
}

.not-found h1 {
  font-size: 32px;
  margin: 0 0 14px;
}

.not-found p {
  color: var(--muted);
  margin: 0 0 22px;
}

@media (max-width: 1180px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-collection.items-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    gap: 24px;
    min-height: 0;
    padding: 28px 20px;
  }

  .main-nav {
    gap: 18px;
  }

  .project-info-heading,
  .project-taxonomy,
  .project-info-editorial .project-editorial-grid,
  .project-info-compact,
  .project-info-balanced,
  .project-info-attached,
  .footer-minimal,
  .footer-editorial,
  .footer-compact {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .project-facts,
  .attached-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attached-fields {
    padding-top: 0;
  }

  .footer-contact,
  .footer-links,
  .footer-compact p {
    justify-content: flex-start;
    text-align: left;
  }

  .balanced-copy,
  .balanced-fields,
  .balanced-keywords {
    grid-column: auto;
    grid-row: auto;
  }

  .balanced-facts {
    border-left: 0;
    border-top: 1px solid #dddddd;
    padding-left: 0;
    padding-top: 28px;
  }

  .media-collection,
  .media-collection.items-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-page {
    padding-top: 70px;
  }

  .page-heading h1,
  .es-page .page-heading h1 {
    font-size: 48px;
  }

  .eu-copy {
    font-size: 21px;
  }

  .eu-copy h2 {
    font-size: 23px;
  }
}

@media (max-width: 820px) {
  .site-shell {
    padding: 0 16px 56px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-topbar-inner {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    padding: 10px 16px;
  }

  .source-link {
    display: none;
  }

  .project-flow {
    padding-top: 18px;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .text-module {
    padding: 40px 24px;
  }

  .contact-form {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .media-collection,
  .media-collection.items-2,
  .media-collection.items-4,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .project-info,
  .related-work {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-preview {
    padding-left: 22px;
    padding-right: 22px;
  }

  .project-facts,
  .project-editorial-facts,
  .attached-facts,
  .compact-meta,
  .balanced-facts div {
    grid-template-columns: 1fr;
  }

  .project-info-preview {
    padding: 36px 22px;
  }

  .project-fact {
    border-right: 0;
    border-bottom: 1px solid #dddddd;
    padding-right: 0;
  }

  .project-fact:last-child {
    border-bottom: 0;
  }

  .project-overlay {
    opacity: 1;
  }

  .card-title {
    font-size: 15px;
  }

  .page-heading {
    margin-bottom: 44px;
  }

  .page-heading h1,
  .es-page .page-heading h1 {
    font-size: 40px;
  }

  .page-heading p {
    font-size: 18px;
  }

  .eu-funded-image {
    margin-bottom: 46px;
  }

  .eu-copy {
    font-size: 18px;
  }

  .eu-copy h2 {
    font-size: 19px;
    margin-bottom: 36px;
  }

}
