:root {
  color-scheme: dark;
  --background: #050506;
  --surface: rgba(15, 15, 18, 0.76);
  --ink: #f5f1e9;
  --muted: #aaa7a2;
  --accent: #ff8a24;
  --accent-highlight: #ffc27d;
  --hairline: rgba(255, 138, 36, 0.48);
  --page-gutter: clamp(24px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
}

body {
  background: var(--background);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  translate: 0 -160%;
  border-radius: 999px;
  background: var(--ink);
  color: var(--background);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: translate 180ms ease;
}

.skip-link:focus {
  translate: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-highlight);
  outline-offset: 5px;
}

.site-header {
  position: absolute;
  z-index: 60;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  padding: clamp(28px, 4.8vh, 48px) var(--page-gutter);
}

.wordmark {
  font-size: clamp(30px, 2.7vw, 44px);
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 50;
  align-self: center;
  width: min(43vw, 640px);
  margin-top: 7vh;
  padding: 64px 0 70px var(--page-gutter);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9.5ch;
  margin-bottom: 28px;
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 310;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-summary {
  max-width: 420px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 390;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.primary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 11px 20px 11px 23px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.primary-action img {
  width: 20px;
  height: 20px;
  filter: invert(74%) sepia(65%) saturate(2737%) hue-rotate(335deg) brightness(103%) contrast(101%);
  transition: transform 180ms ease;
}

.primary-action:hover {
  border-color: var(--accent-highlight);
  background: rgba(255, 138, 36, 0.12);
  color: #fff9f2;
  transform: translateY(-2px);
}

.primary-action:hover img {
  transform: translateX(3px);
}

.product-loop {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(42px, 7vh, 72px) 0 0;
  color: rgba(245, 241, 233, 0.58);
  font-size: 14px;
  font-weight: 460;
  letter-spacing: 0.01em;
}

.product-loop i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 138, 36, 0.75);
}

.hero-stage {
  position: absolute;
  z-index: 10;
  inset: 0;
  perspective: 1200px;
  perspective-origin: 76% 46%;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  z-index: 20;
  top: 5.5%;
  right: 4.8%;
  width: min(47vw, 740px);
  height: auto;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.48));
  animation: phone-breathe 9s ease-in-out infinite;
}

.category-field {
  position: absolute;
  inset: 0;
  display: contents;
  margin: 0;
  padding: 0;
  transform-style: preserve-3d;
  list-style: none;
}

.category-icon {
  --scale: 1;
  --tilt: 0deg;
  --yaw: 0deg;
  --pitch: 0deg;
  --depth: 0px;
  --drift-x: 6px;
  --drift-y: -12px;
  --drift-z: 18px;
  position: absolute;
  width: 64px;
  height: 64px;
  transform:
    translate3d(0, 0, var(--depth))
    rotateX(var(--pitch))
    rotateY(var(--yaw))
    rotateZ(var(--tilt))
    scale(var(--scale));
  transform-style: preserve-3d;
  animation: category-drift 7.6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

.category-orb {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 174, 91, 0.42);
  border-radius: 50%;
  background: rgba(6, 7, 10, 0.8);
  backdrop-filter: blur(9px) saturate(135%);
  -webkit-backdrop-filter: blur(9px) saturate(135%);
  box-shadow:
    inset 8px 7px 14px rgba(255, 205, 153, 0.18),
    inset -12px -14px 22px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(255, 174, 91, 0.08),
    0 0 24px rgba(255, 138, 36, 0.2),
    0 18px 34px rgba(0, 0, 0, 0.48);
  transform: translateZ(1px);
}

.category-orb::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 18%;
  width: 28%;
  height: 18%;
  border-radius: 50%;
  background: rgba(255, 246, 231, 0.4);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.24),
    13px 10px 18px rgba(255, 153, 51, 0.1);
  filter: blur(1.2px);
  opacity: 0.78;
  transform: rotate(-28deg);
}

.category-orb img {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  filter:
    invert(83%)
    sepia(61%)
    saturate(1487%)
    hue-rotate(327deg)
    brightness(105%)
    contrast(101%)
    drop-shadow(0 3px 6px rgba(255, 138, 36, 0.28));
}

.category--rear {
  z-index: 10;
  --depth: -150px;
  opacity: 0.56;
  filter: blur(0.75px);
}

.category--rear .category-orb::before {
  opacity: 0.4;
  transform: rotate(-28deg) scale(0.78);
  transform-origin: top left;
}

.category--mid {
  z-index: 24;
  --depth: 45px;
  opacity: 0.92;
}

.category--front {
  z-index: 30;
  --depth: 155px;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.48));
}

.category--front .category-orb {
  border-color: rgba(255, 190, 126, 0.58);
  background: rgba(8, 9, 12, 0.74);
  box-shadow:
    inset 10px 9px 16px rgba(255, 211, 163, 0.22),
    inset -14px -16px 25px rgba(0, 0, 0, 0.76),
    inset 0 0 0 1px rgba(255, 184, 111, 0.12),
    0 0 32px rgba(255, 138, 36, 0.27),
    0 24px 46px rgba(0, 0, 0, 0.56);
}

.category--front .category-orb::before {
  width: 31%;
  height: 20%;
  opacity: 0.96;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.32),
    16px 12px 22px rgba(255, 145, 35, 0.15);
}

.category--eat {
  --scale: 0.7;
  --tilt: -6deg;
  --yaw: 18deg;
  --pitch: -8deg;
  --delay: -2.8s;
  top: 24%;
  left: 53%;
}

.category--drink {
  --scale: 1.04;
  --tilt: 5deg;
  --yaw: -16deg;
  --pitch: 7deg;
  --drift-x: 10px;
  --drift-y: -16px;
  --drift-z: 32px;
  --delay: -5.1s;
  top: 12%;
  left: 68%;
}

.category--play {
  --scale: 0.66;
  --tilt: 7deg;
  --yaw: -24deg;
  --delay: -1.7s;
  top: 20%;
  left: 88%;
}

.category--enjoy {
  --scale: 1.08;
  --tilt: -4deg;
  --yaw: -20deg;
  --pitch: -6deg;
  --drift-x: -10px;
  --drift-z: 36px;
  --delay: -6.2s;
  top: 34%;
  left: 90%;
}

.category--beauty {
  --scale: 0.86;
  --tilt: 8deg;
  --yaw: -22deg;
  --delay: -3.4s;
  top: 48%;
  left: 87%;
}

.category--fashion {
  --scale: 1.12;
  --tilt: 5deg;
  --yaw: -18deg;
  --pitch: 6deg;
  --drift-x: -12px;
  --drift-z: 42px;
  --delay: -0.8s;
  top: 66%;
  left: 88%;
}

.category--sport {
  --scale: 0.82;
  --tilt: -7deg;
  --yaw: 12deg;
  --pitch: 8deg;
  --delay: -5.8s;
  top: 80%;
  left: 66%;
}

.category--photo {
  --scale: 1.06;
  --tilt: -5deg;
  --yaw: 17deg;
  --pitch: -6deg;
  --drift-x: 12px;
  --drift-z: 34px;
  --delay: -4.2s;
  top: 72%;
  left: 52%;
}

.category--mystic {
  --scale: 0.68;
  --tilt: 6deg;
  --yaw: 24deg;
  --delay: -6.8s;
  top: 55%;
  left: 48%;
}

.category--study {
  --scale: 0.84;
  --tilt: -3deg;
  --yaw: 20deg;
  --delay: -1.1s;
  top: 38%;
  left: 48%;
}

.category--pet {
  --scale: 1.02;
  --tilt: 4deg;
  --yaw: 18deg;
  --pitch: 7deg;
  --drift-x: 12px;
  --drift-z: 38px;
  --delay: -3.9s;
  top: 17%;
  left: 46%;
}

.category--auto {
  --scale: 0.62;
  --tilt: -8deg;
  --yaw: 22deg;
  --delay: -0.3s;
  top: 43%;
  left: 57%;
}

.category--stay {
  --scale: 1.08;
  --tilt: -4deg;
  --yaw: 18deg;
  --pitch: -8deg;
  --drift-x: 13px;
  --drift-z: 38px;
  --delay: -5.4s;
  top: 58%;
  left: 57%;
}

.category--convenience {
  --scale: 0.82;
  --tilt: 7deg;
  --yaw: -16deg;
  --delay: -2.1s;
  top: 30%;
  left: 80%;
}

.category--medical {
  --scale: 1.16;
  --tilt: 4deg;
  --yaw: -12deg;
  --pitch: 8deg;
  --drift-y: -15px;
  --drift-z: 44px;
  --delay: -6.5s;
  top: 76%;
  left: 77%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.discover-section {
  display: grid;
  min-height: 78svh;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(70px, 10vw, 170px);
  padding: clamp(110px, 15vh, 170px) var(--page-gutter);
  background: #080809;
}

.discover-intro {
  max-width: 740px;
}

.discover-intro h2 {
  max-width: 9ch;
  margin-bottom: 32px;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 320;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.discover-intro > p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.55;
}

.journey {
  display: grid;
  gap: clamp(34px, 5vh, 58px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey li {
  counter-increment: journey;
  position: relative;
  padding-left: 48px;
}

.journey li::before {
  content: "0" counter(journey);
  position: absolute;
  top: 5px;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.journey h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 2.3vw, 39px);
  font-weight: 480;
  letter-spacing: -0.04em;
}

.journey p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 40px;
  padding: 72px var(--page-gutter) 48px;
  color: rgba(245, 241, 233, 0.52);
  background: var(--background);
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-wordmark {
  color: var(--ink);
  font-size: 30px;
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 1;
}

.copyright {
  white-space: nowrap;
}

@keyframes category-drift {
  0%,
  100% {
    transform:
      translate3d(0, 0, var(--depth))
      rotateX(var(--pitch))
      rotateY(var(--yaw))
      rotateZ(var(--tilt))
      scale(var(--scale));
  }

  50% {
    transform:
      translate3d(var(--drift-x), var(--drift-y), calc(var(--depth) + var(--drift-z)))
      rotateX(calc(var(--pitch) - 2deg))
      rotateY(calc(var(--yaw) + 3deg))
      rotateZ(calc(var(--tilt) + 2deg))
      scale(var(--scale));
  }
}

@keyframes phone-breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@media (max-width: 1100px) {
  .hero-copy {
    width: 48vw;
  }

  .hero-phone {
    right: -2%;
    width: min(58vw, 700px);
  }

  .category-icon {
    width: 56px;
    height: 56px;
  }

  .category-orb img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 940px;
  }

  .site-header {
    padding-top: 26px;
  }

  .hero-background {
    top: 42%;
    height: 58%;
    object-position: 68% center;
  }

  .hero-copy {
    align-self: start;
    width: 100%;
    margin-top: 0;
    padding: 118px var(--page-gutter) 0;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(58px, 15.5vw, 80px);
  }

  .hero-summary {
    max-width: 340px;
    font-size: 17px;
  }

  .product-loop {
    margin-top: 34px;
  }

  .hero-phone {
    top: 43%;
    right: -10%;
    width: min(118vw, 520px);
  }

  .category-icon {
    width: 50px;
    height: 50px;
  }

  .category-orb img {
    width: 27px;
    height: 27px;
  }

  .category--eat { top: 49%; left: 17%; }
  .category--drink { top: 45%; left: 43%; }
  .category--play { top: 51%; left: 76%; }
  .category--enjoy { top: 59%; left: 82%; }
  .category--beauty { top: 66%; left: 75%; }
  .category--fashion { top: 74%; left: 82%; }
  .category--sport { top: 84%; left: 49%; }
  .category--photo { top: 83%; left: 21%; }
  .category--mystic { top: 70%; left: 8%; }
  .category--study { top: 59%; left: 14%; }
  .category--pet { top: 46%; left: 14%; }
  .category--auto { top: 57%; left: 48%; }
  .category--stay { top: 73%; left: 34%; }
  .category--convenience { top: 55%; left: 66%; }
  .category--medical { top: 83%; left: 72%; }

  .discover-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .discover-intro h2 {
    max-width: 8ch;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 24px;
  }

  .hero {
    min-height: 1040px;
  }

  .wordmark {
    font-size: 31px;
  }

  .hero-copy {
    padding-top: 104px;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(55px, 15vw, 68px);
    line-height: 0.92;
  }

  .primary-action {
    min-height: 46px;
    padding: 10px 18px 10px 21px;
  }

  .product-loop {
    gap: 12px;
    font-size: 13px;
  }

  .hero-phone {
    top: 43%;
    right: -13%;
    width: 120vw;
  }

  .category-icon {
    width: 44px;
    height: 44px;
  }

  .category-orb img {
    width: 24px;
    height: 24px;
  }

  .discover-section {
    gap: 68px;
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .discover-intro h2 {
    margin-bottom: 24px;
    font-size: clamp(56px, 17vw, 72px);
  }

  .discover-intro > p {
    font-size: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 56px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
