/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.0.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */

#page {
  overflow: unset !important;
}


/* === BACKGROUND === */
.stories_home_bg_wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

.stories_home_bg_inner {
  width: 100% !important;
  height: 100% !important;
  background-color: #E3DFDB;
  transition: background-color 0.6s ease;
}

.stories_home_title {
  font-family: "Archeron Pro", sans-serif;
  font-weight: 300;
  text-align: right;
  font-size: 2.5rem;
  line-height: 1em;
  color: #514d34;
}

.stories_home_quote {
  font-family: "Poppins", Sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5em;
  color: #000000;
}

a.read-mlink {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 0.83rem;
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(#000, #000);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.4s ease;
  padding-bottom: 2px;
  z-index: 1;
  color: #000;
}

.btncircle .elementor-button-link {
  position: relative;
  z-index: 1;
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(#000, #000);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
}

.read-mlink:before {
  content: '';
  position: absolute;
  height: 44px;
  width: 44px;
  background: #D3CBBE;
  opacity: 0.65;
  border-radius: 999px;
  top: -13px;
  left: -22px;
  z-index: -1;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}

.btncircle .elementor-button-link:before {
  content: '';
  position: absolute;
  height: 44px;
  width: 44px;
  background: #D3CBBE;
  opacity: 0.65;
  border-radius: 999px;
  top: -16px;
  left: -22px;
  z-index: -1;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}

a.read-mlink:hover:before,
.btncircle .elementor-button-link:hover:before {
  border-color: #D3CBBE;
  background: transparent;
  opacity: 1;
}

a.read-mlink:hover,
.btncircle .elementor-button-link:hover {
  background-size: 100% 1px;
}

/* === WRAPPER === */
.stories_home_wrap {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
}

.stories_home_contain {
  position: relative !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 5rem 2rem 0rem 2rem !important;
}

.stories_home_sticky_wrapper {
  display: grid !important;
  grid-template-columns: 25% 1fr 25% !important;
  gap: 2rem !important;
  position: relative !important;
}

/* === LEFT STICKY === */
.stories_home_content_left {
  grid-column: 1 !important;
  position: relative !important;
}

.stories_home_left_sticky {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 0;
  height: 51.88rem;
  padding-top: 19.38rem;
}

.stories_home_left_inner {
  position: relative !important;
  text-align: right !important;
}

/* === CENTER === */
.stories_home_center {
  grid-column: 2 !important;
}

.stories_home_list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stories_home_item {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 30px !important;
}

/* === RIGHT STICKY === */
.stories_home_content_right {
  grid-column: 3 !important;
  position: relative !important;
}

.stories_home_right_sticky {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 0;
  height: 51.88rem;
  padding-top: 19.38rem;
}

.stories_home_right_inner {
  position: relative !important;
}

/* === STACKED CONTENT === */
.stories_sticky_content_left,
.stories_sticky_content_right {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stories_sticky_content_left {
  text-align: center !important;
  padding-right: 30px;
}

.stories_sticky_content_right {
  text-align: left !important;
  padding-left: 30px;
}

/* === IMAGE === */
.stories_home_image_wrap {
  width: 100% !important;
  aspect-ratio: 8.2 / 10;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  margin: 0 auto !important;
}

.story_image_visual_bottom,
.story_image_visual_top {
  position: absolute !important;
  inset: 0 !important;
}

.story_image_visual_bottom {
  z-index: 1 !important;
}

.story_image_visual_top {
  z-index: 2 !important;
  clip-path: circle(0px at 50% 50%) !important;
}

.g_visual_img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.g_visual_background {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.05) !important;
  z-index: 1 !important;
}

/* === FLIP === */
.flip_container,
.flip_container_detail {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 9999 !important;
}

/* === MOBILE === */
.desktop-only {
  display: block !important;
}

.mobile_story_content {
  display: none !important;
}

@media (max-width: 991px) {
  .stories_home_sticky_wrapper {
    grid-template-columns: 1fr !important;
  }

  .stories_home_content_left,
  .stories_home_content_right {
    display: none !important;
  }

  .stories_home_item {
    min-height: auto !important;
    margin-bottom: 3rem !important;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile_story_content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .mobile_story_content .stories_sticky_content_left,
  .mobile_story_content .stories_sticky_content_right {
    position: relative !important;
    opacity: 1 !important;
    text-align: left !important;
  }
}








/* ==========================================================
   FULLSCREEN WRAPPER
=========================================================== */

.hs-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

/* Prevents layout shifts */
.hs-sections {
  position: relative;
  width: 100%;
  height: auto;
}

/* ==========================================================
   BACKGROUND SLIDER
=========================================================== */

.hs-bg-slider {
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hs-bg-slide,
.hs-bg-img {
  width: 100%;
  height: 100%;
}

.hs-bg-img {
  object-fit: cover;
  filter: brightness(0.88);
  /* mimic Japanese aesthetic */
  transform: scale(1.15);
  transition: transform 3s ease-out;
}

.splide__slide.is-active .hs-bg-img {
  transform: scale(1);
}

/* ==========================================================
   CONTENT SECTIONS
=========================================================== */

.hs-section {
  position: fixed;
  inset: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  will-change: clip-path, opacity;
  z-index: 3;
}

.hs-section.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================
   CIRCLE (MATCH JAPANESE EXACTLY)
=========================================================== */

.hs-circle-wrap {
  position: absolute;
  width: 520px;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 4;
  pointer-events: none;
  background: rgba(191, 182, 170, 0.3);
  border-radius: 100%;
}

.hs-circle-svg {
  width: 100%;
  height: 100%;
}

.hs-circle-base {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
  fill: none;
}

.hs-circle-anim {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 0px;
  stroke-dashoffset: 0px;
  will-change: stroke-dashoffset;
}

/* ==========================================================
   TEXT CONTENT (CENTERED INSIDE CIRCLE)
=========================================================== */

.hs-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: white;
  max-width: 420px !important;
}

/* ==========================================================
   VIEW MORE BUTTON (EXACT STYLE)
=========================================================== */

.hs-btn {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 17px;
  letter-spacing: 0.4px;
  color: white;
  justify-content: center;
}

.hs-btn-circle {
  width: 40px;
  height: 21px;
  border-radius: 999px;
  background: rgb(213, 208, 200);
  line-height: 1em;
  display: block;
  color: #464646;
}

.btn-more {
  display: flex;
  width: 100%;
  justify-content: center;
}

.more-text {
  font-family: "Poppins", Sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6em;
  color: #fff;
  text-transform: uppercase;
}

/* ==========================================================
   MASK WRAPPERS (TITLE + DESC)
=========================================================== */

.hs-mask-inner {
  transform: translateX(0%) !important;
  will-change: transform;
}

/* ==========================================================
   CUSTOM SLIDER NAV + INDEX
=========================================================== */

.hs-slider-nav {
  position: fixed;
  left: 60px;
  bottom: 64px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hs-nav-btn {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 56px;
  line-height: 0.5;
  padding: 0;
  width: 64px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hs-nav-btn:hover {
  opacity: 1;
}

.hs-nav-btn:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

.hs-slider-index {
  position: fixed;
  right: 56px;
  bottom: 44px;
  z-index: 30;
  color: #fff;
  font-family: "Poppins", Sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.hs-index-current {
  font-weight: 600;
}

.hs-index-divider {
  opacity: 0.85;
}

.hs-index-total {
  font-weight: 300;
}

/* ==========================================================
   THUMBNAIL BAR (BOTTOM FIXED LIKE JAPANESE)
=========================================================== */

.hs-thumbs {
  position: fixed !important;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: auto;
  height: auto !important;
}

.hs-thumbs .splide__list {
  display: flex;
  gap: 14px;
}

.hs-thumbs .splide__slide {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.hs-thumb-img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border: 0px;
  transition: border-color 0.3s ease;
}

.hs-thumbs .splide__slide.is-active {
  border: 2px solid white !important;
}

.hs-title {
  font-family: "Archeron Pro", Sans-serif;
  font-size: 4rem;
  font-weight: 400;
  color: #fff;
}

.hs-mask-inner p {
  font-family: "Poppins", Sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6em;
}

.mainblack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease !important;
}

.svgblack .mainblack {
  opacity: 1 !important;
}




/* Products code */
.request-link {
    text-align: center;
    display: none;
}

.request-link.is-active {
    display: block;
}

.stories_mail {
    text-decoration: underline;
    font-family: "Archeron Pro", sans-serif;
    font-weight: 300;
    text-align: right;
    font-size: 1.2rem;
    line-height: 1em;
    color: #0A0A0A;
}

.video_lightbox_video img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: contain;
}

.main-title-stories {
    font-family: "Archeron Pro", Sans-serif;
    font-size: 3.75rem;
    font-weight: 300;
    text-transform: none;
    line-height: 0.9em;
    color: #855242;
    text-align: center;
    padding: 67px 0px 75px 0px;
}

.filter_nav {
  padding-bottom: 50px;
}

ul.filter_list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 85px;
}

.filter_nav li {
  font-family: "Archeron Pro", sans-serif;
  font-size: 1.2rem;
  cursor: pointer;
  color: #514D34;
}

li.filter_item.is-active {
  color: #855242;
  font-weight: bold;
}

.img-pop {
    position: absolute;
    left: 25px;
    top: 30px;
    width: 85px;
    z-index: 1000;
}


/* desktop only */
@media (min-width: 1025px) {
  .hs-wrapper {
    height: 100vh !important;
    max-height: 100vh !important;
  }

  .hs-section {
    height: 100vh;
  }

  .icon-slide {
    position: relative;
    top: -46px;
    width: 96px;
  }
}

/* laptop and desktop only */
@media (min-width: 1025px) and (max-width: 1550px) {
  .hs-title {
    font-size: 61px !important;
  }

  .hs-circle-wrap {
    width: 490px !important;
    height: 490px !important;
  }
}

@media (max-width: 1024px) {
  .hs-slider-nav {
    left: 24px;
    bottom: 26px;
    gap: 6px;
  }

  .hs-nav-btn {
    font-size: 42px;
    width: 54px;
    height: 20px;
  }

  .hs-slider-index {
    right: 24px;
    bottom: 24px;
    font-size: 1.5rem;
  }
}


/* big screen only */
@media (min-width: 1700px) and (max-width: 2200px) {
  /* .hs-circle-wrap {
    width: 570px;
    height: 570px;
  } */
}