@font-face {
  font-family: "Maven Pro";
  src: url("../../assets/projects/biggrower/maven-pro.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

.biggrower-case .case-description {
  width: 612px;
}

.biggrower-case .case-description p {
  text-wrap: pretty;
}

.biggrower-case .case-live-link {
  top: 353px;
}

.biggrower-case .case-live-link::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 20px);
  height: 40px;
  content: "";
  transform: translate(-50%, -50%);
}

.biggrower-case .case-meta {
  right: 42px;
  width: 529px;
}

.biggrower-showcase {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  margin-top: 420px;
}

.biggrower-showcase figure {
  margin: 0;
}

.biggrower-showcase img {
  display: block;
  image-rendering: auto;
}

.bg-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.bg-image-frame {
  overflow: hidden;
  border-radius: 5px;
}

.bg-product-stage,
.bg-web-stage,
.bg-identity-stage,
.bg-palette-stage,
.bg-brand-stage,
.bg-mascot-stage,
.bg-social-stage,
.bg-event-stage,
.bg-instagram-stage {
  position: relative;
  width: calc(100% - 83px);
  margin-left: 41px;
}

.bg-product-stage {
  display: grid;
  height: auto;
  align-items: start;
  grid-template-columns: minmax(0, 2400fr) minmax(0, 2278fr);
  gap: 22px;
}

.bg-product-frame {
  aspect-ratio: auto;
}

.bg-product-frame:first-of-type {
  --product-ratio: 2400 / 1490;
}

.bg-product-frame:last-of-type {
  --product-ratio: 2290 / 1498;
}

.bg-product-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.bg-web-stage {
  display: grid;
  height: auto;
  align-items: start;
  grid-template-columns: minmax(0, 2984fr) minmax(0, 681.652fr);
  gap: 21px;
  margin-top: 30px;
}

.bg-web-stage figure {
  aspect-ratio: auto;
}

.bg-web-desktop {
  --web-ratio: 2984 / 1482;
}

.bg-web-mobile {
  --web-ratio: 1206 / 2622;
}

.bg-web-stage img,
.bg-web-stage video {
  display: block;
  width: 100%;
  height: 100%;
}

.bg-web-stage img,
.bg-web-stage video {
  object-fit: contain;
  height: auto;
}

.bg-identity-stage {
  display: grid;
  height: 279px;
  grid-template-columns: minmax(0, 781fr) minmax(0, 395fr);
  gap: 22px;
  margin-top: 34px;
}

.bg-logo-lockup,
.bg-logo-symbol {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.bg-logo-lockup {
  background: #f5f8f8;
}

.bg-logo-symbol {
  background: #244037;
}

.bg-logo-lockup img,
.bg-logo-symbol img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.bg-logo-lockup img {
  width: 79.2%;
}

.bg-logo-symbol img {
  width: 31.4%;
}

.bg-palette-stage {
  display: grid;
  height: 279px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 22px;
}

.bg-swatch {
  position: relative;
  border-radius: 5px;
  font-family: "Geist Mono", monospace;
  font-size: 23px;
  font-weight: 500;
  line-height: 27.6px;
}

.bg-swatch span {
  position: absolute;
  top: 124px;
  right: 0;
  left: 0;
  text-align: center;
}

.bg-swatch-green {
  color: #244037;
  background: #a2c768;
}

.bg-swatch-dark {
  color: #f5f8f8;
  background: #244037;
}

.bg-swatch-purple {
  color: #244037;
  background: #9191e9;
}

.bg-swatch-light {
  color: #5f5850;
  background: #f5f8f8;
}

.bg-type-stage {
  position: relative;
  width: calc(100% - 83px);
  height: 335px;
  margin-top: 22px;
  margin-left: 41px;
  overflow: hidden;
  border-radius: 5px;
  background: #f5f8f8;
  color: #5f5850;
}

.bg-type-stage::after {
  position: absolute;
  top: 0;
  right: 217px;
  bottom: 0;
  width: 1px;
  background: #5f5850;
  content: "";
  pointer-events: none;
}

.bg-type-stage h2 {
  margin: 0;
  font-family: "Geist Mono", monospace;
  font-size: 23px;
  font-weight: 500;
  line-height: 27.6px;
}

.bg-type-intro {
  position: absolute;
  top: 28px;
  left: 29px;
}

.bg-type-name {
  margin-top: 31px;
  font-family: "Maven Pro", sans-serif;
  font-size: 51.4px;
  font-weight: 500;
  line-height: 1;
}

.bg-type-sample {
  display: flex;
  width: 390px;
  flex-direction: column;
  margin-top: 22px;
  font-family: "Maven Pro", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
}

.bg-type-description {
  position: absolute;
  top: 160px;
  left: 447px;
  width: 347px;
  margin: 0;
  font-family: "Maven Pro", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  text-wrap: pretty;
}

.bg-type-weights {
  position: absolute;
  top: 39px;
  right: 29px;
  display: grid;
  width: 295px;
  grid-template-columns: 127px 1fr;
  font-family: "Maven Pro", sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 27.6px;
}

.bg-semibold {
  font-weight: 600;
}

.bg-type-glyph-secondary {
  position: absolute;
  top: 93px;
  right: 217px;
  display: block;
  width: 107px;
  height: 198px;
  fill: #5f5850;
}

.bg-type-glyph {
  position: absolute;
  top: 96px;
  right: 29px;
  display: block;
  width: 171px;
  height: 201px;
  fill: #5f5850;
}

.bg-brand-stage {
  display: grid;
  height: auto;
  align-items: start;
  grid-template-columns: minmax(0, 1582fr) minmax(0, 3116fr);
  gap: 23px;
  margin-top: 21px;
}

.bg-brand-stage figure {
  position: relative;
  aspect-ratio: auto;
}

.bg-brand-photo {
  --brand-ratio: 1582 / 1117;
}

.bg-brand-banner {
  --brand-ratio: 3124 / 1120;
}

.bg-brand-stage figure > img:first-child {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.bg-mascot-stage {
  display: grid;
  height: 216px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 41px;
  place-items: center;
}

.bg-mascot-stage figure {
  width: 216px;
  height: 216px;
}

.bg-mascot-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bg-social-stage {
  display: grid;
  height: auto;
  grid-template-columns: minmax(0, 444fr) repeat(2, minmax(0, 334fr));
  gap: 25px;
  align-items: center;
  margin-top: 26px;
  padding: 31px 19px 32px;
  border-radius: 5px;
  background: #efe9e1;
}

.bg-social-stage figure {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: var(--social-ratio);
}

.bg-growie-sketches {
  --social-ratio: 4 / 3;
}

.bg-social-post-card,
.bg-guide-card {
  --social-ratio: 1;
}

.bg-social-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.bg-event-stage {
  display: grid;
  height: auto;
  grid-template-columns: minmax(0, 1384fr) minmax(0, 1449fr);
  gap: 25px;
  align-items: start;
  margin-top: 24px;
}

.bg-rollup {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 2186 / 1793;
}

.bg-rollup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.bg-team-collage {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 602 / 472;
  overflow: hidden;
}

.bg-team-collage::before {
  position: absolute;
  inset: 0 0 0 3px;
  border-radius: 5px;
  background: #a19a8c;
  content: "";
}

.bg-team-card {
  position: absolute;
  width: 39.8671%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 4px 4px 1px rgb(0 0 0 / 28%);
  transform: rotate(-30deg);
}

.bg-team-card-one { top: 62.0763%; left: 81.7276%; }
.bg-team-card-two { top: 90.0424%; left: 45.0166%; }
.bg-team-card-three { top: 75.4237%; left: 13.9535%; }
.bg-team-card-four { top: 0; left: 64.1196%; }
.bg-team-card-five { top: 27.3305%; left: 27.5748%; }
.bg-team-card-six { top: 47.8814%; left: 50.4983%; }
.bg-team-card-seven { top: 20.339%; left: 87.0432%; }

.bg-instagram-stage {
  display: grid;
  height: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 23px;
  padding: 32px;
  border-radius: 5px;
  background: #efe9e1;
}

.bg-instagram-stage figure,
.bg-instagram-stage img {
  width: 100%;
  height: auto;
}

.bg-instagram-stage figure {
  aspect-ratio: 1;
}

.bg-instagram-stage img {
  height: auto;
  object-fit: contain;
}

@media (max-width: 1279px) {
  .biggrower-case .case-description,
  .biggrower-case .case-meta {
    width: 100%;
  }

  .biggrower-case .case-live-link {
    top: auto;
  }

  .biggrower-showcase {
    margin-top: 12px;
  }

  .bg-product-stage,
  .bg-web-stage,
  .bg-identity-stage,
  .bg-palette-stage,
  .bg-brand-stage,
  .bg-mascot-stage,
  .bg-social-stage,
  .bg-event-stage,
  .bg-instagram-stage,
  .bg-type-stage {
    width: calc(100% - (var(--page-gutter, 28px) * 2));
    margin-left: var(--page-gutter, 28px);
  }

  .bg-web-stage,
  .bg-brand-stage,
  .bg-event-stage {
    grid-template-columns: 1fr;
  }

  .bg-web-mobile {
    max-width: 280px;
    margin-inline: auto;
  }

  .bg-identity-stage,
  .bg-palette-stage {
    height: auto;
    min-height: 160px;
  }

  .bg-swatch {
    min-height: 120px;
    font-size: 16px;
  }

  .bg-swatch span {
    top: 50%;
    transform: translateY(-50%);
  }

  .bg-type-stage {
    display: grid;
    height: auto;
    gap: 20px;
    padding: 24px;
  }

  .bg-type-stage::after,
  .bg-type-glyph,
  .bg-type-glyph-secondary {
    display: none;
  }

  .bg-type-intro,
  .bg-type-description,
  .bg-type-weights {
    position: static;
    width: auto;
  }

  .bg-type-name {
    font-size: clamp(32px, 8vw, 48px);
  }

  .bg-type-sample {
    width: 100%;
    font-size: 16px;
  }

  .bg-mascot-stage {
    height: auto;
    gap: 12px;
  }

  .bg-mascot-stage figure {
    width: min(28vw, 180px);
    height: auto;
    aspect-ratio: 1;
  }

  .bg-social-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .bg-product-stage {
    grid-template-columns: 1fr;
  }

  .bg-palette-stage {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .bg-instagram-stage {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 8px;
  }

  .bg-mascot-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .bg-mascot-stage figure {
    width: min(70%, 220px);
  }
}
