/* ==========================================================================
   HIVE INC. — Site Styles
   Dark + light themes, hex marks, amber accents.
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg:           #080808;
  --bg-2:         #0e0e0e;
  --bg-3:         #141414;
  --surface:      #111111;
  --surface-2:    #171717;
  --line:         rgba(245, 242, 237, 0.08);
  --line-strong:  rgba(245, 242, 237, 0.18);
  --fg:           #F5F2ED;
  --fg-mid:       rgba(245, 242, 237, 0.72);
  --fg-dim:       rgba(245, 242, 237, 0.48);
  --amber:        #E8A020;
  --amber-bright: #F5B030;
  --amber-soft:   rgba(232, 160, 32, 0.14);
  --nav-bg:       rgba(8, 8, 8, 0.62);
  --shadow-lg:    0 30px 80px -20px rgba(0, 0, 0, 0.65);
}

[data-theme="light"] {
  --bg:           #FBFAF7;
  --bg-2:         #F4F2EC;
  --bg-3:         #ECEAE2;
  --surface:      #FFFFFF;
  --surface-2:    #F7F5EF;
  --line:         rgba(8, 8, 8, 0.08);
  --line-strong:  rgba(8, 8, 8, 0.18);
  --fg:           #0B0B0B;
  --fg-mid:       rgba(11, 11, 11, 0.72);
  --fg-dim:       rgba(11, 11, 11, 0.48);
  --amber:        #C9821A;
  --amber-bright: #E8A020;
  --amber-soft:   rgba(232, 160, 32, 0.16);
  --nav-bg:       rgba(251, 250, 247, 0.72);
  --shadow-lg:    0 30px 80px -20px rgba(20, 18, 12, 0.18);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Lenis smooth-scroll requirements */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--fg);
}
p { margin: 0 0 1em; color: var(--fg-mid); }

.container {
  width: 100%;
  max-width: 1786px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ---------- selection / scrollbar ---------- */
::selection { background: var(--amber); color: #080808; }

/* ==========================================================================
   NAVBAR — frosted glass, fixed top
   ========================================================================== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s ease, border-color .35s ease;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 28px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  font-weight: 700;
}
.nav-hex {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.6;
}
.nav-hex polygon + polygon { stroke: var(--amber-bright); }
.nav-wordmark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.nav-wordmark-dot { color: var(--amber); margin: 0 1px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--fg-mid);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--amber);
  color: #080808;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.nav-cta:hover {
  background: var(--amber-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(232, 160, 32, 0.6);
}

/* theme toggle */
.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--amber); background: var(--amber-soft); }
.theme-toggle .ti {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-theme="dark"] .theme-toggle .ti-sun { display: block; }
[data-theme="dark"] .theme-toggle .ti-moon { display: none; }
[data-theme="light"] .theme-toggle .ti-sun { display: none; }
[data-theme="light"] .theme-toggle .ti-moon { display: block; }

/* mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s;
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 32px 32px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .35s ease;
  }
  .site-nav.is-open .nav-menu { transform: translateY(0); }
  .nav-links { flex-direction: column; gap: 4px; margin-bottom: 16px; }
  .nav-links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-cta { width: 100%; justify-content: center; padding: 14px 22px; margin-top: 12px; }
  .theme-toggle { align-self: flex-start; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 264px 0 168px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, var(--amber-soft), transparent 60%),
    radial-gradient(700px 400px at 5% 110%, var(--amber-soft), transparent 60%);
  pointer-events: none;
}
.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: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--amber-soft);
  border: 1px solid rgba(232, 160, 32, 0.35);
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.25);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--fg-mid);
  max-width: 60ch;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 80px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--amber);
  color: #080808;
}
.btn-primary:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(232, 160, 32, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-bright); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  max-width: 720px;
}
.hero-stat { padding-right: 32px; }
.hero-stat + .hero-stat { padding-left: 32px; border-left: 1px solid var(--line); }
.hero-stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
@media (max-width: 768px) {
  .hero { padding: 192px 0 116px; }
  .hero-stats { grid-template-columns: 1fr; gap: 38px; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 38px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   SECTION SCAFFOLD
   ========================================================================== */
.section { padding: 192px 0; position: relative; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 768px) { .section { padding: 132px 0; } }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--amber);
}
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: 24px;
}
.section-title em { font-style: normal; color: var(--amber); }
.section-intro {
  font-size: 1.1rem;
  color: var(--fg-mid);
  max-width: 64ch;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 106px;
}

/* ==========================================================================
   VERTICALS
   ========================================================================== */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 1024px) { .verticals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .verticals-grid { grid-template-columns: 1fr; } }

.vertical-card {
  background: var(--bg);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: background .25s ease, transform .25s ease;
}
.vertical-card:hover { background: var(--bg-2); }
.vertical-card .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.vertical-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}
.vertical-card p {
  font-size: 0.95rem;
  color: var(--fg-mid);
  margin: 0;
  line-height: 1.65;
}
.vertical-card .v-icon {
  width: 44px; height: 44px;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-soft);
  border-radius: 12px;
  color: var(--amber);
}
.vertical-card .v-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   PORTFOLIO — venture cards
   ========================================================================== */
.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 58px;
  margin-bottom: 96px;
}
.portfolio-head .section-intro { margin-bottom: 0; }
@media (max-width: 900px) { .portfolio-head { flex-direction: column; align-items: flex-start; } }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .portfolio-grid { grid-template-columns: 1fr; } }

.venture-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}
.venture-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transform: scaleX(0);
  transition: transform .35s ease;
}
.venture-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 160, 32, 0.45);
  background: var(--surface-2);
}
.venture-card:hover::after { transform: scaleX(1); }

.venture-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.venture-mark {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-soft);
  border: 1px solid rgba(232, 160, 32, 0.35);
  border-radius: 12px;
  color: var(--amber);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
.venture-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--fg-mid);
}
.venture-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg-dim);
}
.venture-status.live      .dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
.venture-status.beta      .dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.18); }
.venture-status.building  .dot { background: #60A5FA; box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18); }
.venture-status.dev       .dot { background: #C084FC; box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.18); }
.venture-status.concept   .dot { background: var(--fg-dim); }

.venture-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 4px 0 0;
}
.venture-card .category {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}
.venture-card p.venture-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fg-mid);
  margin: 0;
  flex: 1;
}
.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--amber);
  transition: color .2s, gap .2s;
}
.venture-link:hover { color: var(--amber-bright); gap: 10px; }
.venture-link .arrow { font-size: 0.9em; }

/* ==========================================================================
   FOUR PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 40px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 160, 32, 0.45);
}
.pillar-letter {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--amber-soft);
  line-height: 1;
  pointer-events: none;
}
[data-theme="light"] .pillar-letter { color: rgba(232, 160, 32, 0.18); }
.pillar h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  position: relative;
}
.pillar h3 span { color: var(--amber); }
.pillar p {
  font-size: 0.95rem;
  color: var(--fg-mid);
  margin: 0;
  position: relative;
}

/* ==========================================================================
   METRICS STRIP
   ========================================================================== */
.metrics {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 116px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
@media (max-width: 900px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .metrics-grid { grid-template-columns: 1fr; } }
.metric-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ==========================================================================
   OPERATING PRINCIPLES
   ========================================================================== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 900px) { .principles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .principles-grid { grid-template-columns: 1fr; } }

.principle {
  background: var(--bg);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s ease;
}
.principle:hover { background: var(--bg-2); }
.principle .p-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 4px;
}
.principle h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.principle p {
  font-size: 0.94rem;
  color: var(--fg-mid);
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta {
  padding: 192px 0;
  position: relative;
  overflow: hidden;
}
.cta-card {
  position: relative;
  background:
    radial-gradient(600px 300px at 80% -20%, var(--amber-soft), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 116px 96px;
  text-align: center;
  overflow: hidden;
}
.cta-card::before,
.cta-card::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.5;
}
.cta-card::before { top: -80px; left: -80px; }
.cta-card::after  { bottom: -120px; right: -120px; width: 420px; height: 420px; }
.cta-card h2 {
  position: relative;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-card h2 em { font-style: normal; color: var(--amber); }
.cta-card p {
  position: relative;
  font-size: 1.1rem;
  color: var(--fg-mid);
  max-width: 56ch;
  margin: 0 auto 36px;
  font-weight: 300;
}
.cta-actions {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
@media (max-width: 768px) { .cta-card { padding: 68px 34px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 132px 0 58px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 78px;
  padding-bottom: 86px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-tag {
  font-size: 0.95rem;
  color: var(--fg-mid);
  max-width: 38ch;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 22px;
}
.footer-mail {
  display: inline-block;
  color: var(--amber);
  font-weight: 500;
  border-bottom: 1px solid rgba(232, 160, 32, 0.4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.footer-mail:hover { color: var(--amber-bright); border-color: var(--amber-bright); }

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--fg-mid);
  font-size: 0.92rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fg-dim);
}
.footer-legal {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.footer-legal a {
  font-size: 0.85rem;
  color: var(--fg-dim);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--amber); }

/* ==========================================================================
   ENTRANCE-ANIMATION INITIAL STATES
   Everything that JS+anime.js will animate in starts at opacity:0.
   The JS observers (hive.js) hide and reveal these as they enter the
   viewport, using anime.js timelines with stagger.
   ========================================================================== */
.js .reveal,
.js .venture-card,
.js .pillar,
.js .vertical-card,
.js .principle,
.js .metrics-grid > div,
.js .footer-brand,
.js .footer-col,
.js .cta-card {
  opacity: 0;
  will-change: opacity, transform;
}

/* hero hex grid parallax is now handled by GSAP ScrollTrigger (see hive.js) */

/* ---- Reduced motion: instant reveal of everything ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .venture-card,
  .js .pillar,
  .js .vertical-card,
  .js .principle,
  .js .metrics-grid > div,
  .js .footer-brand,
  .js .footer-col,
  .js .cta-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .hero-grid { animation: none; }
}

/* ==========================================================================
   SCROLL PROGRESS BAR (top of page)
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-bright));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 2000;
  pointer-events: none;
  box-shadow: 0 0 16px rgba(232, 160, 32, 0.5);
}
/* scroll-progress scaleX is driven by GSAP ScrollTrigger (see hive.js) */

/* ==========================================================================
   NAV HEX LOGO — stroke draw on load + slow continuous spin on scroll
   ========================================================================== */
.nav-hex polygon {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: hex-draw 1.6s ease-out 0.1s forwards;
}
.nav-hex polygon:nth-child(2) { animation-delay: 0.45s; }
@keyframes hex-draw {
  to { stroke-dashoffset: 0; }
}
/* nav-hex rotation is driven by GSAP ScrollTrigger (see hive.js) */

/* ==========================================================================
   MARQUEE TICKER — between hero and verticals
   ========================================================================== */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg-2);
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 50s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.ticker-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.ticker-dot { color: var(--amber); font-size: 1.3rem; }
.ticker-domain {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.ticker-sep {
  color: var(--amber);
  font-size: 1.2rem;
  opacity: 0.55;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION DECO — big background numerals + floating hex SVGs
   ========================================================================== */
.section.has-deco {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hive-bignum-y: 0px;
  --hive-bignum-opacity: 0.6;
}
.section.has-deco::before {
  content: attr(data-bignum);
  position: absolute;
  top: 40px;
  right: -2vw;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(10rem, 22vw, 26rem);
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--amber-soft);
  text-stroke: 2px var(--amber-soft);
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
  transform: translateY(var(--hive-bignum-y));
  opacity: var(--hive-bignum-opacity);
}
[data-theme="light"] .section.has-deco::before {
  -webkit-text-stroke-color: rgba(232, 160, 32, 0.18);
}
.section.has-deco > .container { position: relative; z-index: 1; }

.section-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.deco-hex {
  position: absolute;
  fill: none;
  stroke: var(--amber);
  stroke-width: 0.6;
  opacity: 0.18;
}
.deco-hex-1 { width: 220px; height: 220px; top: 12%;  left: -40px; }
.deco-hex-2 { width: 380px; height: 380px; top: 50%;  right: 6%; }
.deco-hex-3 { width: 140px; height: 140px; bottom: 8%; left: 38%; }

/* big numerals + deco hexes are now parallaxed by GSAP ScrollTrigger
   (see hive.js — `data-speed`-style scrub tweens). The CSS native scroll-
   driven path is removed because its scroll-progress mapping was causing
   the snap-to-end bug. */

/* ==========================================================================
   STATUS PILL DOTS — continuous pulse for live/beta
   ========================================================================== */
.venture-status.live .dot,
.venture-status.beta .dot {
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.7; }
}

/* ==========================================================================
   CTA RINGS — slow continuous spin
   ========================================================================== */
.cta-card { isolation: isolate; }
.cta-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 120%;
  height: auto;
  aspect-ratio: 1;
  color: var(--amber);
  opacity: 0.35;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: ring-spin 60s linear infinite;
}
.cta-ring-2 {
  width: 88%;
  opacity: 0.5;
  animation: ring-spin-rev 40s linear infinite;
}
@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes ring-spin-rev {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
.cta-card > h2,
.cta-card > p,
.cta-card > .cta-actions {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HERO H1 — per-word spans get this style after JS splits the headline.
   ========================================================================== */
.js .hero h1 .word {
  display: inline-block;
  transform-origin: bottom left;
  will-change: opacity, transform;
}

/* ==========================================================================
   GRID 3D PERSPECTIVE — gives the JS-driven card flips real 3D depth
   ========================================================================== */
.portfolio-grid,
.pillars-grid,
.verticals-grid,
.principles-grid {
  perspective: 1800px;
}

/* ==========================================================================
   SECTION DIVIDER LINES — draw in horizontally as section enters
   ========================================================================== */
.section + .section,
.metrics + .section {
  position: relative;
}
.section + .section::before,
.metrics + .section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}
/* section divider lines are static now; GSAP scrub on the section title
   provides the in-motion accent */

/* ==========================================================================
   HERO STATS — number color shimmer
   ========================================================================== */
.hero-stat-num,
.metric-num {
  background: linear-gradient(180deg, var(--amber-bright) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* footer-li entrance animations are now handled by JS+anime.js (hive.js) */

/* ==========================================================================
   NAV LOAD-IN — these are time-based, not scroll-based, so they work
   regardless of CSS scroll-driven support
   ========================================================================== */
@keyframes hive-nav-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hive-nav-pop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}
.js .nav-links li {
  animation: hive-nav-rise 0.7s ease-out both;
}
.js .nav-links li:nth-child(1) { animation-delay: 0.4s; }
.js .nav-links li:nth-child(2) { animation-delay: 0.5s; }
.js .nav-links li:nth-child(3) { animation-delay: 0.6s; }
.js .theme-toggle { animation: hive-nav-pop 0.6s ease-out 0.7s both; }
.js .nav-cta      { animation: hive-nav-rise 0.7s ease-out 0.8s both; }

/* ticker scroll-parallax is driven by GSAP ScrollTrigger (see hive.js) */

/* ==========================================================================
   CONTINUOUS BACKGROUND — subtle floating glows behind content
   These are always running, no scroll required.
   ========================================================================== */
.section.has-deco::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-soft) 0%, transparent 70%);
  top: 30%;
  left: -200px;
  z-index: 0;
  pointer-events: none;
  animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  0%   { transform: translate(0, 0); opacity: 0.6; }
  50%  { transform: translate(120px, -80px); opacity: 1; }
  100% { transform: translate(60px, 100px); opacity: 0.7; }
}

/* ==========================================================================
   HOVER STATES — extra liveliness on cards
   ========================================================================== */
.venture-card .venture-mark { transition: transform 0.4s ease, background 0.3s ease; }
.venture-card:hover .venture-mark {
  transform: rotate(15deg) scale(1.1);
  background: var(--amber);
  color: #080808;
}
.pillar { transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease; }
.pillar:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px -20px rgba(232, 160, 32, 0.25);
}
.vertical-card .v-icon { transition: transform 0.4s ease; }
.vertical-card:hover .v-icon {
  transform: rotate(10deg) scale(1.15);
}
.principle { transition: background 0.3s ease, transform 0.3s ease; }
.principle:hover { transform: translateX(6px); }

