@import url('./fonts.css');

:root {
  color-scheme: dark;
  font-family: 'Gilroy', Arial, sans-serif;
  background: #202020;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#contacts { scroll-margin-top: 96px; }

body.projects-page {
  margin: 0;
  color: #fff;
  background: #202020;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.projects-shell {
  display: flow-root;
  position: relative;
  width: min(100%, 1440px);
  margin-inline: auto;
  overflow: clip;
  isolation: isolate;
}

.projects-guides {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.desktop-guides {
  top: 0;
  left: 220px;
  width: 1000px;
  height: 100%;
}

.mobile-guides { display: none; }

.projects-header {
  position: sticky;
  z-index: 30;
  top: 12px;
  width: max-content;
  margin: 38px 50px 0;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 39px;
}
.projects-header > * { pointer-events: auto; }
@media (min-width: 701px) {
  .projects-header .projects-brand, .projects-header .projects-nav { background: rgba(32,32,32,.92); backdrop-filter: blur(12px); }
  .projects-header .projects-brand { border-radius: 6px; }
}

.projects-brand {
  position: relative;
  display: block;
  width: 72px;
  height: 39px;
  flex: none;
}

.projects-brand-mark {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 38px;
  object-fit: contain;
}

.projects-brand-words img { position: absolute; display: block; }
.desktop-brand-subtitle { top: 22px; left: 27px; width: 45px; height: 4.3px; }
.desktop-brand-word { top: 28px; left: 27px; width: 45px; height: 10px; }
.mobile-brand-mark, .mobile-brand-subtitle, .mobile-brand-word { display: none !important; }

.projects-nav {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #e7e3d8;
  border-radius: 20px;
  padding: 0 25px;
  color: #e7e3d8;
  font-family: 'Gogh', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.projects-nav a {
  text-decoration: none;
  transition: color .2s ease;
}

.projects-nav a:hover,
.projects-nav a:focus-visible { color: #fff; }

.projects-nav-icon { width: 20px; height: 16px; }

.projects-list-section {
  position: relative;
  padding: 30px 50px 0;
}

.desktop-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 54px;
  row-gap: 51px;
}

.project-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-card-info { min-height: 135px; padding-bottom: 14px; }

.project-card-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 47px;
}

.project-card h2 {
  margin: 0;
  font-family: 'Gilroy', Arial, sans-serif;
  font-size: clamp(25px, 2.7vw, 39px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
}

.project-card-status {
  color: #dd0f0f;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

.project-card-genre {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 17px;
}

.project-card-cast {
  margin: 7px 0 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 16px;
}

.project-image-layers {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 643 / 424;
  overflow: hidden;
  border-radius: 8px;
  background: #333;
}

.project-image-layers img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: inherit;
}

.project-card, .mobile-project-card {
  border-radius: 8px;
  transform-origin: center;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
  touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover, .mobile-project-card:hover {
    transform: translateY(-3px) scale(1.012);
    box-shadow: 0 12px 26px #0003;
  }
}
.project-card:active, .mobile-project-card:active {
  transform: scale(.992);
  background-color: #ffffff06;
}

.mobile-feature,
.mobile-project-list { display: none; }

.projects-footer {
  position: relative;
  min-height: 400px;
  margin-top: 100px;
  color: #282723;
  background: url('../public/assets/projects/desktop-imgExclude.svg') center top / 100% 100% no-repeat;
}

.projects-footer-inner {
  position: relative;
  min-height: 400px;
  padding: 100px 50px 20px;
}

.projects-footer h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  color: #202020;
}

.projects-footer-main { display: flex; justify-content: space-between; gap: 35px; }
.projects-address {
  max-width: 770px;
  margin: 20px 0 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.08;
}

.projects-contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-end;
  margin-top: 35px;
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}

.projects-contact-links a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.projects-contact-links img { width: 24px; height: 24px; }
.projects-contact-links a:hover { text-decoration: underline; }

.projects-footer-bottom {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 22px;
  display: flex;
  align-items: end;
  gap: 35px;
  font-size: 12px;
  text-transform: uppercase;
}

.projects-footer-bottom > span:not(.projects-copyright),
.projects-footer-bottom > a:not(.projects-footer-brand) { text-decoration: underline; }
.projects-copyright { margin-left: auto; text-align: right; text-transform: none; }
.projects-footer-brand { position: absolute; left: 0; bottom: 26px; display: block; width: 76px; height: 43px; }
.projects-footer-brand img { position: absolute; display: block; }
.footer-logo-mark { top: 0; left: 0; width: 39.3715px; height: 37.5309px; }
.footer-logo-subtitle { left: 27px; top: 22px; width: 45.7077px; height: 2.98479px; }
.footer-logo-word { left: 27px; top: 28px; width: 46.431px; height: 10.3637px; }

.project-dialog {
  width: min(836px, calc(100vw - 160px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: visible;
  color: #fff;
  background: transparent;
}
.project-dialog::backdrop { background: #000b; }
.dialog-panel {
  max-height: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #81746e #202020;
  border-radius: inherit;
  padding-bottom: 14px;
  background: #202020;
  box-shadow: 0 24px 80px #000b;
}
.dialog-close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0 0 3px;
  border: 1px solid #e7e3d86b;
  border-radius: 12px;
  color: #fff;
  background: #2c2929;
  box-shadow: 0 4px 12px #0004;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.dialog-heading { display: flex; align-items: baseline; gap: 14px; min-height: 72px; padding: 18px 76px 0 0; }
.dialog-heading h2 { margin: 0; font-size: 50px; line-height: 1; letter-spacing: -.02em; }
.dialog-status { color: #dd0f0f; font-size: 17px; white-space: nowrap; }
.dialog-genre, .dialog-cast { margin: 4px 0 0; font-size: 17px; }
.dialog-genre { font-weight: 600; }
.dialog-cast { max-width: 560px; line-height: 1.2; }
.dialog-image-wrap { position: relative; margin-top: 14px; overflow: hidden; border-radius: 8px; }
.dialog-images .project-image-layers { aspect-ratio: 836 / 552; border-radius: 8px; }
.dialog-description {
  position: static;
  margin: 0;
  padding: 18px 16px 0;
  font-size: 17px;
  line-height: 1.35;
  font-family: 'Noto Sans', Arial, sans-serif;
}
.dialog-description:empty { display: none; }
.dialog-prev, .dialog-next {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 60px;
  padding: 0 0 4px;
  transform: translateY(-50%);
  border: 1px solid #e7e3d86b;
  border-radius: 12px;
  color: #fff;
  background: #202020ed;
  box-shadow: 0 6px 20px #0004;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}
.dialog-prev { left: -68px; }
.dialog-next { right: -68px; }
.dialog-close, .dialog-prev, .dialog-next { transition: background-color .18s ease, border-color .18s ease; }
.dialog-close:hover, .dialog-prev:hover, .dialog-next:hover { background: #732b2d; border-color: #e7e3d8; }
.dialog-close:active, .dialog-prev:active, .dialog-next:active { background: #913236; }
.dialog-close:focus-visible, .dialog-prev:focus-visible, .dialog-next:focus-visible { outline: 2px solid #e7e3d8; outline-offset: 3px; }

@media (max-width: 1100px) and (min-width: 701px) {
  .projects-list-section { padding-inline: 30px; }
  .desktop-project-grid { column-gap: 28px; }
  .project-card h2 { font-size: clamp(26px, 2.7vw, 39px); }
  .project-card-status { font-size: 14px; }
  .project-card-info { height: auto; min-height: 111px; padding-bottom: 12px; }
  .project-card { align-self: start; }
  .projects-footer-inner { padding-inline: 30px; }
  .projects-address { font-size: clamp(32px, 4vw, 50px); }
  .projects-contact-links { font-size: clamp(17px, 2vw, 25px); }
}

@media (max-width: 700px) {
  #contacts { scroll-margin-top: 72px; }
  .projects-shell { width: 100%; }
  .desktop-guides { display: none; }
  .mobile-guides { display: block; top: 3px; left: 0; width: 100%; height: calc(100% - 3px); }
  .projects-header {
    top: 3px;
    width: auto;
    margin: 3px 10px 0;
    pointer-events: auto;
    height: 26px;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 0 8px;
    border: 1px solid #e7e3d8;
    border-radius: 5px;
    background: rgba(32,32,32,.92);
    backdrop-filter: blur(7.5px);
  }
  .projects-brand { width: 38px; height: 20px; }
  .projects-brand-mark { width: 21px; height: 20px; }
  .desktop-brand-mark, .desktop-brand-subtitle, .desktop-brand-word { display: none !important; }
  .mobile-brand-mark { display: block !important; }
  .mobile-brand-subtitle { display: block !important; left: 14px; top: 12px; width: 24px; height: 2.3px; }
  .mobile-brand-word { display: block !important; left: 14px; top: 15px; width: 24px; height: 5.3px; }
  .projects-nav {
    flex: 1;
    justify-content: flex-end;
    gap: clamp(7px, 3vw, 11px);
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 14px;
  }
  .projects-nav-icon { display: none; }
  .projects-list-section { padding: 0; }
  .desktop-project-grid { display: none; }
  .mobile-feature {
    display: block;
    position: relative;
    margin-inline: 10px;
    padding-top: 4px;
  }
  .feature-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 320 / 617;
    overflow: hidden;
    border-radius: 5px;
  }
  .feature-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-mask: url('../public/assets/projects/mobile-imgImage27.svg') center / 100% 100% no-repeat; mask: url('../public/assets/projects/mobile-imgImage27.svg') center / 100% 100% no-repeat; }
  .feature-formats { position: absolute; top: 18px; left: 16px; display: flex; align-items: center; gap: 7px; width: 110px; height: 19px; }
  .feature-formats img { display: block; }
  .feature-raw { position: absolute; top: 26px; left: 9px; }
  .feature-age { position: absolute; right: 0; bottom: 43px; width: 35.8995px; height: 35.9877px; }
  .feature-play {
    position: absolute;
    width: 72px;
    height: 72px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .feature-image-wrap h1 {
    position: absolute;
    right: 5%;
    bottom: 0;
    margin: 0;
    color: #e7e3d8;
    font-size: 31px;
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.01em;
    text-align: left;
  }
  .feature-progress { display: block; width: 100%; height: 3px; margin-top: 15px; }
  .feature-genre {
    margin: 15px 0 0;
    color: #dd0f0f;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 21px;
  }
  .feature-cast {
    margin: 0;
    color: #e7e3d8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 16px;
  }
  .feature-description {
    min-height: 210px;
    margin: 20px 0 0;
    color: #fff;
    font-family: 'Noto Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -.02em;
    text-align: justify;
  }
  .mobile-project-list { display: block; margin: 20px 10px 0; }
  .mobile-project-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 94px;
    margin: 0 0 39.18px;
    padding: 0 94px 7px 0;
    border: 0;
    border-bottom: 1px solid #777;
    color: #fff;
    background: transparent;
    text-align: left;
    cursor: pointer;
  }
  .mobile-project-card:last-child { margin-bottom: 0; }
  .mobile-project-card[data-figma-node="699:448"] { min-height: 118px; }
  .mobile-project-card[data-figma-node="699:448"] .mobile-image-wrap { top: auto; bottom: 7px; }
  .mobile-project-copy { display: block; }
  .mobile-project-title {
    display: block;
    margin-bottom: 6px;
    font-size: 21.24px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: .9;
  }
  .mobile-project-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    font-size: 9.91px;
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.1;
  }
  .mobile-image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 86.4px;
    height: 86.4px;
    overflow: hidden;
    border-radius: 7px;
    background: #333;
  }
  .mobile-project-image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
  .projects-footer {
    min-height: 242px;
    margin-top: 20px;
    background: url('../public/assets/projects/mobile-imgExclude1.svg') center top / 100% 100% no-repeat;
  }
  .projects-footer-inner { min-height: 242px; padding: 28px 10px 10px; }
  .projects-footer h2 { font-size: 30px; line-height: 1; }
  .projects-footer-main { flex-direction: column; gap: 0; }
  .projects-contact-links {
    order: -1;
    align-self: stretch;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 21px;
  }
  .projects-contact-links a { gap: 5px; }
  .projects-address { max-width: none; margin: 9px 0 0; font-size: 21px; line-height: 1.08; }
  .projects-footer-bottom { left: 10px; right: 10px; bottom: 3px; justify-content: flex-end; gap: 8px; font-size: 7px; }
  .projects-footer-bottom .projects-copyright { display: none; }
  .projects-footer-brand { left: 0; bottom: 0; width: 76px; height: 43px; transform: scale(.66); transform-origin: bottom left; }
  .project-dialog { width: calc(100vw - 96px); max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
  .dialog-heading { padding: 16px 66px 0 12px; min-height: 70px; flex-wrap: wrap; gap: 4px 8px; }
  .dialog-heading h2 { font-size: 30px; }
  .dialog-status { font-size: 13px; white-space: normal; }
  .dialog-genre, .dialog-cast { padding-inline: 0; font-size: 13px; }
  .dialog-image-wrap { margin-top: 10px; }
  .dialog-description { font-size: 13px; line-height: 1.45; padding: 14px 12px 0; }
  .dialog-close { top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 10px; font-size: 35px; }
  .dialog-prev, .dialog-next { width: 40px; height: 60px; border-radius: 10px; font-size: 28px; }
  .dialog-prev { left: -44px; }
  .dialog-next { right: -44px; }
}

/* Dates and text-only projects share the catalog's film palette. */
.projects-page [hidden], .project-dialog [hidden] { display: none !important; }
.project-card { min-width: 0; align-self: start; }
.project-card-heading h2 { min-width: 0; max-width: 100%; }
.project-card-year { display: block; margin: 3px 0 8px; color: #e7e3d8; font-size: 16px; line-height: 1.2; font-weight: 500; }
.project-card-aliases { margin: 0; color: #cfc7c1; font-size: 17px; line-height: 1.3; }
.project-typographic {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 330px;
  padding: 60px 32px 32px;
  overflow: hidden;
  border: 1px solid rgba(231,227,216,.16);
  border-radius: 8px;
  background: radial-gradient(ellipse at 100% 100%, rgba(138,35,37,.4), transparent 68%), radial-gradient(ellipse at 0 0, rgba(110,72,49,.22), transparent 72%), #241e20;
}
.project-typographic::before { content: ''; position: absolute; top: 24px; left: 32px; right: 32px; height: 8px; opacity: .25; background: repeating-linear-gradient(to right, #e7e3d8 0 14px, transparent 14px 28px); }
.project-typographic > * { position: relative; z-index: 1; }
.project-typographic .project-card-year { margin: 0; color: #d2c1b2; font-size: 18px; }
.project-typographic h2 { font-size: clamp(28px, 3.1vw, 46px); line-height: 1.08; }
.project-card.is-text-only:hover .project-typographic,
.project-card.is-text-only:focus-visible .project-typographic { border-color: #e7e3d8; }
.project-card:focus-visible, .mobile-project-card:focus-visible { outline: 2px solid #e7e3d8; outline-offset: 4px; }
.dialog-year { margin: 9px 14px 0; color: #d2c1b2; font-size: 18px; }
.dialog-aliases { margin: 8px 14px; color: #cfc7c1; font-size: 16px; line-height: 1.3; }
.dialog-heading { padding-left: 14px; flex-wrap: wrap; }
.dialog-heading h2 { min-width: 0; overflow-wrap: break-word; }
.dialog-genre, .dialog-cast { margin-inline: 14px; }
.project-dialog.is-text-only {
  width: min(660px, calc(100vw - 160px));
}
.project-dialog.is-text-only .dialog-panel {
  padding: 28px;
  border: 1px solid rgba(231,227,216,.2);
  background: radial-gradient(ellipse at 100% 100%, rgba(138,35,37,.3), transparent 75%), #241e20;
}
.project-dialog.is-text-only .dialog-heading { padding: 0 52px 0 0; }
.project-dialog.is-text-only .dialog-heading h2 { font-size: clamp(30px, 5vw, 50px); line-height: 1.1; }
.project-dialog.is-text-only .dialog-year, .project-dialog.is-text-only .dialog-aliases,
.project-dialog.is-text-only .dialog-genre, .project-dialog.is-text-only .dialog-cast { margin-inline: 0; }
.project-dialog.is-text-only .dialog-image-wrap { margin-top: 24px; border-radius: 0; overflow: visible; }
.project-dialog.is-text-only .dialog-description { position: static; max-height: none; padding: 0; background: none; }

@media (max-width: 700px) {
  .mobile-project-year { display: block; margin: 5px 0 6px; color: #d2c1b2; font-size: 13px; font-weight: 500; line-height: 1.2; }
  .mobile-project-title { line-height: 1.05; overflow-wrap: break-word; }
  .mobile-project-card.is-text-only { min-height: 108px; margin-bottom: 20px; padding: 18px 16px; border: 1px solid rgba(231,227,216,.16); border-radius: 7px; background: radial-gradient(ellipse at 100% 100%, rgba(138,35,37,.23), transparent 75%), #241e20; }
  .mobile-project-card.is-text-only .mobile-project-title { max-width: 100%; }
  .mobile-project-card.is-text-only .mobile-project-year { margin-bottom: 0; }
  .mobile-project-card.is-text-only .mobile-project-description { margin-top: 8px; font-size: 12px; line-height: 1.25; }
  .feature-title-block { position: absolute; left: 16px; right: 16px; bottom: 16px; }
  .feature-image-wrap h1 { position: static; margin: 0; font-size: 32px; line-height: 1.05; overflow-wrap: break-word; }
  .feature-year { margin: 0 0 10px; color: #d2c1b2; font-size: 16px; font-weight: 500; line-height: 1.2; }
  .feature-aliases { margin: 14px 0 0; color: #cfc7c1; font-size: 15px; line-height: 1.25; }
  .mobile-feature.is-text-only .feature-image-wrap { display: flex; align-items: flex-end; min-height: 240px; aspect-ratio: 4 / 3; padding: 28px 22px; border: 1px solid rgba(231,227,216,.16); border-radius: 8px; background: radial-gradient(ellipse at 100% 100%, rgba(138,35,37,.38), transparent 75%), radial-gradient(ellipse at 0 0, rgba(110,72,49,.23), transparent 80%), #241e20; }
  .mobile-feature.is-text-only .feature-title-block { position: relative; left: auto; right: auto; bottom: auto; width: 100%; }
  .mobile-feature.is-text-only h1 { font-size: clamp(34px, 10vw, 48px); }
  .mobile-feature.is-text-only .feature-description { min-height: 0; }
  .project-dialog.is-text-only { width: calc(100vw - 96px); }
  .project-dialog.is-text-only .dialog-panel { padding: 20px 16px; }
}

/* Crops recorded in the Figma image layers. */

.project-card[data-figma-node="695:2416"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="695:2416"] .project-image-layers img:last-child { top: -1.8%; left: 0; width: 100%; height: 218.47%; object-fit: fill; }

.project-card[data-figma-node="537:1288"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="537:1288"] .project-image-layers img:last-child { top: -0.72%; left: -8.98%; width: 117.95%; height: 100.72%; object-fit: fill; }

.project-card[data-figma-node="537:1330"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="537:1330"] .project-image-layers img:last-child { top: 0; left: -16.38%; width: 117.23%; height: 100%; object-fit: fill; }

.project-card[data-figma-node="537:1387"] .project-image-layers img:first-child,
.project-dialog[data-figma-node="537:1387"] .project-image-layers img:first-child { top: -0.72%; left: -8.98%; width: 117.95%; height: 100.72%; object-fit: fill; }
.project-card[data-figma-node="537:1387"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="537:1387"] .project-image-layers img:last-child { top: 1.65%; left: 0; width: 100%; height: 100%; object-fit: cover; }

.project-card[data-figma-node="695:2525"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="695:2525"] .project-image-layers img:last-child { top: -2.53%; left: -0.49%; width: 162.77%; height: 138.5%; object-fit: fill; }

.project-card[data-figma-node="537:1359"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="537:1359"] .project-image-layers img:last-child { top: 0; left: -30.62%; width: 161.23%; height: 137.68%; object-fit: fill; }

.project-card[data-figma-node="695:2572"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="695:2572"] .project-image-layers img:last-child { top: 0; left: -1.18%; width: 113.92%; height: 100%; object-fit: fill; }

.project-card[data-figma-node="695:2592"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="695:2592"] .project-image-layers img:last-child { top: 0; left: -0.61%; width: 113.92%; height: 100%; object-fit: fill; }

.project-card[data-figma-node="695:2597"] .project-image-layers img:last-child,
.project-dialog[data-figma-node="695:2597"] .project-image-layers img:last-child { top: 0; left: -4.04%; width: 111.07%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:329"] .mobile-project-image { top: -20.98%; left: -34.43%; width: 168.85%; height: 236.39%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:336"] .mobile-project-image { top: 0; left: -18.79%; width: 150%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:357"] .mobile-project-image { top: 0; left: -48.05%; width: 160.71%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:371"] .mobile-project-image { top: 0; left: -53.74%; width: 178.05%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:385"] .mobile-project-image { top: -0.05%; left: -48.56%; width: 150%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:406"] .mobile-project-image { top: 0; left: -20.35%; width: 150%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:413"] .mobile-project-image { top: -4.49%; left: 0; width: 100%; height: 150%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:427"] .mobile-project-image { top: 0; left: -1.02%; width: 177.78%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:434"] .mobile-project-image { top: -45.43%; left: -89.34%; width: 278.69%; height: 185.85%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:441"] .mobile-project-image { top: -38.7%; left: -1.64%; width: 103.28%; height: 145.97%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:455"] .mobile-project-image { top: 0; left: -4.47%; width: 177.78%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:476"] .mobile-project-image { top: 0; left: -32.94%; width: 190.02%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:483"] .mobile-project-image { top: -6.03%; left: -0.05%; width: 199.23%; height: 112.06%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:511"] .mobile-project-image { top: -2.39%; left: -85.46%; width: 211.84%; height: 119.16%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:525"] .mobile-project-image { top: -2.1%; left: -84.43%; width: 185.26%; height: 104.21%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:532"] .mobile-project-image { top: -1.87%; left: -91.8%; width: 193.28%; height: 108.72%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:539"] .mobile-project-image { top: -11.4%; left: -69.64%; width: 198.04%; height: 111.4%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:546"] .mobile-project-image { top: -0.01%; left: -92.47%; width: 193.02%; height: 111.36%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:553"] .mobile-project-image { top: 0; left: -175.64%; width: 277.86%; height: 156.13%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:560"] .mobile-project-image { top: -0.55%; left: -0.81%; width: 213.8%; height: 120.26%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:567"] .mobile-project-image { top: 0; left: -38.88%; width: 177.75%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:574"] .mobile-project-image { top: 0; left: -14.1%; width: 149.81%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:581"] .mobile-project-image { top: -13.18%; left: -25%; width: 205.33%; height: 136.89%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:588"] .mobile-project-image { top: -14.48%; left: -57.48%; width: 193.44%; height: 128.96%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:602"] .mobile-project-image { top: -3.74%; left: -3.64%; width: 254.46%; height: 143.13%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:609"] .mobile-project-image { top: 0; left: -38.88%; width: 204.5%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:616"] .mobile-project-image { top: -1.9%; left: -118.72%; width: 219.92%; height: 123.7%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:623"] .mobile-project-image { top: 0; left: -3.2%; width: 177.78%; height: 100%; object-fit: fill; }

.mobile-project-card[data-figma-node="699:628"] .mobile-project-image { top: 0; left: -75.67%; width: 177.97%; height: 100%; object-fit: fill; }

/* Imported promotional artwork keeps its original proportions. */
.has-web-media .project-image-layers { background: radial-gradient(ellipse at 100% 100%, #502629, transparent 75%), #191719; }
.has-web-media.is-poster .project-image-layers img { object-fit: contain; }
.project-card-description { display: -webkit-box; margin: 8px 0 12px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #d0cdca; font-size: 15px; line-height: 1.35; }
.project-dialog.has-web-media .dialog-image-wrap { overflow: visible; border-radius: 0; }
.project-dialog.has-web-media .dialog-description { position: static; max-height: none; padding: 18px 16px 0; background: none; }
.dialog-sources { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px; padding-top: 12px; border-top: 1px solid #e7e3d82e; color: #d2c1b2; font-size: 13px; line-height: 1.4; }
.dialog-sources[hidden] { display: none; }
.dialog-sources a { text-decoration: underline; text-underline-offset: 3px; }
.dialog-sources a:hover, .dialog-sources a:focus-visible { color: #fff; }

@media (max-width: 700px) {
  .mobile-feature.has-web-media .feature-image-wrap { aspect-ratio: auto; overflow: hidden; background: #191719; }
  .mobile-feature.has-web-media .feature-image { height: auto; aspect-ratio: 16 / 10; object-fit: cover; mask: none; -webkit-mask: none; }
  .mobile-feature.has-web-media.is-poster .feature-image { aspect-ratio: 2 / 3; object-fit: contain; }
  .mobile-feature.has-web-media .feature-title-block { position: static; padding: 16px; background: #202020; }
  .mobile-project-card.has-web-media .mobile-project-description { -webkit-line-clamp: 5; font-size: 11px; line-height: 1.25; }
  .mobile-project-card.has-web-media.is-poster .mobile-project-image { object-position: center top; }
  .project-dialog.has-web-media .dialog-description { padding: 14px 12px 0; font-size: 14px; line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card, .mobile-project-card { transition: none; }
  .project-card:hover, .project-card:active,
  .mobile-project-card:hover, .mobile-project-card:active { transform: none; }
  .dialog-close, .dialog-prev, .dialog-next { transition: none; }
}

