:root {
  --project-max-width: 1120px;
  --project-hero-radius: 44px;
}

.project-page {
  padding-top: 8rem;
}

.project-hero {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0 4vw 5rem;
}
.project-hero__media {
  width: min(var(--project-max-width), 92vw);
  height: 520px;
  overflow: visible;
  position: relative;
}
.project-hero__frame {
  width: 100%;
  height: 100%;
  border-radius: var(--project-hero-radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}
.project-hero__bg {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.project-hero__bg--placeholder {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06), rgba(113, 188, 32, 0.14));
}
.project-hero__logo {
  position: absolute;
  left: 50%;
  bottom: -90px;
  transform: translateX(-50%);
  width: min(460px, 82%);
  height: auto;
  pointer-events: none;
  border-radius: 1rem;
}
.project-hero__title {
  margin-top: 128px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}
.project-hero__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 10px 0 0;
}

.tag-pill {
  --pill-bg: #e9e9e9;
  --pill-fg: rgba(0, 0, 0, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-fg);
  font-size: 1.25rem;
  font-weight: 500;
}
.tag-pill__abbr {
  font-weight: 900;
  letter-spacing: -0.01em;
}
.tag-pill__label {
  font-weight: 500;
}
.tag-pill__label--solo {
  font-weight: 700;
}

@media (max-width: 960px) {
  .project-hero__media {
    height: 420px;
  }
}
@media (max-width: 560px) {
  .project-page {
    padding-top: 7rem;
  }
  .project-hero__media {
    height: 320px;
  }
  .project-hero__logo {
    bottom: -72px;
  }
  .project-hero__title {
    margin-top: 72px;
  }
  .tag-pill {
    padding: 12px 18px;
    font-size: 1.05rem;
  }
}
.project-section {
  position: relative;
  width: 100%;
  padding: 5.5rem 0;
}
.project-section__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: var(--section-bg-fit, cover);
     object-fit: var(--section-bg-fit, cover);
  z-index: 0;
}
.project-section--bg-color {
  background: var(--section-bg-color, transparent);
}
.project-section--bg-image {
  background: var(--section-bg-color, transparent);
  overflow: hidden;
}
.project-section--template-banner {
  padding: 0;
  height: var(--section-height, 120px);
}
.project-section__inner {
  position: relative;
  z-index: 1;
  width: min(var(--project-max-width), 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: var(--section-direction, column);
  flex-wrap: nowrap;
  gap: 32px;
}
.project-section__inner--full {
  width: 100%;
  max-width: none;
  padding: 0 4vw;
}

.project-section--steps {
  padding: 0;
}
.project-section--steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.project-section--steps.project-section--bg-color {
  background: var(--section-bg-color);
}
.project-section--steps .project-section__bg-img {
  z-index: 0;
}
.project-section--steps .project-section__inner {
  z-index: 2;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.project-container {
  display: flex;
  gap: 22px;
}
.project-container:has(.section-number):has(.section-name) {
  position: relative;
  --heading-block: clamp(140px, 16vw, 200px);
  min-height: var(--heading-block);
}
.project-container:has(.section-number):has(.section-name):has(.project-block:not(.section-number):not(.section-name)) {
  padding-top: var(--heading-block);
}
.project-container:has(.section-number):has(.section-name) .section-number {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-6%);
  font-size: clamp(5rem, 10vw, 8.5rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.06em;
  z-index: 0;
  pointer-events: none;
}
.project-container:has(.section-number):has(.section-name) .section-name {
  position: absolute;
  z-index: 1;
  margin: 0;
  left: clamp(0.8rem, 2vw, 1.6rem);
  top: calc(var(--heading-block) * 0.52);
  transform: translateY(-50%);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.project-container--row {
  flex-direction: row;
  align-items: start;
}
.project-container--row-reverse {
  flex-direction: row-reverse;
  align-items: start;
}
.project-container__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-content: start;
  min-width: 0;
}
.project-container--column {
  flex-direction: column;
}
.project-container--column-reverse {
  flex-direction: column-reverse;
}

.project-block {
  max-width: 70ch;
}
.project-block--text {
  line-height: 1.65;
  font-size: 1.06rem;
  color: inherit;
}
.project-block--text h2,
.project-block--text h3,
.project-block--text h4 {
  line-height: 1.15;
}
.project-block--list {
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.project-figure {
  margin: 0;
  display: grid;
  gap: 10px;
}
.project-figure__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}
.project-figure__caption {
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.7;
  font-style: italic;
}

.project-embed {
  margin: 0;
  display: grid;
  gap: 10px;
  width: 100%;
}
.project-embed__frame {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  aspect-ratio: 16/9;
}
.project-embed--itch .project-embed__frame {
  aspect-ratio: 552/167;
}
.project-embed__iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.project-embed__caption {
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.7;
}

.project-video {
  margin: 0;
  display: grid;
  gap: 10px;
  width: 100%;
}
.project-video__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.08);
}
.project-video__caption {
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.7;
  font-style: italic;
}

.citation-text {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 600;
  line-height: 1.5;
}

.section-number {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-name {
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.project-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--steps-count, 1), minmax(0, 1fr));
  grid-template-rows: auto 44px auto;
  -moz-column-gap: clamp(14px, 2.2vw, 34px);
       column-gap: clamp(14px, 2.2vw, 34px);
  row-gap: 18px;
  align-items: start;
  color: rgba(255, 255, 255, 0.92);
}

.project-steps__line {
  grid-column: 1/-1;
  grid-row: 2;
  align-self: center;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.project-step {
  display: contents;
}
.project-step__title {
  grid-row: 1;
  grid-column: var(--step-col);
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
}
.project-step__dot {
  grid-row: 2;
  grid-column: var(--step-col);
  justify-self: center;
  align-self: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  z-index: 1;
}
.project-step__desc {
  grid-row: 3;
  grid-column: var(--step-col);
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  max-width: 34ch;
  justify-self: start;
}

.project-extra__section-top {
  padding-bottom: 4rem;
}
.project-extra__section-collaborators {
  padding-right: 1rem;
  border-right: solid 1px black;
}

@media (max-width: 820px) {
  .project-container--row,
  .project-container--row-reverse {
    flex-direction: column;
  }
  .project-block {
    max-width: 100%;
  }
  .project-extra__section-collaborators {
    padding-right: 0;
    border-right: 0;
    border-bottom: solid 1px black;
    padding-bottom: 1rem;
  }
}
@media (max-width: 720px) {
  .project-steps__line {
    display: none;
  }
  .project-steps {
    display: block;
  }
  .project-step {
    display: grid;
    grid-template-columns: 26px 1fr;
    grid-template-rows: auto auto;
    -moz-column-gap: 14px;
         column-gap: 14px;
    row-gap: 8px;
    position: relative;
    padding: 10px 0 18px;
  }
  .project-step::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
  }
  .project-step:last-child::before {
    bottom: 14px;
  }
  .project-step__title {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }
  .project-step__dot {
    grid-column: 1;
    grid-row: 1/span 2;
    justify-self: center;
    align-self: start;
    margin-top: 4px;
  }
  .project-step__desc {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .project-section {
    padding: 3.75rem 0;
  }
  .project-section__inner {
    gap: 22px;
  }
  .project-section--steps .project-section__inner {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
}
/*# sourceMappingURL=project.css.map */
