[data-section="03-founded-nasty-gal"] {
  position: relative;
  width: 100%;
  overflow: visible;
  background: var(--ds-color-bg-page);
  color: var(--ds-color-text-primary);
  font-family: var(--ds-font-body);
  font-size: var(--ds-type-base-size);
  font-weight: var(--ds-type-base-font-weight);
  line-height: var(--ds-type-base-line-height);
}

[data-section="03-founded-nasty-gal"] * {
  box-sizing: border-box;
}

[data-section="03-founded-nasty-gal"] .nasty-container {
  width: 100%;
  max-width: calc(var(--spacing) * 800);
  margin-inline: auto;
  padding-inline: calc(var(--spacing) * 4);
}

[data-section="03-founded-nasty-gal"] .nasty-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 32);
  width: 100%;
  min-width: 0;
  padding-bottom: calc(var(--spacing) * 4);
}

[data-section="03-founded-nasty-gal"] .nasty-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: calc(100vw + calc(var(--spacing) * 6));
  min-width: 0;
  padding-block: calc(var(--spacing) * 24) calc(var(--spacing) * 16);
}

[data-section="03-founded-nasty-gal"] .nasty-copy-top,
[data-section="03-founded-nasty-gal"] .nasty-copy-bottom {
  width: 100%;
  text-align: justify;
  text-align-last: justify;
}

[data-section="03-founded-nasty-gal"] .nasty-copy-small {
  width: 100%;
  font-family: var(--ds-font-body);
  font-size: min(calc(var(--ds-type-base-size) * 2), 8vw);
  font-weight: var(--ds-type-base-font-weight);
  line-height: calc(var(--ds-type-base-line-height) * 0.8);
  text-transform: uppercase;
  white-space: nowrap;
}

[data-section="03-founded-nasty-gal"] .nasty-copy-middle {
  display: flex;
  flex-direction: column;
  width: 100%;
}

[data-section="03-founded-nasty-gal"] .nasty-dynamic-line {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

[data-section="03-founded-nasty-gal"] .nasty-copy-large {
  font-family: var(--ds-font-body);
  font-weight: var(--ds-type-base-font-weight);
  line-height: calc(var(--ds-type-base-line-height) * 0.64);
  text-transform: uppercase;
  white-space: nowrap;
}

[data-section="03-founded-nasty-gal"] .nasty-copy-large--amount {
  font-size: min(calc(var(--ds-type-base-size) * 20), 38.8vw);
}

[data-section="03-founded-nasty-gal"] .nasty-copy-large--million {
  font-size: min(calc(var(--ds-type-base-size) * 15), 23.3vw);
}

[data-section="03-founded-nasty-gal"] .nasty-scroll {
  min-width: 0;
}

[data-section="03-founded-nasty-gal"] .nasty-logo {
  position: static;
  z-index: var(--ds-layer-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: calc(var(--spacing) * 10);
  max-width: calc(var(--spacing) * 192);
  margin-inline: auto;
  color: var(--ds-color-text-inverse);
  mix-blend-mode: difference;
}

[data-section="03-founded-nasty-gal"] .nasty-logo-inner {
  align-self: center;
  width: 80%;
}

[data-section="03-founded-nasty-gal"] .nasty-logo-mark {
  display: block;
  width: 100%;
  height: auto;
}

[data-section="03-founded-nasty-gal"] .nasty-logo-mark g {
  mix-blend-mode: difference;
}

[data-section="03-founded-nasty-gal"] .nasty-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: calc(var(--spacing) * 4);
  width: 100%;
  aspect-ratio: 1.245;
  margin-top: calc(var(--spacing) * 20);
}

[data-section="03-founded-nasty-gal"] .nasty-dot-wrapper {
  position: absolute;
  top: calc(var(--spacing) * -65);
  left: 0;
  z-index: var(--ds-layer-base);
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;
  transform: rotate(-15deg);
  transform-origin: center;
}

[data-section="03-founded-nasty-gal"] .nasty-image {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

[data-section="03-founded-nasty-gal"] .nasty-image--first {
  grid-column: 1;
  grid-row: 1 / 3;
}

[data-section="03-founded-nasty-gal"] .nasty-image--second {
  grid-column: 2;
  grid-row: 1;
}

[data-section="03-founded-nasty-gal"] .nasty-image--third {
  grid-column: 2;
  grid-row: 2;
}

[data-section="03-founded-nasty-gal"] .nasty-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (min-width: 30rem) {
  [data-section="03-founded-nasty-gal"] .nasty-inner {
    gap: calc(var(--spacing) * 16);
  }

  [data-section="03-founded-nasty-gal"] .nasty-copy {
    height: calc(100vw - calc(var(--spacing) * 14));
  }
}

@media screen and (min-width: 48rem) {
  [data-section="03-founded-nasty-gal"] .nasty-container {
    padding-inline: calc(var(--spacing) * 8);
  }

  [data-section="03-founded-nasty-gal"] .nasty-inner {
    gap: calc(var(--spacing) * 40);
    padding-bottom: calc(var(--spacing) * 8);
  }

  [data-section="03-founded-nasty-gal"] .nasty-copy {
    height: calc(100vw - calc(var(--spacing) * 79.5));
  }

  [data-section="03-founded-nasty-gal"] .nasty-logo {
    height: calc(var(--spacing) * 45);
    max-width: 100%;
  }

  [data-section="03-founded-nasty-gal"] .nasty-logo-inner {
    width: 100%;
  }

  [data-section="03-founded-nasty-gal"] .nasty-gallery {
    gap: calc(var(--spacing) * 8);
    margin-top: 0;
  }

}

@media screen and (min-width: 64rem) {
  [data-section="03-founded-nasty-gal"] .nasty-inner {
    flex-direction: row;
    gap: calc(var(--spacing) * 20);
    padding-bottom: 0;
  }

  [data-section="03-founded-nasty-gal"] .nasty-copy {
    position: sticky;
    top: 0;
    flex: none;
    width: 60%;
    height: 100svh;
    padding-block: calc(var(--spacing) * 48) calc(var(--spacing) * 32);
  }

  [data-section="03-founded-nasty-gal"] .nasty-scroll {
    flex: 1;
  }

  [data-section="03-founded-nasty-gal"] .nasty-logo {
    position: sticky;
    top: 0;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    height: 100svh;
    max-width: calc(var(--spacing) * 360);
    margin-inline: 0;
  }

  [data-section="03-founded-nasty-gal"] .nasty-logo-inner {
    align-self: flex-start;
    width: calc(100% + calc(var(--spacing) * 16));
    margin-left: calc(var(--spacing) * -16);
    transform: translateY(calc(var(--spacing) * 21.5));
  }

  [data-section="03-founded-nasty-gal"] .nasty-gallery {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 8);
    width: 100%;
    aspect-ratio: auto;
    margin-top: calc(var(--spacing) * -22.5);
  }

  [data-section="03-founded-nasty-gal"] .nasty-dot-wrapper {
    top: calc(var(--spacing) * -270);
  }

  [data-section="03-founded-nasty-gal"] .nasty-image img {
    height: auto;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-section="03-founded-nasty-gal"] .nasty-dot-wrapper,
  [data-section="03-founded-nasty-gal"] .nasty-logo-inner {
    animation: none;
    transition: none;
  }
}
