/* gortex | https://g-world.fun */

#snapshot-catalog { display: block; }

.footer-main { margin-top: clamp(2rem, 6vw, 5rem); }

.snapshot-dialog {
  width: min(36rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 1.5rem;
  border: 1px solid #ff8a26;
  border-radius: 0.75rem;
  background: #212121;
  color: #fff;
}

.snapshot-dialog::backdrop { background: rgb(0 0 0 / 70%); }
.snapshot-dialog img { display: block; max-width: 100%; max-height: 16rem; margin: 1rem auto; }
.snapshot-dialog p { margin-block: 0.65rem; line-height: 1.5; }

.snapshot-dialog button {
  min-height: 2.75rem;
  margin-top: 1rem;
  padding-inline: 1rem;
  border: 0;
  border-radius: 0.4rem;
  background: #ff8a26;
  color: #181818;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* gortex | https://g-world.fun */
:root {
  --gworld-surface: #ffffff;
  --gworld-action: #c82e20;
  --gworld-action-hover: #a92419;
  --gworld-accent: #ff8a26;
  --gworld-tint: #fff1e5;
  --gworld-ink: #251c19;
}

.header_buttom_menu-last {
  background-color: var(--gworld-surface);
  color: var(--gworld-ink);
}

.header_buttom_menu-last_background {
  filter: brightness(0.52) sepia(0.4);
}

a.header_buttom_content-left-top-group-button,
.market_obj_button,
.snapshot-dialog button {
  background-color: var(--gworld-action);
  color: var(--gworld-surface);
}

a.header_buttom_content-left-top-group-button:hover,
.market_obj:hover .market_obj_button,
.snapshot-dialog button:hover {
  background-color: var(--gworld-action-hover);
  color: var(--gworld-surface);
}

a.header_buttom_content-left-top-group-button-2 {
  background-color: var(--gworld-tint);
  color: var(--gworld-action-hover);
}

.header_buttom_content-left-top-group-3-text {
  color: var(--gworld-ink);
}

.header_buttom_content-left-top-group-2-text-1,
a.header_buttom_menu-a-href:hover,
.header_buttom_menu-a-href:hover .header_buttom_menu-a-href-text {
  color: var(--gworld-action);
}

.snapshot-dialog {
  background-color: var(--gworld-surface);
  border-color: var(--gworld-accent);
  color: var(--gworld-ink);
}

.studio-services {
  box-sizing: border-box;
  width: min(100% - 3rem, 1360px);
  margin-inline: auto;
  padding-top: clamp(2.5rem, 5vw, 5rem);
}

.studio-services .name-category-new-pc {
  margin: 0 0 clamp(1.25rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

.service-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "free paid paid core"
    "free custom custom licenses"
    "brief brief brief brief";
  grid-auto-rows: clamp(13rem, 21.5vw, 18.625rem);
  gap: clamp(0.625rem, 1.25vw, 1rem);
}

.studio-services .service-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--tile-radius, 0.75rem);
  color: var(--gworld-ink);
  background-color: var(--gworld-accent);
}

.service-art {
  position: absolute;
  inset: 0;
  background-image: var(--tile-art);
  background-repeat: no-repeat;
  background-position: var(--art-position, right bottom);
  background-size: var(--art-size, 100% auto);
  pointer-events: none;
}

.service-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.25vw, 1.15rem);
  max-width: 52%;
  padding: clamp(1.65rem, 4.25vw, 4.5rem) clamp(1.125rem, 3.4vw, 3.6rem) 1rem;
}

.service-title {
  font: 700 clamp(1.35rem, 2.2vw, 2rem) / 1.04 'Rubik', sans-serif;
}

.service-description {
  font: 500 clamp(0.875rem, 1.2vw, 1rem) / 1.36 'Rubik', sans-serif;
}

.service-free {
  grid-area: free;
  --tile-art: url("assets/studio-tile-free.png");
  --art-position: center bottom 4%;
  --art-size: min(112%, 27rem) auto;
  --tile-radius: 1.125rem;
}

.service-paid {
  grid-area: paid;
  --tile-art: url("assets/studio-tile-paid.png");
  --art-position: right 4% bottom 3%;
  --art-size: auto 93%;
}

.service-custom {
  grid-area: custom;
  --tile-art: url("assets/studio-tile-custom.png");
  --art-position: right 4% bottom 3%;
  --art-size: auto 93%;
}

.service-core {
  grid-area: core;
  --tile-art: url("assets/studio-tile-core.png");
  --art-position: center bottom;
  --art-size: auto 64%;
}

.service-licenses {
  grid-area: licenses;
  --tile-art: url("assets/studio-tile-licenses.png");
  --art-position: center bottom;
  --art-size: auto 64%;
}


.service-brief {
  grid-area: brief;
  --tile-art: url("assets/studio-tile-brief.png");
  --art-position: right 15% bottom 4%;
  --art-size: auto 95%;
}

.service-free .service-copy {
  max-width: 100%;
}

:is(.service-core, .service-licenses) .service-copy {
  width: 100%;
  max-width: none;
  gap: 0.45rem;
  padding: clamp(1.35rem, 3.3vw, 3.25rem) 1.125rem 1rem;
  text-align: center;
}

:is(.service-core, .service-licenses) .service-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.service-brief .service-copy {
  max-width: 46%;
}

.studio-services .service-tile:focus-visible {
  outline: 3px solid var(--gworld-action);
  outline-offset: 4px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .studio-services .service-art {
    transition: transform 180ms ease-out;
  }

  .studio-services .service-tile:hover .service-art {
    transform: scale(1.045);
  }
}

@media (max-width: 850px) {
  .studio-services {
    width: min(100% - 2rem, 34rem);
  }

  .service-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "free free"
      "paid paid"
      "custom custom"
      "core licenses"
      "brief brief";
    grid-auto-rows: auto;
  }

  .studio-services .service-tile {
    min-height: 8.875rem;
    border-radius: 1rem;
  }

  :is(.service-free, .service-paid, .service-custom, .service-brief) .service-art {
    width: 49%;
    background-image: var(--tile-art);
    background-position: center bottom;
    background-size: contain;
  }

  :is(.service-free, .service-paid, .service-custom, .service-brief) .service-copy {
    justify-content: center;
    width: 51%;
    max-width: none;
    margin-left: auto;
    padding: 1rem 0.75rem 1rem 0.375rem;
  }

  .service-mosaic .service-title {
    font-size: clamp(1.125rem, 5.2vw, 1.375rem);
  }

  .service-mosaic .service-description {
    display: none;
  }

  :is(.service-core, .service-licenses) .service-art {
    background-image: var(--tile-art);
    background-position: center bottom;
    background-size: auto 71%;
  }

  :is(.service-core, .service-licenses) .service-copy {
    width: 100%;
    max-width: none;
    padding: 0.875rem 0.625rem 0;
    text-align: center;
  }

}
