/* Orizn Brands — tokens */
:root {
  --bg: #050506;
  --surface: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #fafafa;
  --muted: #a1a1aa;
  --faint: #71717a;
  --live: #34d399;

  --face: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --step-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --step-display: clamp(3.4rem, 0.6rem + 9.4vw, 10rem);

  --margin: 32px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 640px) { :root { --margin: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--face); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p, h1 { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--bg); }
.mono { font-family: var(--mono); font-size: 0.8125rem; }

/* Nav */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--margin);
}
.nav__home img { width: 140px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: #050506;
  font-size: 1rem; font-weight: 500; line-height: 1;
  transition: transform 200ms var(--ease-out), box-shadow 250ms;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 10px 40px rgba(255, 255, 255, 0.18); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(5, 5, 6, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--muted); font-family: var(--mono); font-size: 0.8125rem;
}
.pill__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }
.pill__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 112px var(--margin) 88px;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 20%, transparent 72%);
  opacity: 0.35;
}
.sphere {
  position: absolute; left: 50%; top: 50%;
  width: min(104vh, 1060px, 140vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  cursor: grab; touch-action: pan-y;
}
.sphere:active { cursor: grabbing; }

.hero__text {
  position: relative; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 1200px;
}
.hero__text a, .hero__text .pill { pointer-events: auto; }
.hero__text::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 55%;
  width: 120%; height: 90%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(5, 5, 6, 0.35), transparent);
  filter: blur(10px);
}
.hero h1 {
  margin-top: 32px;
  font-size: var(--step-display); font-weight: 800;
  line-height: 0.88; letter-spacing: -0.065em;
  color: #fff;
  text-shadow: 0 0 50px rgba(255, 255, 255, 0.14), 0 2px 24px rgba(0, 0, 0, 0.7);
}
.hero h1 .line { display: block; }
.hero__lede { margin-top: 32px; max-width: 46ch; font-size: var(--step-lead); color: #d4d4d8; text-shadow: 0 0 12px #050506, 0 0 24px #050506, 0 0 4px #050506; }
.hero__actions { margin-top: 36px; }

.hero__foot {
  position: absolute; z-index: 3; left: var(--margin); right: var(--margin); bottom: 24px;
  display: flex; justify-content: space-between; gap: 16px; color: var(--faint);
}
.hero__foot a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav__home img { width: 120px; }
  .hero h1 { letter-spacing: -0.06em; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .sphere { top: 54%; }
}

/* Motion — hidden states only with JS and motion allowed */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); filter: blur(8px); animation: rise 1100ms var(--ease-out) forwards; }
  .js .hero h1[data-rise] { animation-delay: 150ms; }
  .js .hero__lede[data-rise] { animation-delay: 320ms; }
  .js .hero__actions[data-rise] { animation-delay: 450ms; }
  .js .hero__foot[data-rise] { animation-delay: 900ms; }
  .js .nav { opacity: 0; animation: fade 900ms ease 500ms forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .pill__dot::after { animation: none; }
}
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { to { opacity: 1; } }
