/* styles/hero.css */
/* ==========================================================================
   GLOBAL + NAV + HERO — Odiseus Talent
   ========================================================================== */

:root {
  --white: #ffffff;
  --off: #f7f7f5;
  --paper: #f2f1ee;
  --ink: #0a0a0f;
  --ink-2: #1c1c26;
  --mid: #6b6b7a;
  --light: #aeaebc;
  --border: #e4e4e8;
  --border-2: #d0d0d8;
  --blue: #1a4eff;
  --blue-dim: rgba(26, 78, 255, 0.08);
  --blue-mid: rgba(26, 78, 255, 0.15);
  --green: #00b86b;
  --orange: #ff6b1a;

  --nav-h: 82px;
  --page-x: 64px;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

/* ── Custom cursor: enabled only by JS on fine pointer devices ── */
.cursor {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 9999;
  pointer-events: none;
  display: none;
}

body.custom-cursor-enabled,
body.custom-cursor-enabled a,
body.custom-cursor-enabled button {
  cursor: none;
}

body.custom-cursor-enabled .cursor {
  display: block;
}

.c-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  transform: translate(-50%, -50%);
}

.c-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0.45;
  transition: width 0.12s ease, height 0.12s ease, opacity 0.12s ease;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--page-x);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  flex-shrink: 0;
}

.nav-logo-talent {
  font-style: italic;
  color: var(--blue);
}

.nav-center {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-center a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav-center a:hover,
.nav-center a.active {
  color: var(--blue);
  background: var(--blue-dim);
  border-color: var(--blue-mid);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 0 auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.nav-hamburger:hover,
.nav-hamburger.open {
  background: var(--off);
  border-color: var(--ink);
}

.nav-hamburger span {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.2s ease,
    width 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-sep {
  color: var(--border-2);
  font-size: 1rem;
  font-weight: 300;
  user-select: none;
  padding: 0 2px;
  line-height: 1;
  list-style: none;
}

.nav-drawer-cta {
  display: none;
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  z-index: 1;
}

.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--page-x) 60px;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 48px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  animation: rise 0.7s ease both;
}

.pill-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.pill-text {
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  color: var(--mid);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.4rem, 6.5vw, 7rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 940px;
  margin: 0 0 28px;
  text-wrap: balance;
  animation: rise 0.75s ease both 0.1s;
}

.hero-h1 .italic {
  font-style: italic;
  color: var(--blue);
  display: inline-block;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--mid);
  font-weight: 300;
  max-width: 600px;
  margin: 0 0 52px;
  text-wrap: balance;
  animation: rise 0.75s ease both 0.22s;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  animation: rise 0.75s ease both 0.32s;
}

.btn-dark,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  border-radius: 8px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
}

.btn-dark {
  font-weight: 600;
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.btn-outline {
  font-weight: 500;
  border: 1.5px solid var(--border-2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--off);
}

/* Stat bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  position: relative;
  z-index: 2;
  animation: rise 0.75s ease both 0.44s;
}

.hstat {
  padding: 32px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  background: rgba(255, 255, 255, 0.35);
}

.hstat-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}

.hstat-num span {
  color: var(--blue);
}

.hstat-label {
  font-size: 0.74rem;
  color: var(--mid);
  font-weight: 400;
}

.hstat-mono {
  font-family: "Geist Mono", monospace;
  font-size: 0.6rem;
  color: var(--blue);
  margin-top: 8px;
  opacity: 0.65;
}

/* ── ANIMATIONS ── */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
