:root {
  --public-header-height: 60px;
  --home-max-circle: 180%;
  --home-bottom-safe: env(safe-area-inset-bottom, 0px);
}

html.home-page-html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.home-page-html::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.home-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #111;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.home-page::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.home-page .site-main {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 0 !important;
  overflow: visible !important;
  background: #111;
}

.home-scroll-stage {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: relative;
  background: #111;
}

.home-scroll-viewport {
  width: 100%;
  height: calc(100vh - var(--public-header-height));
  height: calc(100dvh - var(--public-header-height));
  position: fixed;
  top: var(--public-header-height);
  left: 0;
  right: 0;
  overflow: hidden;
  background: #111;
  isolation: isolate;
  z-index: 1;
}

.home-fullpage-track {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #111;
}

.home-fullpage-slide {
  --circle: 0%;
  --img-scale: 1.04;

  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  clip-path: circle(var(--circle) at 50% 50%);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: clip-path, opacity;
  contain: layout paint;
}

.home-fullpage-slide.is-base,
.home-fullpage-slide.is-reveal {
  opacity: 1;
  visibility: visible;
}

.home-fullpage-slide.is-base {
  --circle: var(--home-max-circle);
  --img-scale: 1.01;
  z-index: 2;
}

.home-fullpage-slide.is-reveal {
  z-index: 5;
}

.home-fullpage-slide > img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: translate3d(0, 0, 0) scale(var(--img-scale));
  backface-visibility: hidden;
  will-change: transform;
}

.home-fullpage-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.04) 42%,
    rgba(0, 0, 0, 0.26) 100%
  );
  pointer-events: none;
}

.home-fullpage-dots {
  position: fixed;
  top: calc(
    var(--public-header-height) + ((100vh - var(--public-header-height)) / 2)
  );
  top: calc(
    var(--public-header-height) + ((100dvh - var(--public-header-height)) / 2)
  );
  left: 24px;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-fullpage-dots::before {
  content: "";
  width: 1px;
  height: calc(100% - 10px);
  background: rgba(255, 255, 255, 0.72);
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.home-fullpage-dots button {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(40, 40, 40, 0.35);
  margin: 12px 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.home-fullpage-dots button.active {
  background: #fff;
  transform: scale(1.1);
}

.home-empty-banner {
  width: 100%;
  min-height: calc(100vh - var(--public-header-height));
  min-height: calc(100dvh - var(--public-header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: #f8f4ef;
}

.home-empty-banner h1 {
  margin: 0 0 10px;
  color: var(--site-text);
  font-size: 32px;
}

.home-empty-banner p {
  margin: 0;
  color: var(--site-muted);
}

.home-intro-content {
  width: min(460px, calc(100% - 48px));
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 20;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: auto;
}

.home-intro-content h1 {
  margin: 0 0 clamp(70px, 12vh, 105px);
  color: #fff;
  font-size: clamp(25px, 3.2vw, 40px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.home-search-form {
  width: min(380px, 100%);
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-search-form button {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #f58220;
  font-size: 14px;
  cursor: pointer;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-search-form input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
  font-size: 13px;
  font-weight: 500;
}

.home-search-form input::placeholder {
  color: rgba(90, 90, 90, 0.42);
}

.home-mouse-hint {
  margin-top: clamp(58px, 10vh, 85px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.38;
  text-align: center;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hint-mobile {
  display: none;
}

.home-mouse-hint i {
  width: 13px;
  height: 23px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  position: relative;
  display: block;
}

.home-mouse-hint i::before {
  content: "";
  width: 3px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: homeMouseWheel 1.35s ease-in-out infinite;
}

.home-first-slide.is-base .home-intro-content {
  animation: homeIntroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-slide-two-scene {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

.home-slide-two-scene a {
  pointer-events: auto;
}

.home-products-circle,
.home-about-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
  transform-origin: center center;
}

.home-products-circle > img,
.home-about-circle > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
}

.home-products-circle-overlay,
.home-about-circle-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 24, 0.62);
  z-index: 1;
}

.home-products-circle {
  --product-opacity: 0;
  --product-scale: 0.58;
  --product-x: -70px;
  --product-y: 45px;
  --product-rotate: -10deg;

  width: min(360px, 28vw);
  aspect-ratio: 1 / 1;
  left: 35%;
  top: 57%;
  z-index: 26;
  opacity: var(--product-opacity);
  transform: translate(
      calc(-50% + var(--product-x)),
      calc(-50% + var(--product-y))
    )
    scale(var(--product-scale)) rotate(var(--product-rotate));
}

.home-about-circle {
  --about-opacity: 0;
  --about-scale: 0.72;
  --about-y: 60px;
  --about-rotate: -16deg;

  width: min(260px, 20vw);
  aspect-ratio: 1 / 1;
  left: 67%;
  top: 54%;
  z-index: 27;
  opacity: var(--about-opacity);
  transform: translate(-50%, calc(-50% + var(--about-y)))
    scale(var(--about-scale)) rotate(var(--about-rotate));
}

.home-products-circle-content,
.home-about-circle-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.home-products-circle-content {
  width: min(76%, 300px);
}

.home-about-circle-content {
  width: min(80%, 210px);
}

.home-products-circle-content h2,
.home-about-circle-content h2 {
  color: #fff;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.home-products-circle-content h2 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.65vw, 28px);
  letter-spacing: 1px;
}

.home-about-circle-content h2 {
  margin: 0 0 9px;
  font-size: clamp(11px, 0.9vw, 16px);
  letter-spacing: 0.6px;
}

.home-products-circle-content p,
.home-about-circle-content p {
  color: #fff;
  font-weight: 800;
}

.home-products-circle-content p {
  margin: 0 auto 12px;
  max-width: 290px;
  font-size: clamp(11px, 0.95vw, 15px);
  line-height: 1.26;
}

.home-about-circle-content p {
  margin: 0 auto 9px;
  max-width: 190px;
  font-size: clamp(7px, 0.65vw, 10px);
  line-height: 1.3;
}

.home-products-circle-content a,
.home-about-circle-content a {
  color: #6abf45;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
}

.home-products-circle-content a {
  font-size: clamp(11px, 0.9vw, 14px);
  gap: 6px;
}

.home-about-circle-content a {
  font-size: clamp(7px, 0.65vw, 10px);
  gap: 4px;
}

.home-products-circle-content a span,
.home-about-circle-content a span {
  color: #f5d100;
}

.home-anim-item {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 720ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--home-anim-delay, 0ms);
  will-change: opacity, transform;
}

.home-fade-up {
  transform: translateY(36px);
}

.home-fade-left {
  transform: translateX(-42px);
}

.home-fade-right {
  transform: translateX(42px);
}

.home-zoom-in {
  transform: scale(0.94);
}

.home-anim-active .home-anim-item,
.home-anim-item.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.home-circle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.86);
  transform: translateX(0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.home-circle-card.is-image-visible::after {
  transform: translateX(105%);
}

.home-circle-card > img {
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-circle-card:not(.is-image-visible) > img {
  transform: scale(1.08);
}

.home-circle-card.is-image-visible > img {
  transform: scale(1.04);
}

.home-products-circle,
.home-about-circle {
  transition: box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-products-circle:hover,
.home-about-circle:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.home-products-circle:hover > img,
.home-about-circle:hover > img {
  transform: scale(1.08);
}

.site-header,
header {
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header.is-scrolled,
header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

@keyframes homeMouseWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

@keyframes homeIntroFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 1199px) {
  .home-products-circle {
    width: min(340px, 34vw);
    left: 36%;
  }

  .home-about-circle {
    width: min(230px, 23vw);
    left: 68%;
  }
}

@media (max-width: 991px) {
  .home-fullpage-dots {
    left: 16px;
  }

  .home-fullpage-dots button {
    margin: 10px 0;
  }

  .home-intro-content {
    width: min(420px, calc(100% - 40px));
    top: 50%;
  }

  .home-intro-content h1 {
    margin-bottom: clamp(58px, 10vh, 80px);
  }

  .home-mouse-hint {
    margin-top: clamp(48px, 8vh, 70px);
  }

  .home-products-circle {
    width: min(340px, 46vw);
    left: 39%;
    top: 59%;
  }

  .home-about-circle {
    width: min(190px, 26vw);
    left: 70%;
    top: 47%;
  }

  .home-products-circle-content h2 {
    font-size: clamp(18px, 2.4vw, 24px);
  }

  .home-products-circle-content p {
    font-size: clamp(10px, 1.55vw, 13px);
  }

  .home-about-circle-content h2 {
    font-size: clamp(10px, 1.45vw, 13px);
  }

  .home-about-circle-content p {
    font-size: clamp(7px, 1.05vw, 9px);
  }

  .home-fade-left,
  .home-fade-right {
    transform: translateY(32px);
  }

  .home-anim-item {
    transition-duration: 620ms;
  }
}

@media (max-width: 767px) {
  .home-fullpage-slide {
    clip-path: circle(var(--circle) at 50% 50%);
  }

  .home-fullpage-slide > img {
    object-position: center center;
  }

  .home-fullpage-shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.16) 42%,
      rgba(0, 0, 0, 0.42) 100%
    );
  }

  .home-fullpage-dots {
    top: auto;
    left: 50%;
    bottom: calc(18px + var(--home-bottom-safe));
    transform: translateX(-50%);
    flex-direction: row;
    justify-content: center;
    max-width: calc(100% - 32px);
  }

  .home-fullpage-dots::before {
    width: calc(100% - 10px);
    height: 1px;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
  }

  .home-fullpage-dots button {
    width: 9px;
    height: 9px;
    margin: 0 9px;
  }

  .home-intro-content {
    width: calc(100% - 34px);
    top: 48%;
  }

  .home-intro-content h1 {
    margin-bottom: clamp(42px, 8vh, 64px);
    font-size: clamp(34px, 10vw, 48px);
    line-height: 0.96;
  }

  .home-search-form {
    width: min(350px, 94vw);
    height: 44px;
    padding: 0 15px;
  }

  .home-search-form input {
    font-size: 12px;
  }

  .home-mouse-hint {
    margin-top: clamp(40px, 7vh, 60px);
    font-size: 11px;
  }

  .home-hint-desktop {
    display: none;
  }

  .home-hint-mobile {
    display: inline;
  }

  .home-mouse-hint i {
    height: 22px;
  }

  .home-slide-two-scene {
    padding: 18px 18px calc(64px + var(--home-bottom-safe));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 3.4vh, 22px);
  }

  .home-products-circle,
  .home-about-circle {
    position: relative;
    left: auto;
    top: auto;
    border-radius: 28px;
  }

  .home-products-circle {
    width: min(88vw, 390px);
    aspect-ratio: 1.26 / 1;
    opacity: var(--product-opacity);
    transform: translateY(var(--product-y)) scale(var(--product-scale))
      rotate(0deg);
  }

  .home-about-circle {
    width: min(78vw, 330px);
    aspect-ratio: 1.38 / 1;
    opacity: var(--about-opacity);
    transform: translateY(var(--about-y)) scale(var(--about-scale)) rotate(0deg);
  }

  .home-products-circle-content {
    width: min(82%, 300px);
  }

  .home-about-circle-content {
    width: min(82%, 260px);
  }

  .home-products-circle-content h2 {
    margin-bottom: 8px;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.08;
  }

  .home-products-circle-content p {
    margin-bottom: 10px;
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.35;
  }

  .home-products-circle-content a {
    font-size: clamp(10px, 3vw, 12px);
  }

  .home-about-circle-content h2 {
    margin-bottom: 7px;
    font-size: clamp(14px, 4vw, 19px);
    line-height: 1.08;
  }

  .home-about-circle-content p {
    margin-bottom: 8px;
    font-size: clamp(10px, 2.9vw, 12px);
    line-height: 1.35;
  }

  .home-about-circle-content a {
    font-size: clamp(9px, 2.7vw, 11px);
  }

  .home-circle-card::after {
    transition-duration: 720ms;
  }
}

@media (max-width: 480px) {
  .home-intro-content {
    top: 48%;
  }

  .home-intro-content h1 {
    margin-bottom: clamp(36px, 7vh, 54px);
    font-size: clamp(32px, 11vw, 43px);
  }

  .home-search-form {
    height: 42px;
  }

  .home-mouse-hint {
    margin-top: clamp(34px, 6vh, 50px);
  }

  .home-slide-two-scene {
    padding-left: 14px;
    padding-right: 14px;
    gap: 14px;
  }

  .home-products-circle {
    width: min(90vw, 360px);
    border-radius: 24px;
  }

  .home-about-circle {
    width: min(84vw, 320px);
    border-radius: 24px;
  }

  .home-products-circle-content,
  .home-about-circle-content {
    width: 84%;
  }
}

@media (max-height: 720px) and (max-width: 767px) {
  .home-intro-content h1 {
    margin-bottom: 34px;
  }

  .home-mouse-hint {
    margin-top: 32px;
  }

  .home-slide-two-scene {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: calc(52px + var(--home-bottom-safe));
  }

  .home-products-circle {
    width: min(82vw, 340px);
    aspect-ratio: 1.5 / 1;
  }

  .home-about-circle {
    width: min(76vw, 300px);
    aspect-ratio: 1.55 / 1;
  }

  .home-products-circle-content h2 {
    font-size: clamp(17px, 4.5vw, 22px);
  }

  .home-products-circle-content p,
  .home-about-circle-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .home-intro-content {
    top: 50%;
  }

  .home-intro-content h1 {
    margin-bottom: 22px;
    font-size: clamp(28px, 5vw, 42px);
  }

  .home-mouse-hint {
    display: none;
  }

  .home-slide-two-scene {
    padding: 14px 54px 24px;
    flex-direction: row;
    gap: 18px;
  }

  .home-products-circle,
  .home-about-circle {
    border-radius: 24px;
  }

  .home-products-circle {
    width: min(45vw, 330px);
    aspect-ratio: 1.38 / 1;
  }

  .home-about-circle {
    width: min(34vw, 250px);
    aspect-ratio: 1.22 / 1;
  }

  .home-products-circle-content h2 {
    font-size: clamp(16px, 2.8vw, 22px);
  }

  .home-about-circle-content h2 {
    font-size: clamp(12px, 2vw, 16px);
  }

  .home-products-circle-content p,
  .home-about-circle-content p {
    font-size: clamp(9px, 1.6vw, 12px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-fullpage-dots {
    left: 18px;
    right: auto;
    bottom: auto;
    top: calc(
      var(--public-header-height) + ((100dvh - var(--public-header-height)) / 2)
    );
    transform: translateY(-50%);
    flex-direction: column;
  }

  .home-fullpage-dots::before {
    width: 1px;
    height: calc(100% - 10px);
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .home-fullpage-dots button {
    margin: 9px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-anim-item,
  .home-circle-card::after,
  .home-circle-card > img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.home-intro-content {
  width: min(980px, calc(100% - 48px));
}

.home-title-one-line {
  width: 100%;
  max-width: none;
  white-space: nowrap;
  text-align: center;
  font-size: clamp(30px, 3.05vw, 46px);
  line-height: 1;
  letter-spacing: -1.4px;
}

@media (max-width: 991px) {
  .home-intro-content {
    width: min(900px, calc(100% - 40px));
  }

  .home-title-one-line {
    font-size: clamp(27px, 4.4vw, 40px);
    letter-spacing: -1.2px;
  }
}

@media (max-width: 767px) {
  .home-intro-content {
    width: calc(100% - 24px);
  }

  .home-title-one-line {
    font-size: clamp(20px, 6.25vw, 34px);
    letter-spacing: -1px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .home-title-one-line {
    font-size: clamp(18px, 5.8vw, 28px);
    letter-spacing: -0.9px;
  }
}

@media (max-width: 380px) {
  .home-title-one-line {
    font-size: clamp(16px, 5.55vw, 24px);
    letter-spacing: -0.8px;
  }
}
