:root {
  --bg: #050505;
  --text: #f5f3ef;
  --muted: rgba(245, 243, 239, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 35%),
    linear-gradient(180deg, #111 0%, var(--bg) 45%, #020202 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: 28px clamp(20px, 4vw, 48px) 48px;
}

.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 8px 8px;
  mix-blend-mode: soft-light;
}

.hero__spotlight {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  z-index: -1;
}

.hero__spotlight--left {
  top: -12rem;
  left: -10rem;
  background: #8f8f8f;
}

.hero__spotlight--right {
  right: -12rem;
  bottom: -18rem;
  background: #3a3a3a;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.brand__mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--text);
  border-radius: 6px;
  box-shadow: inset 0 0 0 5px #050505;
  transform: rotate(45deg);
}

.brand__name {
  font-weight: 800;
}

.topbar__cta {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, transform 180ms ease;
}

.topbar__cta:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero__content {
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(42px, 6vw, 90px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero__copy h1 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero__copy h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
}

.hero__description {
  max-width: 42rem;
  margin: 26px 0 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 15px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #050505;
  background: linear-gradient(180deg, #fff 0%, #d9d2c7 100%);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.16);
}

.button--ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero__meta li {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
}

.hero__visual {
  display: flex;
  justify-content: center;
  perspective: 1600px;
}

.fox-stage {
  position: relative;
  width: min(100%, 520px);
  min-height: 620px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transform: rotateX(14deg) rotateY(-18deg);
  transition: transform 220ms ease-out;
  will-change: transform;
}

.fox-stage__halo {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06) 52%, transparent 74%);
  filter: blur(20px);
}

.fox-stage__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02), transparent 70%);
}

.fox-stage__ring--one {
  width: 430px;
  height: 430px;
}

.fox-stage__ring--two {
  width: 520px;
  height: 520px;
  opacity: 0.5;
}

.fox {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.45));
}

.fox__ears {
  position: absolute;
  top: 8px;
  width: 100%;
  height: 90px;
}

.fox__ear {
  position: absolute;
  width: 88px;
  height: 96px;
  background: linear-gradient(180deg, #ffb14b 0%, #e56b1f 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.fox__ear::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 42px;
  height: 46px;
  background: linear-gradient(180deg, #ffd5bb 0%, #fff1e5 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  transform: translateX(-50%);
}

.fox__ear--left {
  left: 18px;
  transform: rotate(-18deg);
}

.fox__ear--right {
  right: 18px;
  transform: rotate(18deg);
}

.fox__face {
  position: relative;
  width: 250px;
  height: 236px;
  margin-top: 36px;
  border-radius: 46% 46% 42% 42%;
  background: linear-gradient(180deg, #ffb54f 0%, #ea7626 72%, #d96219 100%);
  box-shadow:
    inset 0 -18px 28px rgba(128, 49, 0, 0.18),
    0 35px 80px rgba(0, 0, 0, 0.35);
}

.fox__face::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 142px;
  height: 108px;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(180deg, #fffaf3 0%, #ffe5d1 100%);
  transform: translateX(-50%);
}

.fox__brow,
.fox__eye,
.fox__snout,
.fox__nose,
.fox__mouth,
.fox__blush {
  position: absolute;
  z-index: 2;
}

.fox__brow {
  top: 76px;
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: rgba(90, 32, 0, 0.7);
}

.fox__brow--left {
  left: 68px;
  transform: rotate(-10deg);
}

.fox__brow--right {
  right: 68px;
  transform: rotate(10deg);
}

.fox__eye {
  top: 96px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2a1b15;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.08);
}

.fox__eye--left {
  left: 72px;
}

.fox__eye--right {
  right: 72px;
}

.fox__snout {
  left: 50%;
  bottom: 54px;
  width: 70px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
}

.fox__nose {
  left: 50%;
  bottom: 74px;
  width: 24px;
  height: 16px;
  border-radius: 45% 45% 60% 60%;
  background: #2a1b15;
  transform: translateX(-50%);
}

.fox__mouth {
  left: 50%;
  bottom: 56px;
  width: 36px;
  height: 16px;
  border-bottom: 3px solid #8a411d;
  border-radius: 0 0 20px 20px;
  transform: translateX(-50%);
}

.fox__blush {
  bottom: 80px;
  width: 26px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 185, 149, 0.55);
  filter: blur(1px);
}

.fox__blush--left {
  left: 48px;
}

.fox__blush--right {
  right: 48px;
}

@media (max-width: 1080px) {
  .hero__content {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__description {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__meta {
    justify-content: center;
  }

  .fox-stage {
    width: min(100%, 720px);
    min-height: 500px;
    transform: rotateX(10deg) rotateY(0deg);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-inline: 18px;
    padding-bottom: 36px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__cta {
    font-size: 0.88rem;
  }

  .hero__content {
    min-height: auto;
  }

  .hero__copy h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .fox-stage {
    min-height: 420px;
  }

  .fox {
    width: 240px;
    height: 240px;
  }

  .fox__face {
    width: 205px;
    height: 194px;
  }

  .fox__ear {
    width: 76px;
    height: 84px;
  }

  .fox-stage__ring--one {
    width: 320px;
    height: 320px;
  }

  .fox-stage__ring--two {
    width: 390px;
    height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fox-stage,
  .topbar__cta,
  .button {
    transition: none;
  }
}
