:root {
  --kushi-ivory: #efe6d5;
  --kushi-gold: #c9995d;
  --kushi-red: #b51522;
  --kushi-dark: #050202;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--kushi-dark);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--kushi-ivory);
}

.kushi-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #070303;
}

.kushi-hero__bg,
.kushi-hero__shade,
.kushi-hero__grain {
  position: absolute;
  inset: 0;
}

.kushi-hero__bg {
  z-index: 0;
  background-image: url("../img/hero-desktop.jpg");
  background-size: cover;
  background-position: center center;
  transform: scale(1.025);
  animation: kushiSlowZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}

.kushi-hero__shade {
  z-index: 1;
  background:
    radial-gradient(circle at 66% 48%, rgba(255, 132, 74, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.04) 34%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.05) 46%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.kushi-hero__grain {
  z-index: 2;
  background-image: url("../img/noise.svg");
  background-size: 180px 180px;
  opacity: 0.065;
  mix-blend-mode: soft-light;
  animation: kushiGrain 7s steps(7) infinite;
  pointer-events: none;
}

.kushi-header {
  position: absolute;
  z-index: 5;
  top: calc(var(--safe-top) + clamp(22px, 4.7vh, 52px));
  left: 50%;
  transform: translateX(-50%);
  width: min(48vw, 680px);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  animation: kushiFadeDown 1s cubic-bezier(.2,.8,.2,1) both;
}

.kushi-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
}

.kushi-copy {
  position: absolute;
  z-index: 4;
  top: 52%;
  left: 50%;
  right: auto;
  width: min(42vw, 610px);
  transform: translate(-50%, -42%);
  text-align: center;
  text-wrap: balance;
  animation: kushiCopyIn 1.15s cubic-bezier(.2,.8,.2,1) .22s both;
}

.kushi-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: clamp(12px, 2vh, 22px);
  color: var(--kushi-gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: clamp(10px, 0.78vw, 13px);
  font-weight: 500;
}

.kushi-badge span {
  display: block;
  width: clamp(46px, 5.2vw, 86px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kushi-red), var(--kushi-gold));
  opacity: 0.82;
}

.kushi-badge span:last-child {
  background: linear-gradient(90deg, var(--kushi-gold), var(--kushi-red), transparent);
}

.kushi-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--kushi-ivory);
  font-size: clamp(42px, 4.55vw, 78px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.045em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.48);
}

.kushi-divider {
  width: clamp(72px, 6vw, 118px);
  height: 2px;
  margin: clamp(14px, 2vh, 24px) auto clamp(16px, 2vh, 24px);
  background: linear-gradient(90deg, transparent, var(--kushi-red), #ee2230, var(--kushi-red), transparent);
  box-shadow: 0 0 18px rgba(181, 21, 34, 0.55);
}

.kushi-copy p {
  margin: 0 auto;
  max-width: 680px;
  color: rgba(239, 230, 213, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.08vw, 20px);
  line-height: 1.55;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
}

@keyframes kushiSlowZoom {
  from {
    transform: scale(1.025) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.075) translate3d(0.65vw, -0.25vh, 0);
  }
}

@keyframes kushiGrain {
  0%, 100% { transform: translate(0, 0); }
  15% { transform: translate(-1.5%, 1%); }
  30% { transform: translate(1%, -1.5%); }
  45% { transform: translate(-1%, -0.5%); }
  60% { transform: translate(1.5%, 1%); }
  75% { transform: translate(-0.5%, 1.4%); }
}

@keyframes kushiFadeDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    filter: blur(0);
  }
}

@keyframes kushiCopyIn {
  from {
    opacity: 0;
    transform: translate(-50%, -36%) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -42%) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1024px) {
  .kushi-header {
    width: min(64vw, 560px);
    top: calc(var(--safe-top) + 28px);
  }

  .kushi-copy {
    left: 50%;
    right: auto;
    width: min(58vw, 560px);
  }
}

@media (max-width: 768px) {
  .kushi-hero__bg {
    background-image: url("../img/hero-mobile.webp");
    background-position: center center;
    transform: scale(1.015);
    animation-duration: 16s;
  }

  .kushi-hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.10) 28%, rgba(0, 0, 0, 0.14) 58%, rgba(0, 0, 0, 0.58) 100%),
      radial-gradient(circle at 50% 43%, rgba(0,0,0,0.18), transparent 42%);
  }

  .kushi-header {
    width: min(72vw, 420px);
    top: calc(var(--safe-top) + clamp(26px, 4.6vh, 46px));
  }

  .kushi-copy {
    top: 44%;
    left: 50%;
    right: auto;
    width: min(86vw, 560px);
    transform: translate(-50%, -50%);
  }

  .kushi-copy h1 {
    font-size: clamp(36px, 9.2vw, 62px);
    line-height: 1.02;
  }

  .kushi-copy p {
    font-size: clamp(14px, 3.7vw, 18px);
    line-height: 1.5;
    max-width: 92%;
  }

  .desktop-break {
    display: none;
  }

  .kushi-badge {
    gap: 12px;
    font-size: clamp(10px, 2.9vw, 13px);
    letter-spacing: 0.22em;
  }

  .kushi-badge span {
    width: clamp(28px, 10vw, 58px);
  }

  @keyframes kushiCopyIn {
    from {
      opacity: 0;
      transform: translate(-50%, -43%) scale(0.985);
      filter: blur(8px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
      filter: blur(0);
    }
  }
}

@media (max-width: 420px) {
  .kushi-header {
    width: 78vw;
  }

  .kushi-copy {
    top: 43%;
    width: 90vw;
  }

  .kushi-copy h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .kushi-copy p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #050202;
}

body {
  overflow: hidden;
}

.kushi-hero {
  position: relative;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  min-height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  background: #050202;
  isolation: isolate;
}

.kushi-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero-desktop.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}

@media (max-width: 768px) {
  .kushi-hero__bg {
    background-image: url("../img/hero-mobile.jpg");
    background-position: center center;
  }
}