.home .inlayers-header-shell {
  position: fixed;
  right: 0;
  left: 0;
  color: var(--wp--preset--color--surface);
  transition:
    color 240ms ease,
    background-color 240ms ease;
}

.home .inlayers-header {
  border-bottom-color: transparent;
  background: transparent;
  transition:
    border-color 240ms ease,
    background-color 240ms ease;
}

.home .inlayers-header-shell.is-past-hero {
  color: var(--wp--preset--color--foreground);
}

.home .inlayers-header-shell.is-past-hero .inlayers-header {
  border-bottom-color: var(--wp--preset--color--border);
  background: var(--wp--preset--color--background);
}

.home .inlayers-header__inner {
  justify-content: flex-end;
}

.home .inlayers-header .inlayers-site-logo {
  display: none;
}

.home .inlayers-language-switcher__current,
.home .inlayers-language-switcher__link:focus-visible {
  color: inherit;
}

.home .inlayers-language-switcher__link:hover {
  color: rgb(255 255 255 / 65%);
}

.home .inlayers-header
  .inlayers-primary-navigation
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
  display: inline-flex;
  gap: 0.625rem;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
}

.home .inlayers-header
  .inlayers-primary-navigation
  .wp-block-navigation__responsive-container-open:not(.always-shown)
  svg {
  display: none;
}

.home .inlayers-header
  .inlayers-primary-navigation
  .wp-block-navigation__responsive-container-open:not(.always-shown)::before {
  width: 1.5rem;
  height: 0.875rem;
  background: linear-gradient(
    to bottom,
    currentColor 0 1px,
    transparent 1px 6px,
    currentColor 6px 7px,
    transparent 7px 12px,
    currentColor 12px 13px,
    transparent 13px
  );
  content: "";
}

.home .inlayers-header
  .inlayers-primary-navigation
  .wp-block-navigation__responsive-container-open:not(.always-shown)::after {
  content: "Меню";
}

html[lang^="en"]
  .home
  .inlayers-header
  .inlayers-primary-navigation
  .wp-block-navigation__responsive-container-open:not(.always-shown)::after {
  content: "Menu";
}

.home .inlayers-header
  .inlayers-primary-navigation
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
  display: none;
}

.home .inlayers-header
  .inlayers-primary-navigation
  .wp-block-navigation__responsive-container.is-menu-open {
  color: var(--wp--preset--color--foreground);
}

.home .inlayers-primary-navigation__close-proxy {
  color: var(--wp--preset--color--foreground);
}

.inlayers-video-hero {
  position: relative;
  z-index: 0;
  height: 100svh;
  margin-block: 0;
  background: transparent;
}

.inlayers-video-hero__stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  place-items: center;
  background: transparent;
}

.inlayers-video-hero__poster,
.inlayers-video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.inlayers-video-hero__poster {
  opacity: 1;
  transition: opacity 600ms ease;
}

.inlayers-video-hero__video {
  opacity: 0;
  transition: opacity 600ms ease;
}

.inlayers-video-hero.is-video-ready .inlayers-video-hero__poster {
  opacity: 0;
}

.inlayers-video-hero.is-video-ready .inlayers-video-hero__video {
  opacity: 1;
}

.inlayers-video-hero.has-video-error .inlayers-video-hero__video {
  display: none;
}

.inlayers-video-hero__logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(45vw, 35rem);
  aspect-ratio: 2 / 1;
  pointer-events: none;
}

.inlayers-video-hero__logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.inlayers-video-hero__logo > svg > path[fill="black"] {
  fill: #f7fafc;
}

.inlayers-video-hero__logo > svg > path[stroke="black"] {
  stroke: #f7fafc;
}

.inlayers-video-hero__sound {
  position: absolute;
  z-index: 2;
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  display: inline-flex;
  gap: 0.625rem;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--wp--preset--color--surface);
  background: transparent;
  cursor: pointer;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.inlayers-video-hero__sound-icon {
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.inlayers-video-hero__sound[aria-pressed="true"]
  .inlayers-video-hero__sound-icon {
  background: currentColor;
}

.inlayers-video-hero__sound:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.4rem;
}

.inlayers-home-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  margin-block: 0;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(6rem, 12vw, 12rem);
  padding-inline: var(--wp--custom--layout--gutter);
  background: var(--wp--preset--color--background);
}

.inlayers-home-content > .wp-block-post-content {
  width: 100%;
  max-width: none;
}

.inlayers-home-feature {
  width: 100%;
  margin-block: 0;
}

.inlayers-home-feature__image,
.inlayers-home-feature__image a,
.inlayers-home-feature__image img {
  display: block;
  width: 100%;
}

.inlayers-home-feature__image {
  overflow: hidden;
}

.inlayers-home-feature__image img {
  max-width: none;
  height: auto;
}

.inlayers-home-feature__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.875rem;
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(6rem, 12vw, 12rem);
}

.inlayers-home-feature__content > * {
  margin-block: 0;
}

.inlayers-home-feature__content > p:first-child {
  grid-column: 1;
  margin-block-end: 0.75rem;
}

.inlayers-home-feature__content > h1 {
  grid-column: 1;
}

.inlayers-home-feature__content > p:nth-of-type(2) {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: end;
  max-width: 36rem;
}

.inlayers-home-feature__content > p:last-child {
  grid-column: 2;
  margin-block-start: 1.5rem;
}

.inlayers-home-collection-feature,
.inlayers-home-editorial,
.inlayers-home-gallery,
.inlayers-home-about {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-inline: auto;
}

.inlayers-home-about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.875rem;
  margin-block: 0 clamp(6rem, 12vw, 12rem);
  padding-inline: 0 !important;
}

.inlayers-home-about > * {
  margin-inline: 0 !important;
}

.inlayers-home-about > p:empty {
  display: none;
}

.inlayers-home-about > h2 {
  grid-row: 1 / span 2;
  grid-column: 1;
  margin-block: 0;
}

.inlayers-home-about > p:not(:empty) {
  grid-column: 2;
  max-width: 36rem;
  margin-block: 0;
}

.inlayers-home-about > p:last-child {
  margin-block-start: 1.5rem;
}

.inlayers-home-content .inlayers-pattern-gallery-selection--interactive {
  margin-block: 0 clamp(6rem, 12vw, 12rem);
}

.inlayers-home-content
  .inlayers-pattern-gallery-selection--interactive
  .inlayers-pattern-gallery-selection__header {
  width: 100%;
  max-width: none;
  margin-block-end: 2rem;
  text-align: center;
}

.inlayers-home-content
  .inlayers-pattern-gallery-selection--interactive
  .inlayers-pattern-gallery-selection__grid {
  gap: 1.875rem;
}

.inlayers-home-content
  .inlayers-pattern-gallery-selection--interactive
  .wp-block-column
  > p {
  margin-block: 1rem 0;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--inlayers-type-meta);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.inlayers-home-content
  .inlayers-pattern-gallery-selection--interactive
  .wp-block-column
  > blockquote {
  margin-block: 0.75rem 0;
  padding: 0;
  border: 0;
}

.inlayers-home-content
  .inlayers-pattern-gallery-selection--interactive
  .wp-block-column
  > blockquote
  p {
  margin: 0;
}

.inlayers-home-content .inlayers-pattern-related {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-block: 0;
  margin-inline: auto;
}

.inlayers-home-content .inlayers-pattern-related__heading {
  margin-block: 0 2rem;
  text-align: center;
}

.inlayers-home-content .inlayers-pattern-related__grid {
  gap: 1.875rem;
}

.inlayers-home-content .inlayers-pattern-related-card {
  margin: 0;
}

.inlayers-home-content .inlayers-pattern-related-card .wp-block-image,
.inlayers-home-content .inlayers-pattern-related-card .wp-block-image img {
  display: block;
  width: 100%;
}

.inlayers-home-content .inlayers-pattern-related-card .wp-block-image {
  overflow: hidden;
}

.inlayers-home-content .inlayers-pattern-related-card .wp-block-image img {
  max-width: none;
  transition:
    filter 400ms ease,
    transform 600ms ease;
}

.inlayers-home-content
  .inlayers-pattern-related-card:hover
  .wp-block-image
  img {
  filter: brightness(1.08);
  transform: scale(1.015);
}

.inlayers-home-content .inlayers-pattern-related-card__type {
  margin-block: 1rem 0;
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--inlayers-type-quote) !important;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.33;
  text-transform: none;
}

@media (max-width: 767px) {
  .inlayers-video-hero__logo {
    width: min(57vw, 22rem);
  }

  .inlayers-home-feature__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .inlayers-home-feature__content > p:first-child,
  .inlayers-home-feature__content > h1,
  .inlayers-home-feature__content > p:nth-of-type(2),
  .inlayers-home-feature__content > p:last-child {
    grid-row: auto;
    grid-column: 1;
    margin-block: 0;
  }

  .inlayers-home-about {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .inlayers-home-about > h2,
  .inlayers-home-about > p:not(:empty) {
    grid-row: auto;
    grid-column: 1;
    margin-block: 0;
  }

  .inlayers-home-content
    .inlayers-pattern-gallery-selection--interactive
    .inlayers-pattern-gallery-selection__header {
    margin-block-end: 1.25rem;
    text-align: left;
  }

  .inlayers-home-content
    .inlayers-pattern-gallery-selection--interactive
    .inlayers-pattern-gallery-selection__grid {
    gap: 3rem;
  }

  .inlayers-home-content .inlayers-pattern-related__heading {
    margin-block-end: 1.25rem;
    text-align: left;
  }

  .inlayers-home-content .inlayers-pattern-related__grid {
    gap: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .inlayers-header-shell,
  .home .inlayers-header,
  .inlayers-video-hero__poster,
  .inlayers-video-hero__video {
    transition: none;
  }

  .inlayers-video-hero__video,
  .inlayers-video-hero__sound {
    display: none;
  }

  .inlayers-home-content .inlayers-pattern-related-card .wp-block-image img {
    transition: none;
  }
}
