*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0c0c0c;
  --off-black: #141414;
  --surface: #1e1e1e;
  --border: #2a2a2a;
  --border-mid: #3a3a3a;
  --white: #f0eeea;
  --white-dim: #999;
  --white-dimmer: #666;
  --accent: #d4c9a8;
  --accent-dim: #6b6252;
  --accent-glow: rgba(212, 201, 168, 0.12);
  --nav-bg: rgba(12, 12, 12, 0.88);
}

[data-theme="light"] {
  --black: #f0eeea;
  --off-black: #e6e4df;
  --surface: #dcdad5;
  --border: #d0ceca;
  --border-mid: #b0aeaa;
  --white: #0c0c0c;
  --white-dim: #555;
  --white-dimmer: #777;
  --accent: #8b7d57;
  --accent-dim: #a69b7a;
  --accent-glow: rgba(139, 125, 87, 0.15);
  --nav-bg: rgba(240, 238, 234, 0.88);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Syne", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
}

::selection {
  background: var(--accent);
  color: var(--black);
}

/* â”€â”€ CUSTOM CURSOR â”€â”€ */
#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    transform 0.08s ease,
    width 0.2s ease,
    height 0.2s ease,
    background 0.2s,
    opacity 0.3s ease;
  will-change: transform;
}
#cursor-dot.active {
  opacity: 1;
}
#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    transform 0.18s ease,
    width 0.3s ease,
    height 0.3s ease,
    opacity 0.3s ease;
  will-change: transform;
}
#cursor-ring.active {
  opacity: 1;
}
body:has(a:hover) #cursor-ring.active,
body:has(button:hover) #cursor-ring.active {
  width: 56px;
  height: 56px;
  opacity: 0.6;
}

/* â”€â”€ SCROLL PROGRESS â”€â”€ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  width: 0%;
  z-index: 200;
  transition: width 0.05s linear;
}

/* â”€â”€ PARTICLE CANVAS â”€â”€ */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* â”€â”€ NAV â”€â”€ */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 54px;
  width: calc(100% - 64px);
  max-width: 1300px;
  border-radius: 14px;
  border: 1px solid rgba(212, 201, 168, 0.4);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 12px rgba(212, 201, 168, 0.1);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.3s, background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: var(--nav-bg);
  opacity: 0.8;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}
[data-theme="light"] nav.scrolled {
  background: rgba(240, 238, 234, 0.5);
}
nav:hover {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 900px) {
  nav {
    height: 64px;
    top: 12px;
    padding: 0 20px;
  }

  .nav-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .nav-tagline {
    padding-left: 0;
    font-size: 10px;
    opacity: 0.7;
    margin-top: -2px;
  }

  .nav-tagline::before {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-tagline {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.5px;
  opacity: 0.9;
  position: relative;
  padding-left: 12px;
  transition: color 0.3s, opacity 0.3s;
}

.nav-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--border-mid);
}
.nav-logo-text {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 0;
}
.hex-inline {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  color: var(--white-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  display: none; /* Hide old underline */
}

.nav-underline {
  position: absolute;
  bottom: 8px; /* Moved up just below text */
  left: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  opacity: 0;
  border-radius: 1px;
}
.nav-underline.active {
  opacity: 1;
}

.nav-links a:hover {
  color: var(--white);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative;
  border-bottom: 1px solid var(--border);
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: "DM Mono", monospace;
}

neutral-case {
  text-transform: none;
  color: var(--white);
  font-size: 13px;
}

.hero-headline {
  font-family: "DM Serif Display", serif;
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 32px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  color: var(--white-dim);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* â”€â”€ MAGNETIC BUTTONS â”€â”€ */
.btn-primary {
  padding: 13px 28px;
  background: var(--white);
  color: var(--black);
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: none;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s ease,
    box-shadow 0.2s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}
.btn-primary:hover::before {
  transform: translateX(0);
}
.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(212, 201, 168, 0.2);
}

.btn-secondary {
  padding: 13px 28px;
  background: transparent;
  color: var(--white-dim);
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-mid);
  cursor: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.15s ease;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--white-dim);
  color: var(--white);
}

.hero-tagline {
  position: absolute;
  bottom: 80px;
  right: 48px;
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 1px;
  opacity: 0.75;
}

/* â”€â”€ MARQUEE STRIP â”€â”€ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-black);
  padding: 14px 0;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--white-dimmer);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 40px;
}
.marquee-item span {
  color: var(--accent);
  margin: 0 8px;
}

/* ── MARQUEE CLONES ── */
.marquee-clone {
  display: none !important;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* â”€â”€ SECTION SHARED â”€â”€ */
section {
  padding: clamp(64px, 10vw, 120px) 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.8;
}

.section-label::after {
  content: "";
  display: block;
  height: 1px;
  width: 48px;
  background: var(--accent-dim);
}

.section-headline {
  font-family: "DM Serif Display", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 20px;
}

.section-headline em {
  font-style: italic;
  color: var(--accent);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.visible:nth-child(2) { transition-delay: 0.1s; }
.reveal.visible:nth-child(3) { transition-delay: 0.2s; }

/* â”€â”€ ORIGIN â”€â”€ */
#story .story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
  align-items: start;
}

.story-body {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
}

.story-body p + p {
  margin-top: 20px;
}

.stats-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 0;
}

.stat-cell {
  background: var(--off-black);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s;
}
.stat-cell:hover {
  background: var(--surface);
}

.stat-num {
  font-family: "DM Serif Display", serif;
  font-size: 52px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  transition: color 0.3s;
}
.stat-cell:hover .stat-num {
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--white-dimmer);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "DM Mono", monospace;
}

/* â”€â”€ ABOUT â”€â”€ */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
}

.about-block {
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 36px;
  transition:
    border-color 0.3s,
    background 0.3s;
  position: relative;
  overflow: hidden;
}
.about-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}
.about-block:hover::before {
  height: 100%;
}
.about-block:hover {
  border-color: var(--border-mid);
  background: var(--off-black);
}

.about-block h3 {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: "DM Mono", monospace;
}

.about-block p {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
}

/* â”€â”€ PRODUCTS â”€â”€ */
#products .products-intro {
  max-width: 560px;
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 56px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.product-card {
  background: var(--off-black);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    background 0.25s,
    transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.product-card:hover::after {
  transform: scaleX(1);
}

.product-card:hover {
  background: var(--surface);
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-num {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--white-dimmer);
  letter-spacing: 0.1em;
}

.product-tag {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  padding: 3px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-live {
  border: 1px solid #2a4a2a;
  color: #6aba6a;
  background: rgba(10, 24, 10, 0.4);
}

.tag-research {
  border: 1px solid #3a3020;
  color: #9a8050;
  background: rgba(20, 16, 10, 0.4);
}

.product-name {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.product-desc {
  font-size: 14.5px;
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.85;
  flex: 1;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-desc {
  opacity: 1;
}

.product-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.product-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 2px;
  transition:
    border-color 0.2s,
    color 0.2s;
  cursor: none;
}

.product-link:hover {
  border-color: var(--accent);
}

.product-link-dim {
  font-size: 11px;
  font-weight: 500;
  color: var(--white-dimmer);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
  cursor: none;
}

.product-link-dim:hover {
  color: var(--white-dim);
  border-color: var(--white-dimmer);
}

/* â”€â”€ TEAM â”€â”€ */
#team {
  overflow: hidden;
}
#team .team-intro {
  max-width: 600px;
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 72px;
}

/* Outer wrapper: centered, houses the spine + row grid */
.team-grid-wrap {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

/* The single glowing vertical spine, dead center */
.team-grid-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--border-mid) 4%,
    var(--accent-dim) 18%,
    var(--accent-dim) 82%,
    var(--border-mid) 96%,
    transparent 100%
  );
  z-index: 0;
}

/* Each row holds exactly 2 cards + the center dot */
.team-row {
  display: grid;
  grid-template-columns: 1fr 64px 1fr; /* widening spine area slightly */
  align-items: center;
  gap: 0;
  padding: 24px 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-row.tl-visible {
  opacity: 1;
  transform: none;
}
.team-row-center {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 24px;
}
.team-row-center .team-card {
  max-width: 480px;
}

/* Center node column */
.team-spine-node {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
}
.team-spine-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--off-black);
  border: 1px solid var(--accent-dim);
  transition:
    background 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.team-row:hover .team-spine-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
  box-shadow:
    0 0 0 5px rgba(212, 201, 168, 0.08),
    0 0 20px rgba(212, 201, 168, 0.15);
}

/* Left cell: card aligned to the right (towards spine) */

.team-cell-left {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
  position: relative;
}
.team-cell-left::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid));
  transform: translateY(-50%);
  transition:
    background 0.3s,
    box-shadow 0.3s;
  z-index: 0;
}
.team-row:hover .team-cell-left::after {
  background: linear-gradient(90deg, var(--border), var(--accent));
  box-shadow: inset 0 0 4px var(--accent-glow);
}

/* Right cell: card aligned to the left (towards spine) */
.team-cell-right {
  display: flex;
  justify-content: flex-start;
  padding-left: 40px;
  position: relative;
}
.team-cell-right::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -32px;
  width: 72px;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--border-mid));
  transform: translateY(-50%);
  transition:
    background 0.3s,
    box-shadow 0.3s;
  z-index: 0;
}
.team-row:hover .team-cell-right::after {
  background: linear-gradient(270deg, var(--border), var(--accent));
  box-shadow: inset 0 0 4px var(--accent-glow);
}

/* Individual card */
.team-card {
  width: 100%;
  max-width: 380px;
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  cursor: default;
}
/* Accent sweep bar at bottom */
.team-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover::after {
  transform: scaleX(1);
}
.team-card:hover {
  border-color: var(--border-mid);
  background: var(--surface);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Card top row: avatar + name/title + badge */
.team-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.team-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: 0.03em;
  flex-shrink: 0;
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.team-card:hover .team-avatar {
  border-color: var(--accent);
  color: var(--accent);
  background: #12100a;
  box-shadow: 0 0 0 3px rgba(212, 201, 168, 0.07);
}
.team-card-meta {
  flex: 1;
  min-width: 0;
}
.team-name {
  font-family: "DM Serif Display", serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.2px;
  line-height: 1.2;
  margin-bottom: 3px;
  transition: color 0.25s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-card:hover .team-name {
  color: var(--accent);
}
.team-title {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  color: var(--white-dimmer);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.team-badge {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  border: 1px solid #2e2a1e;
  padding: 3px 8px;
  background: #13110a;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  transition:
    color 0.25s,
    border-color 0.25s;
}
.team-card:hover .team-badge {
  color: var(--accent);
  border-color: var(--accent-dim);
}
.team-badge.badge-founder {
  color: #c8bc96;
  border-color: #4a3e28;
  background: #0e0d09;
}

/* Hover description — smooth reveal */
.team-desc {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.65;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.38s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease;
}
.team-card:hover .team-desc {
  max-height: 72px;
  opacity: 1;
  margin-top: 12px;
}

/* Social links — fade up on hover */
.team-socials {
  display: flex;
  gap: 10px;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s ease 0.05s,
    opacity 0.3s ease 0.06s,
    margin-top 0.3s ease,
    padding-top 0.3s ease,
    border-color 0.3s ease;
}
.team-card:hover .team-socials {
  max-height: 40px;
  opacity: 1;
  margin-top: 10px;
  padding-top: 10px;
  border-color: var(--border);
}
.team-social-link {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dimmer);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  cursor: none;
}
.team-social-link:hover {
  color: var(--accent);
}
.team-social-link svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .team-grid-wrap::before {
    display: none;
  }
  .team-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }
  .team-spine-node {
    display: none;
  }
  .team-cell-left,
  .team-cell-right {
    padding: 0;
    justify-content: stretch;
  }
  .team-card {
    max-width: 100%;
  }
}

.team-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 32px;
}

/* Central glowing spine */
.team-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--border-mid) 6%,
    var(--accent-dim) 30%,
    var(--accent-dim) 70%,
    var(--border-mid) 94%,
    transparent 100%
  );
}

.team-entry {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  margin-bottom: 0;
  /* odd = left side, even = right side */
}

/* LEFT entries */
.team-entry:nth-child(odd) {
  flex-direction: row;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* RIGHT entries */
.team-entry:nth-child(even) {
  flex-direction: row-reverse;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-entry.tl-visible {
  opacity: 1;
  transform: none;
}

/* Card container takes up one half */
.team-card-wrap {
  width: calc(50% - 36px);
  flex-shrink: 0;
}

.team-card {
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
  cursor: default;
}
.team-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.team-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.team-name {
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.3px;
  line-height: 1.2;
  transition: color 0.25s;
}

.team-badge {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  border: 1px solid #2e2a1e;
  padding: 3px 9px;
  background: #13110a;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    color 0.25s,
    border-color 0.25s;
}

.team-badge.badge-founder {
  color: #c8bc96;
  border-color: #4a3e28;
  background: #0e0d09;
}

.team-title {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--white-dimmer);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* Central node (dot on the spine) */
.team-node {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: var(--off-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: 0.03em;
  z-index: 1;
  position: relative;
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}

/* Connector line from card edge to node */
.team-connector {
  flex-shrink: 0;
  height: 1px;
  width: 24px;
  background: var(--border);
  transition: background 0.3s;
}

@media (max-width: 900px) {
  .team-timeline {
    max-width: 100%;
  }
  .team-timeline::before {
    left: 22px;
  }
  .team-entry:nth-child(odd),
  .team-entry:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
    opacity: 0;
    transform: translateX(-20px);
  }
  .team-card-wrap {
    width: calc(100% - 100px);
  }
  .team-node {
    width: 44px;
  }
  .team-connector {
    width: 16px;
  }
  .team-badge {
    display: none;
  }
}

/* â”€â”€ CONTACT â”€â”€ */
#contact {
  background: var(--off-black);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-headline {
  font-family: "DM Serif Display", serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-email {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 4px;
  transition:
    border-color 0.2s,
    letter-spacing 0.3s;
  cursor: none;
}

.contact-email:hover {
  border-color: var(--accent);
  letter-spacing: 0.02em;
}

/* ── CONTACT FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 12px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s, background 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(212, 201, 168, 0.05);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background: var(--accent);
  color: var(--black);
  border: none;
  padding: 14px 28px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: max-content;
  transition: transform 0.3s, background 0.3s;
  cursor: none;
}

.btn-submit:hover {
  background: #e5dac0;
  transform: translateY(-2px);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s ease;
}

.contact-link-row:hover {
  padding-left: 8px;
}

.contact-link-row:first-child {
  border-top: 1px solid var(--border);
}

.contact-link-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-link-val {
  font-size: 13px;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s;
  cursor: none;
}

.contact-link-val:hover {
  color: var(--white);
}

/* â”€â”€ VENTURES / SUBSIDIARIES â”€â”€ */
#ventures .ventures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.venture-card {
  background: var(--off-black);
  padding: 48px 40px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  cursor: none;
}

.venture-card:hover {
  background: var(--surface);
}

.venture-card::after {
  content: "→";
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 20px;
  color: var(--white-dimmer);
  transition:
    color 0.2s,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.venture-card:hover::after {
  color: var(--accent);
  transform: translate(4px, -4px);
}

.venture-num {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.venture-name {
  font-family: "DM Serif Display", serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -1px;
  transition: color 0.3s;
}
.venture-card:hover .venture-name {
  color: var(--accent);
}

.venture-desc {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 360px;
}

.venture-cta {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: auto;
}

.venture-card.coming-soon {
  opacity: 0.45;
  pointer-events: none;
}

.venture-card.coming-soon::after {
  content: "Soon";
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: "DM Mono", monospace;
}

/* ── FOOTER (Permanently Dark) ── */
footer {
  background: #0c0c0c !important;
  color: #f0eeea !important;
  padding: 80px 48px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  border-top: 1px solid #2a2a2a;
  position: relative;
  z-index: 1;
}

footer * {
  color: inherit !important;
}

footer a {
  color: #999 !important;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #d4c9a8 !important;
}

footer h4 {
  color: #d4c9a8 !important;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-text {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f0eeea !important;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.footer-tagline {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 14px;
  color: #d4c9a8 !important;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.footer-desc {
  font-size: 12px;
  color: #666 !important;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #d4c9a8 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.75;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: #999 !important;
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
  cursor: none;
  display: inline-block;
}

.footer-col a:hover {
  color: #f0eeea !important;
  padding-left: 6px;
}

.footer-bottom {
  background: #0c0c0c !important;
  padding: 24px 48px;
  border-top: 1px solid #1e1e1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  color: #666 !important;
}

.footer-bottom * {
  color: inherit !important;
}

.footer-copy {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--white-dimmer);
  letter-spacing: 0.06em;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--white-dimmer);
  letter-spacing: 0.08em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px #4ade80;
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 3px #4ade80;
  }
}

/* â”€â”€ ANIMATIONS â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: none;
}

/* â”€â”€ HERO ENTRANCE â”€â”€ */
.hero-eyebrow {
  animation: fadeUp 0.8s 0.1s both ease;
}

.hero-headline {
  animation: fadeUp 0.9s 0.25s both ease;
}

.hero-sub {
  animation: fadeUp 0.8s 0.4s both ease;
}

.hero-ctas {
  animation: fadeUp 0.8s 0.55s both ease;
}

.hero-tagline {
  animation: fadeUp 0.7s 0.7s both ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── SECTION SCROLL HINTS ── */
.scroll-hint, .hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s both ease;
  z-index: 10;
  cursor: pointer;
}
.scroll-hint span, .hero-scroll-hint span {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  opacity: 0.8;
}
.scroll-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: arrow-float 2s ease-in-out infinite;
}
@keyframes arrow-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Position for sectional hints */
.scroll-hint {
  bottom: 24px;
  opacity: 1; /* Always visible for sections */
  animation: none;
}

/* â”€â”€ VALUE STRIP (replaces marquee) â”€â”€ */
.value-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-black);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.value-item {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s;
}
.value-item:last-child {
  border-right: none;
}
.value-item:hover {
  background: var(--surface);
}
.value-num {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.value-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--white-dimmer);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.value-sub {
  font-size: 12px;
  color: var(--accent-dim);
  line-height: 1.5;
  margin-top: 2px;
}

/* â”€â”€ HOVER LINE LINK â”€â”€ */
a {
  cursor: none;
}

/* ── RESPONSIVE OVERHAUL (900px) ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 0 24px 64px; }
  section { padding: 72px 24px; }
  
  footer {
    padding: 48px 24px 32px;
    grid-template-columns: 1fr;
    background: #0c0c0c !important;
  }
  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
    background: #0c0c0c !important;
  }

  .story-grid, .about-grid, .contact-inner, .ventures-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .value-strip { grid-template-columns: 1fr 1fr; }

  /* ── PREMIUM INTERACTIVE MARQUEES ── */
  #about, #products, #ventures, #team, #story, #contact {
    overflow: hidden;
    position: relative;
    padding-left: 32px;
    padding-right: 32px;
  }
  
  .marquee-clone {
    display: flex !important;
  }
  
  .products-grid, .ventures-grid, .team-grid-wrap, .about-grid {
    display: inline-flex !important;
    gap: 20px;
    padding: 0 32px 32px;
    margin-inline: -32px;
    width: max-content;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
  }
  .products-grid::-webkit-scrollbar, 
  .ventures-grid::-webkit-scrollbar, 
  .team-grid-wrap::-webkit-scrollbar,
  .about-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card, .venture-card, .team-card, .about-block {
    flex: 0 0 82vw; /* Peeking through to show more exists */
    scroll-snap-align: center;
    min-height: max-content;
    opacity: 1 !important; /* Force visibility for marquee items */
    transform: none !important; /* Prevent reveal animations from hiding marquee items */
    visibility: visible !important;
  }

  /* Flatten Team rows for Marquee */
  .team-row { display: contents; }
  .team-cell-left, .team-cell-right { display: contents; }
  .team-spine-node { display: none; }
  .team-grid-wrap::before { display: none !important; }

  /* Mobile Team Bio Visibility */
  .team-desc {
    max-height: none !important;
    opacity: 1 !important;
    display: block !important;
    margin-top: 12px !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: var(--white-dim) !important;
    transition: none !important;
  }

  .hero-tagline { display: none; }
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
  a, .btn-primary, .btn-secondary { cursor: pointer; }
}

/* ── PHONE REFINEMENT (600px) ── */
@media (max-width: 600px) {
  .hero {
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
  }
  .hero-headline { font-size: clamp(40px, 12vw, 52px); }
  .hero-visual {
    width: 200%; height: 200%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    z-index: 0;
  }
}

/* ── SECTION INDICATOR (SCROLLSPY) ── */
.section-indicator {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  pointer-events: none;
}
.section-indicator.active {
  opacity: 1;
  visibility: visible;
}
.indicator-bar {
  width: 2px;
  height: 24px;
  background: var(--border-mid);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.indicator-bar.current {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  height: 48px;
}
@media (max-width: 900px) {
  .section-indicator {
    display: none;
  }
}

/* ── TYPEWRITER ANIMATIONS ── */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.typewriter-cursor-loop::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s step-start infinite;
}
.typewriter-cursor::after {
  content: "|";
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  opacity: 0.5;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
#sentient-canvas {
  width: 100%;
  height: 100%;
  filter: blur(0px) contrast(1.1);
  opacity: 0.8;
  mix-blend-mode: screen;
}
[data-theme="light"] #sentient-canvas {
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.sentient-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 60px rgba(212, 201, 168, 0.15)) contrast(1.1);
  animation: float 8s ease-in-out infinite;
  transition: mix-blend-mode 0.3s, opacity 0.3s;
}

[data-theme="light"] .sentient-hero-img {
  mix-blend-mode: multiply;
  opacity: 0.4;
}

.nav-links a {
  transition:
    color 0.3s,
    text-shadow 0.3s !important;
}
.nav-links a.nav-active {
  color: var(--accent) !important;
  text-shadow: 0 0 10px rgba(212, 201, 168, 0.4);
}

/* ── THEME TOGGLE ── */
.theme-btn {
  background: transparent;
  border: none;
  color: var(--white-dim);
  cursor: none;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, transform 0.2s;
  margin-left: 16px;
}
.theme-btn:hover {
  color: var(--accent);
  transform: rotate(15deg);
}
.theme-icon {
  width: 20px;
  height: 20px;
}
.theme-icon.moon {
  display: block;
}
.theme-icon.sun {
  display: none;
}
[data-theme="light"] .theme-icon.moon {
  display: none;
}
[data-theme="light"] .theme-icon.sun {
  display: block;
}

@media (max-width: 600px) {
  .hero {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    min-height: 100vh;
  }
  .hero-content {
    width: 100%;
    margin-bottom: 0;
  }
  .hero-headline {
    font-size: clamp(40px, 12vw, 52px);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .stat-num {
    font-size: 36px;
  }
  .product-name {
    font-size: 24px;
  }
  .section-headline {
    font-size: 28px;
  }
  .hero-visual {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
  }
}

/* ── UTILS ── */
.overflow-hidden { overflow: hidden; }

@keyframes float {
  0% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) scale(1.02) rotate(2deg);
  }
  100% {
    transform: translateY(0px) scale(1) rotate(0deg);
  }
}
