/* OVERTAKE LABS — landing v4 (light/orange — palette pulled from Spline scene) */
:root {
  --bg-primary: #F2F0EB;
  --bg-deep: #E8E5DE;
  --bg-soft: #FAFAF7;
  --bg-accent: #1A1A1A;
  --bg-accent-2: #0A0A0A;
  --brand-orange: #FF5A1F;
  --brand-orange-soft: #FF8A4A;
  --brand-blue: #1A1A1A; /* "accent" alias used in legacy markup → mapped to ink */
  --brand-blue-deep: #000000;
  --brand-violet: #FF5A1F;
  --brand-accent: #FF5A1F;
  --text-primary: #0A0A0A;
  --text-secondary: #2A2A2A;
  --text-muted: #6E6A60;
  --text-faint: #B3B0A8;
  --border-subtle: #D8D4CC;
  --border-soft: #E4E1D9;
  --ink: #0A0A0A;
  --shadow-color: rgba(20, 18, 12, 0.08);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad-y: clamp(96px, 14vw, 180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-primary); }
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: backdrop-filter .25s ease, background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(242, 240, 235, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-fullmark { height: 28px; width: auto; display: block; }
@media (max-width: 600px) {
  .brand-fullmark { height: 22px; }
}
.brand-tile::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 47%, var(--brand-orange) 47%, var(--brand-orange) 53%, transparent 53%),
    linear-gradient(135deg, transparent 68%, #FFFFFF 68%, #FFFFFF 73%, transparent 73%);
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.brand-mark .dot { color: var(--brand-orange); }

.nav-links {
  display: flex; gap: 28px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand-orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease, gap .2s ease;
}
.nav-cta:hover { background: var(--brand-orange); gap: 14px; }
.nav-cta .arrow { transition: transform .2s ease; }

.nav-menu-btn { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu-btn {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border-subtle);
    color: var(--ink);
    border-radius: 999px;
    background: var(--bg-soft);
  }
}

.mobile-menu {
  position: fixed;
  inset: 80px 0 0 0;
  background: var(--bg-primary);
  z-index: 49;
  padding: 32px var(--gutter);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { border-bottom: 1px solid var(--border-subtle); }
.mobile-menu a {
  display: block;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mobile-menu .mm-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  padding: 16px 26px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-primary);
}
@media (max-width: 900px) {
  .hero { aspect-ratio: 4 / 5; max-height: 100svh; min-height: 560px; }
}
.hero-spline {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-primary);
  pointer-events: auto;
}
.hero-spline canvas, .hero-spline spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent !important;
  --background: transparent;
}
/* Spline scene background unifier — disabled (was washing out the scene) */
.hero-spline::after {
  content: none;
}
.spline-wm-mask {
  display: none;
}
.hero-fallback {
  position: absolute; inset: 0;
  background: var(--bg-deep);
  display: none;
}
.hero-grain, .hero-vignette { display: none; }
.hero-canvas { display: none; }

.hero-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: clamp(80px, 12vh, 140px);
  padding-top: 96px;
  pointer-events: none;
  gap: 28px;
}
.hero-content > * { pointer-events: auto; }
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 12vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--ink);
  max-width: 100%;
  text-wrap: balance;
}
.hero-h1 .accent { color: var(--brand-orange); }
.hero-sub {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--text-secondary);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
  padding: 8px 14px;
  background: rgba(242, 240, 235, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  width: fit-content;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 0 rgba(255,90,31,0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255,90,31,0.7); }
  70%  { box-shadow: 0 0 0 14px rgba(255,90,31,0); }
  100% { box-shadow: 0 0 0 0   rgba(255,90,31,0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 9.5vw, 152px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
  text-align: center;
  mix-blend-mode: normal;
  text-shadow: 0 2px 24px rgba(242,240,235,0.4);
}
.hero h1 .accent {
  color: var(--brand-orange);
  -webkit-text-fill-color: var(--brand-orange);
}
.hero-sub {
  margin-top: 14px;                                  /* tighter gap from headline */
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-secondary);
  line-height: 1.5;
  text-wrap: pretty;
  text-align: center;
  /* Glassmorphism — always visible (no hover dependency) */
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 10px 28px -10px rgba(20, 18, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 12px 22px;
  border-radius: 999px;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}
.hero-sub strong { color: var(--ink); font-weight: 400; }

/* Sub-line stagger entrance — slower, more deliberate */
.hero-sub .hero-sub-line {
  display: inline-block;
  opacity: 0;
  animation: heroSubLineIn 1.1s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-sub .hero-sub-line:nth-of-type(1) { animation-delay: .30s; }
.hero-sub .hero-sub-line:nth-of-type(2) { animation-delay: .55s; }
@keyframes heroSubLineIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* Value accent — commerce / money — shimmering brand gradient (continuous) */
.hero-sub .hero-accent {
  background: linear-gradient(
    100deg,
    #B33500 0%,
    var(--brand-orange) 28%,
    #FFB48C 50%,
    var(--brand-orange) 72%,
    #B33500 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  letter-spacing: -0.005em;
  animation: heroAccentShimmer 5.4s ease-in-out infinite;
}
.hero-sub .hero-sub-line:nth-of-type(2) .hero-accent { animation-delay: -1.6s; }
@keyframes heroAccentShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sub .hero-accent { animation: none; background-position: 50% 50%; }
  .hero-sub .hero-sub-line { animation: none; opacity: 1; }
}

/* Left-aligned hero: pill's left rounded edge aligns with H1's left (O/D/C) */
.hero-content-left .hero-sub {
  margin-left: 0;
  text-align: left;
}

.hero-bottombar {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  z-index: 4;
  border-top: 1px solid #000;
  background: #000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-bottombar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-bottombar-inner.two-cell { grid-template-columns: 1fr 1fr; }
.hbb-cell {
  padding: 18px var(--gutter);
  border-right: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: baseline; gap: 12px;
}
.hbb-cell:last-child { border-right: 0; }
.hbb-key {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hbb-val { font-family: var(--font-mono); font-size: 13px; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.hbb-val .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.hbb-val .dot-live { background: #1aa86f; box-shadow: 0 0 0 4px rgba(26,168,111,0.18); }
.hbb-val .dot-beta { background: var(--brand-orange); box-shadow: 0 0 0 4px rgba(255,90,31,0.18); }
@media (max-width: 900px) {
  .hero-bottombar-inner { grid-template-columns: 1fr 1fr; }
  .hbb-cell:nth-child(2n) { border-right: 0; }
  .hbb-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.16); }
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 120px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-cue .bar {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  animation: scrollbar 2.2s ease-in-out infinite;
}
@keyframes scrollbar {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ============ SECTIONS ============ */
section.bay {
  position: relative;
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--brand-orange);
  display: inline-block;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

/* ABOUT — pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--bg-soft);
  padding: 48px 36px 56px;
  position: relative;
  transition: background .3s ease, transform .3s ease;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.pillar:hover { background: #FFFFFF; }
.pillar:hover .pillar-num { color: var(--brand-orange); transform: translateX(4px); }
.pillar-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 96px;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.04em;
  transition: color .3s ease, transform .3s ease;
}
.pillar-title {
  min-height: 2.4em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 32px 0 16px;
  color: var(--ink);
}
.pillar-blurb-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: auto;
  margin-bottom: 14px;
}
.pillar-body {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
  min-height: calc(1.55em * 2);
}
/* PRODUCTS */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
.product {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
  color: var(--ink);
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,90,31,0.10), transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.product:hover { border-color: var(--ink); background: #FFFFFF; }
.product:hover::before { opacity: 1; }
.product-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: #FFFFFF;
}
.product-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted);
}
.product-status.live .dot { background: #1aa86f; box-shadow: 0 0 0 4px rgba(26,168,111,0.15); }
.product-status.beta .dot { background: var(--brand-orange); box-shadow: 0 0 0 4px rgba(255,90,31,0.15); }
.product-url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}
.product-desc {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-primary);
  max-width: 42ch;
}
.product-visual {
  margin-top: 32px;
  flex: 1;
  display: flex;
  align-items: flex-end;
}
.product-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  width: fit-content;
  transition: color .2s ease, gap .2s ease;
}
.product-cta:hover { color: var(--brand-orange); gap: 18px; }

.viz {
  width: 100%;
  height: 130px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.viz-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(216,212,204,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,212,204,0.5) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 60%, black 0%, transparent 80%);
}
.viz-rows {
  position: absolute;
  inset: 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.viz-bar {
  background: var(--ink);
  align-self: end;
  border-radius: 2px 2px 0 0;
}
.viz-bar:nth-child(2n) { background: var(--brand-orange); }
.viz-label {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.viz-tick {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-orange);
}

/* PARTNERS */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  { .partners { grid-template-columns: repeat(2, 1fr); } }
.partner-cell {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  position: relative;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.partner-cell .partner-wm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(14px, 1.35vw, 20px);
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  padding: 0 14px;
  text-align: center;
  line-height: 1.15;
}
.partner-cell:hover .partner-wm { opacity: 0.85; }
.partner-cell .partner-wm img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Actual partner logos (img.partner-logo) */
.partner-cell .partner-logo {
  max-width: 62%;
  max-height: 44%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0);
  transition: opacity .2s ease, transform .2s ease;
}
.partner-cell[data-partner="playerauctions"] .partner-logo {
  max-width: 86%;
  max-height: 70%;
}
.partner-cell:hover .partner-logo {
  opacity: 0.82;
}
.partner-cell .pw-mark {
  width: clamp(20px, 1.9vw, 28px);
  height: auto;
  flex-shrink: 0;
}

/* ---- Per-brand wordmark styles ---- */
.pw-circle .pw-text {
  color: #3E3E5C;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pw-sui .pw-text {
  color: #4DA2FF;
  font-weight: 700;
  font-size: 1.4em;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pw-walrus .pw-text {
  font-weight: 500;
  letter-spacing: 0.01em;
}
.pw-slush .pw-text {
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
}
.pw-wormhole .pw-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78em;
  letter-spacing: 0.18em;
}
.pw-immutable .pw-text {
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pw-playerauctions {
  gap: 6px;
}
.pw-playerauctions .pw-text {
  font-weight: 500;
  font-size: 0.85em;
  letter-spacing: -0.01em;
}
.pw-itembay .pw-light { font-weight: 300; }
.pw-itembay .pw-bold  { font-weight: 700; }
.pw-itemmania {
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
.pw-itemmania .pw-imi {
  font-weight: 800;
  font-size: 1.6em;
  letter-spacing: 0.04em;
  line-height: 1;
}
.pw-itemmania .pw-imi::first-letter { font-style: italic; }
.pw-itemmania .pw-sub {
  font-family: var(--font-mono);
  font-size: 0.42em;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.pw-bmh .pw-text {
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: -0.005em;
}
.pw-nexture .pw-text {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95em;
}

.partner-cell-more {
  pointer-events: none;
}
.partner-cell-more .partner-wm,
.partner-cell-more .pw-more {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(11px, 0.95vw, 13px);
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color .25s ease, background .25s ease;
}
.partner-cell:hover { color: var(--text-secondary); background: #FFFFFF; }
.partner-cell::before, .partner-cell::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  border: 1px solid var(--border-subtle);
}
.partner-cell::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.partner-cell::after  { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.partner-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* MEDIA */
.media-block { max-width: 820px; }
.media-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--ink);
}
.media-quote .em { color: var(--brand-orange); }
.media-body {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 56ch;
  margin: 0 0 32px;
}
.media-press {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 26px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  border-radius: 12px;
}
.media-press .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.media-press .email {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 80px;
  padding-bottom: 48px;
  background: var(--ink);
  color: #F5F4F0;
}
.footer .eyebrow { color: #B3B0A8; }
.footer .eyebrow::before { background: var(--brand-orange); }
.foot-cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 900px) { .foot-cta { grid-template-columns: 1fr; gap: 32px; } }
.foot-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
  color: #FFFFFF;
}
.foot-cta h2 .em { color: var(--brand-orange); }
.foot-cta-actions {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
  width: 100%;
}
.foot-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
  width: 100%;
  color: #F5F4F0;
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.foot-link:hover { color: var(--brand-orange); border-color: var(--brand-orange); gap: 18px; }

.foot-link .foot-icon { display: inline-block; vertical-align: -3px; margin-right: 4px; }

.foot-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid #2a2a2a;
}
@media (max-width: 720px) {
  .foot-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .foot-company { text-align: left; }
}
.foot-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B3B0A8;
}
.foot-company {
  margin: 0;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #B3B0A8;
  text-align: right;
  max-width: 64ch;
}
.foot-company strong {
  color: #F5F4F0;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.foot-company .sep {
  color: var(--brand-orange);
  margin: 0 8px;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ticker — black band like a film leader */
.ticker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  color: #F5F4F0;
}
.ticker-track {
  display: flex;
  gap: 64px;
  padding: 20px 0;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 64px; }
.ticker-track .sep { color: var(--brand-orange); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}


/* ============ MEDIA CARDS ============ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 900px) { .media-grid { grid-template-columns: 1fr; } }

.media-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  color: var(--ink);
}
.media-card:hover { transform: translateY(-4px); border-color: var(--brand-orange); box-shadow: 0 18px 50px rgba(20,18,12,0.08); }

.media-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
}
.thumb-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
  align-self: flex-start;
  background: rgba(0,0,0,0.32);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.thumb-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  z-index: 2;
}
.thumb-glyph {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* eGamers — neon green / ink with grid */
.thumb-egamers { background: #0a0a0a; }
.thumb-egamers .thumb-glyph {
  background:
    radial-gradient(60% 60% at 70% 35%, rgba(155,255,61,0.28), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(155,255,61,0.08) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(155,255,61,0.08) 22px 23px),
    linear-gradient(135deg, #0a0a0a 0%, #131a0e 100%);
}
.thumb-egamers .thumb-tag { background: #9BFF3D; color: #0a0a0a; }

/* Yahoo Finance — purple ribbon */
.thumb-yahoo { background: #5f01d1; }
.thumb-yahoo .thumb-glyph {
  background:
    radial-gradient(40% 50% at 20% 80%, rgba(255,255,255,0.22), transparent 60%),
    linear-gradient(135deg, #6b0ee0 0%, #4a00a8 60%, #2a0066 100%);
}
.thumb-yahoo::after {
  content: "";
  position: absolute;
  right: -40px; top: 30%;
  width: 220px; height: 60px;
  background: rgba(255,255,255,0.1);
  transform: rotate(-12deg);
  z-index: 1;
}
.thumb-yahoo .thumb-tag { background: #fff; color: #5f01d1; }

/* BeInCrypto — orange/black with hex pattern */
.thumb-beincrypto { background: #1a1a1a; }
.thumb-beincrypto .thumb-glyph {
  background:
    radial-gradient(50% 50% at 80% 70%, rgba(255,90,31,0.45), transparent 65%),
    repeating-linear-gradient(60deg, transparent 0 18px, rgba(255,255,255,0.05) 18px 19px),
    linear-gradient(135deg, #1a1a1a 0%, #2a1408 100%);
}
.thumb-beincrypto .thumb-tag { background: #FF5A1F; color: #fff; }

.media-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.media-source {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.media-headline {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.media-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
}
.media-card:hover .media-cta { gap: 12px; }


/* ============ MEDIA THUMB ART ============ */
.thumb-art {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.thumb-art svg { width: 100%; height: 100%; display: block; }
.media-thumb { padding: 0; }

/* ============ PRODUCT ART ============ */
.product-art {
  margin-top: 28px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-deep);
}
.product-art svg { width: 100%; height: 100%; display: block; }



/* ============ HERO SPLIT LAYOUT ============ */
.hero.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  padding: 0 0 0 max(48px, 6vw);
  gap: 0;
  aspect-ratio: auto;
  min-height: 88vh;
}
.hero.hero-split .hero-fallback,
.hero.hero-split .hero-grain,
.hero.hero-split .hero-vignette { display: none; }

.hero.hero-split .hero-spline {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 540px;
  z-index: 1;
  background: transparent;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero.hero-split .hero-spline.loaded { opacity: 1; }
.hero.hero-split .hero-spline canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent !important;
}

.hero-content-split {
  position: relative;
  z-index: 4;
  padding: 100px 0 80px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(255,90,31,0.18);
  animation: heroPulse 2.4s ease-in-out infinite;
}
@keyframes heroPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.hero-h1-split {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
  display: flex;
  flex-direction: column;
  text-shadow: none;
}
.hero-h1-split .line { display: block; }
.hero-h1-split .accent {
  color: var(--brand-orange);
  -webkit-text-fill-color: var(--brand-orange);
}

.hero-sub-split {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.78;
  max-width: 38ch;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.hero-sub-split strong { color: var(--ink); font-weight: 600; }

.hero-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-meta-num { color: var(--ink); font-weight: 600; }
.hero-meta-divider {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--border-subtle);
}

/* Tablet: keep split but tighter */
@media (max-width: 1100px) {
  .hero.hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding-left: max(32px, 5vw);
  }
}

/* Mobile: stack — Spline on top, text below */
@media (max-width: 800px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }
  .hero.hero-split .hero-spline {
    order: 1;
    min-height: 360px;
    height: 56vh;
  }
  .hero-content-split {
    order: 2;
    padding: 40px 24px 56px;
    max-width: 100%;
  }
  .hero-h1-split { font-size: clamp(48px, 14vw, 88px); }
}



/* ============ HERO ORB LAYOUT ============ */
.hero-with-orb {
  overflow: hidden;
}
.hero-with-orb .hero-content-left {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: center !important;
  display: flex !important;
  flex-direction: column;
  position: relative;
  z-index: 4;
  height: 100%;
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding-left: clamp(32px, 6vw, 96px) !important;
  padding-right: clamp(32px, 6vw, 96px) !important;
}
.hero-with-orb .hero-h1 {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 60%;
}
.hero-with-orb .hero-sub {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 56%;
}

/* Orb: contain the Spline canvas in a perfect circle on the right */
.hero-spline-orb {
  position: absolute !important;
  inset: auto !important;
  top: 50% !important;
  right: clamp(24px, 5vw, 96px) !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: min(46vw, 580px) !important;
  height: min(46vw, 580px) !important;
  aspect-ratio: 1 / 1 !important;
  z-index: 2 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: transparent !important;
  pointer-events: auto !important;
  -webkit-mask-image: radial-gradient(circle, #000 99%, transparent 100%);
          mask-image: radial-gradient(circle, #000 99%, transparent 100%);
}
.hero-spline-orb canvas,
.hero-spline-orb #spline-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: transparent !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-spline-orb {
    width: min(50vw, 460px) !important;
    height: min(50vw, 460px) !important;
    right: 4vw !important;
  }
  .hero-with-orb .hero-h1 { max-width: 56%; }
  .hero-with-orb .hero-sub { max-width: 52%; }
}

/* Mobile: orb stacks below; text fully left-aligned */
@media (max-width: 800px) {
  .hero-spline-orb {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 78vw !important;
    height: 78vw !important;
    margin: 24px auto 0 !important;
  }
  .hero-with-orb .hero-content-left {
    padding-top: 80px !important;
    padding-bottom: 24px !important;
  }
  .hero-with-orb .hero-h1,
  .hero-with-orb .hero-sub { max-width: 100%; }
}



/* ============ HERO SPLINE BAND (below hero) ============ */
.hero-spline-band {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 820px;
  background: var(--bg-primary);
  overflow: hidden;
}
.hero-spline-band iframe,
.hero-spline-band #spline-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
  background: transparent !important;
}
@media (max-width: 800px) {
  .hero-spline-band { height: 56vh; min-height: 360px; }
}



/* ============ HERO SPLINE IFRAME ============ */
.hero .hero-spline {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero .hero-spline iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140% !important;
  height: 140% !important;
  transform: translate(-25%, -34%);
  border: 0;
  display: block;
  background: transparent !important;
  pointer-events: auto;
}
/* Mask the "Built with Hana" / Spline watermark in bottom-right of the iframe */
.spline-watermark-mask {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 64px;
  background: var(--bg-primary);
  z-index: 3;
  pointer-events: none;
}
@media (max-width: 700px) {
  .spline-watermark-mask { width: 180px; height: 56px; }
}



/* ============ HERO LEFT-ALIGN ============ */
.hero.hero-left .hero-content {
  align-items: flex-start !important;
  text-align: left !important;
  max-width: var(--container) !important;
  margin: 0 auto !important;
  padding-left: clamp(24px, 5vw, 80px) !important;
}
.hero.hero-left .hero-h1,
.hero.hero-left .hero-sub {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* ============ HERO SPLINE BAND (below hero) ============ */
.hero-spline-band {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 560px;
  max-height: 900px;
  background: var(--bg-primary);
  overflow: hidden;
}
.hero-spline-band #spline-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent !important;
}
@media (max-width: 800px) {
  .hero-spline-band { height: 60vh; min-height: 380px; }
}



/* ============ HERO SPLIT RIGHT (text left, spline right) ============ */
.hero.hero-split-right {
  position: relative;
  overflow: hidden;
}
.hero.hero-split-right .hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--container) !important;
  margin: 0 auto !important;
  width: 100%;
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: clamp(24px, 5vw, 80px) !important;
  padding-right: clamp(24px, 5vw, 80px) !important;
}
.hero.hero-split-right .hero-content-left .hero-h1,
.hero.hero-split-right .hero-content-left .hero-sub {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 52%;
}

.hero-spline-right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  max-width: 52vw;
  max-height: 92%;
  z-index: 2;
  pointer-events: auto;
}
.hero-spline-right #spline-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent !important;
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-spline-right { width: 560px; height: 560px; max-width: 48vw; }
  .hero.hero-split-right .hero-content-left .hero-h1,
  .hero.hero-split-right .hero-content-left .hero-sub { max-width: 50%; }
}

/* Mobile: stack — text top, spline below */
@media (max-width: 800px) {
  .hero-spline-right {
    position: relative;
    top: auto; right: auto;
    transform: none;
    width: 100%;
    height: 480px;
    max-width: 100%;
    max-height: none;
    margin-top: 24px;
  }
  .hero.hero-split-right .hero-content-left .hero-h1,
  .hero.hero-split-right .hero-content-left .hero-sub { max-width: 100%; }
}



/* ============ HERO RETRO (full-bleed Spline bg, white text, dark) ============ */
.hero.hero-retro {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
}
.hero.hero-retro .hero-spline-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
  background: #0a0a0a;
}
.hero.hero-retro .hero-spline-bg #spline-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent !important;
}
.hero.hero-retro .hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--container) !important;
  margin: 0 auto !important;
  width: 100%;
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: clamp(24px, 5vw, 80px) !important;
  padding-right: clamp(24px, 5vw, 80px) !important;
}
.hero.hero-retro .hero-h1,
.hero.hero-retro .hero-sub {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero.hero-retro .hero-h1 .accent {
  color: var(--brand-orange) !important;
  -webkit-text-fill-color: var(--brand-orange) !important;
}
.hero.hero-retro .hero-sub strong { color: #fff !important; }
.hero.hero-retro .hero-bottombar {
  background: rgba(0,0,0,0.4) !important;
  border-top: 1px solid rgba(255,255,255,0.16) !important;
}
.hero.hero-retro .hero-bottombar .hbb-cell { color: #fff; }
.hero.hero-retro .hero-bottombar .hbb-key,
.hero.hero-retro .hero-bottombar .hbb-val { color: #fff; }
.hero.hero-retro .scroll-cue { color: rgba(255,255,255,0.7); }
.hero.hero-retro .scroll-cue .bar { background: rgba(255,255,255,0.6); }

/* Nav over dark hero — white text */
.nav.over-dark {
  background: transparent !important;
  border-bottom-color: rgba(255,255,255,0.12) !important;
}
.nav.over-dark .brand,
.nav.over-dark .nav-link,
.nav.over-dark .nav-cta,
.nav.over-dark .nav-menu-btn {
  color: #fff !important;
}
.nav.over-dark .brand-fullmark { filter: brightness(0) invert(1); }
.nav.over-dark .nav-cta {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
}



/* ============ HERO STREAKS (interactive canvas, replaces Spline) ============ */
.hero-streaks-host { position: relative; overflow: hidden; }
.hero-streaks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.hero-streaks #hero-streaks-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent;
}
.hero-streaks-host .hero-content { position: relative; z-index: 4; pointer-events: none; }
.hero-streaks-host .hero-content > * { pointer-events: auto; }
.hero-streaks-host .hero-bottombar,
.hero-streaks-host .scroll-cue { z-index: 5; }

/* Hero text — left aligned, room for streaks on right */
.hero-streaks-host .hero-content-left {
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: clamp(24px, 5vw, 80px) !important;
  padding-right: clamp(24px, 5vw, 80px) !important;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-streaks-host .hero-content-left .hero-h1,
.hero-streaks-host .hero-content-left .hero-sub {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.hero-streaks-host .hero-content-left .hero-h1 { max-width: 58%; }
.hero-streaks-host .hero-content-left .hero-sub { max-width: 50%; }

@media (max-width: 900px) {
  .hero-streaks-host .hero-content-left .hero-h1,
  .hero-streaks-host .hero-content-left .hero-sub { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-streaks { opacity: 0.35; }
}



/* ============ HERO SPLINE HOST (full-bleed scene) ============ */
.hero-spline-host { position: relative; overflow: hidden; }
.hero-spline-host .hero-spline {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.hero-spline-host .hero-spline #spline-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
.hero-spline-host .hero-content { position: relative; z-index: 4; pointer-events: none; }
.hero-spline-host .hero-content > * { pointer-events: auto; }
.hero-spline-host .hero-bottombar,
.hero-spline-host .scroll-cue { z-index: 5; }
.hero-spline-host .hero-content-left {
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: clamp(24px, 5vw, 80px) !important;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-spline-host .hero-content-left .hero-h1,
.hero-spline-host .hero-content-left .hero-sub {
  text-align: left !important;
  margin-left: 0 !important;
}
.hero-spline-host .hero-content-left .hero-h1 { max-width: 58%; }
.hero-spline-host .hero-content-left .hero-sub { max-width: 50%; }
@media (max-width: 900px) {
  .hero-spline-host .hero-content-left .hero-h1,
  .hero-spline-host .hero-content-left .hero-sub { max-width: 100%; }
}



/* ============ HERO SUNRISE SCENE ============ */
.hero.hero-sunrise {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--ink);
}
.hero-sunrise-scene {
  display: none !important;
}

/* ============ HERO SPLINE (full-bleed interactive 3D scene) ============ */
/* Full-bleed across the entire hero (GNB → bottom). Scene fits naturally.
   pointer-events: none + viewer attrs lock the camera so users can't zoom/pan.
   The Spline scene's own internal animations keep playing. */
.hero-spline-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-primary);                   /* fallback cream before scene loads */
  pointer-events: none;                            /* no user-driven zoom/pan */
  /* Spline canvas zoom & shift — calibrated 2026-05-13.
     Pure % so it scales proportionally with viewport on every screen size.
     DO NOT mix in px values — that breaks responsive behavior. */
  transform: translate(10.08%, 26.16%) scale(2);
  transform-origin: 65% 55%;
}

.hero-spline-scene spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
  --logo-display: none;
}
/* Hide Spline R watermark via shadow ::part (covers multiple viewer versions) */
.hero-spline-scene spline-viewer::part(logo),
.hero-spline-scene spline-viewer::part(logo-container),
.hero-spline-scene spline-viewer::part(spline-logo),
.hero-spline-scene spline-viewer::part(badge) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============ HERO FLOW — a single curve carrying one signal ============
   One confident S-curve crossing the right side of the hero, with a
   bright node traveling along it. The line IS the rails; the node IS
   value flowing through. Quiet, sophisticated, one gesture.
================================================================ */
.hero-atm {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Wrapper takes the mouse parallax */
.flow-wrap {
  position: absolute;
  inset: 0 0 0 48%;
  transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 10px), 0);
  transition: transform 0.9s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}

/* Soft warm field behind the line so it doesn't feel pasted on cream */
.flow-halo {
  position: absolute;
  inset: 4% 4% 4% 0;
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(ellipse at 60% 50%,
    rgba(255, 130, 60, 0.32) 0%,
    rgba(255, 110, 55, 0.18) 45%,
    rgba(255, 140, 95, 0.05) 75%,
    transparent 100%);
  animation: flow-halo-breathe 8s ease-in-out infinite;
  will-change: transform, opacity;
}

.flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes flow-halo-breathe {
  0%, 100% { transform: scale(1);    opacity: 1;    }
  50%      { transform: scale(1.06); opacity: 0.92; }
}

@media (max-width: 900px) {
  .flow-wrap { inset: 0 0 0 35%; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-halo { animation: none; }
}

/* Each card uses --px, --py inherited from .hero-deck for mouse parallax,
   with a per-card depth multiplier --d (small for back layers, larger for front). */
.deck-card,
.deck-receipt {
  position: absolute;
  font-family: var(--font-mono);
  color: var(--ink);
  user-select: none;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* Animation: gentle bob + slow rotate breathing, layered with parallax via inner wrapper would be ideal,
   but we use compound transforms with separate translate from parallax via outer wrapper... here we keep it simple:
   each card declares its base transform via custom prop --base and we animate translate3d on top of it.
   We achieve this by setting `transform: ... var(--base, ...)` style approach via individual rules below. */

/* ---- Voucher (back layer, black) ---- */
.deck-voucher {
  top: 18%; right: 32%;
  width: clamp(220px, 18vw, 320px);
  aspect-ratio: 1.6 / 1;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  box-shadow: 0 30px 60px -20px rgba(20,18,12,0.35), 0 8px 18px -10px rgba(20,18,12,0.25);
  padding: 18px 22px;
  color: #F2F0EB;
  transform:
    translate3d(calc(var(--px,0) * 18px), calc(var(--py,0) * 12px), 0)
    rotate(-9deg);
  animation: deck-bob-a 7s ease-in-out infinite;
}

/* ---- Top-up (middle layer, orange) ---- */
.deck-topup {
  top: 8%; right: 14%;
  width: clamp(240px, 20vw, 340px);
  aspect-ratio: 1.6 / 1;
  border-radius: 16px;
  background: linear-gradient(135deg, #FF6A2A 0%, #FF8C4D 100%);
  box-shadow: 0 36px 70px -22px rgba(255,90,31,0.45), 0 10px 22px -10px rgba(20,18,12,0.2);
  padding: 18px 22px;
  color: #0A0A0A;
  transform:
    translate3d(calc(var(--px,0) * 26px), calc(var(--py,0) * 18px), 0)
    rotate(6deg);
  animation: deck-bob-b 8s ease-in-out infinite;
}

/* ---- Gift card (front layer, cream) ---- */
.deck-giftcard {
  top: 38%; right: 22%;
  width: clamp(240px, 20vw, 340px);
  aspect-ratio: 1.6 / 1;
  border-radius: 16px;
  background: linear-gradient(135deg, #F7F5F0 0%, #E4E1D8 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 40px 80px -24px rgba(20,18,12,0.3), 0 12px 24px -10px rgba(20,18,12,0.18);
  padding: 18px 22px;
  color: #0A0A0A;
  transform:
    translate3d(calc(var(--px,0) * 36px), calc(var(--py,0) * 24px), 0)
    rotate(-3deg);
  animation: deck-bob-c 6.5s ease-in-out infinite;
}

/* ---- Small "P2P" chip (top product tile reference) ---- */
.deck-chip {
  top: 4%; right: 4%;
  width: clamp(72px, 7vw, 110px);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #1a1a1a;
  box-shadow: 0 22px 46px -16px rgba(20,18,12,0.4);
  display: grid; place-items: center;
  transform:
    translate3d(calc(var(--px,0) * 30px), calc(var(--py,0) * 20px), 0)
    rotate(8deg);
  animation: deck-bob-d 6s ease-in-out infinite;
}
.deck-chip .chip-inner {
  font-family: var(--font-mono);
  font-size: clamp(16px, 1.3vw, 22px);
  color: var(--brand-orange);
  letter-spacing: 0.12em;
}

/* ---- Orange coin/badge ---- */
.deck-badge {
  bottom: 14%; right: 8%;
  width: clamp(56px, 5vw, 80px);
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 16px 32px rgba(255,90,31,0.45));
  transform:
    translate3d(calc(var(--px,0) * 40px), calc(var(--py,0) * 26px), 0)
    rotate(-12deg);
  animation: deck-bob-e 5.5s ease-in-out infinite;
}
.deck-badge svg { width: 100%; height: 100%; display: block; }

/* ---- Receipt strip (deep back, very subtle) ---- */
.deck-receipt {
  top: 56%; right: 30%;
  width: clamp(180px, 15vw, 240px);
  background: #F7F5F0;
  border: 1px solid var(--border-subtle);
  border-radius: 6px 6px 0 0;
  padding: 14px 16px 24px;
  box-shadow: 0 24px 50px -18px rgba(20,18,12,0.25);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transform:
    translate3d(calc(var(--px,0) * 12px), calc(var(--py,0) * 8px), 0)
    rotate(4deg);
  animation: deck-bob-f 9s ease-in-out infinite;
}
.deck-receipt .receipt-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.deck-receipt .receipt-row:last-of-type { border-bottom: 0; }
.deck-receipt .receipt-row span:last-child { color: var(--ink); font-weight: 500; }
.deck-receipt .receipt-perf {
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 12px;
  background:
    radial-gradient(circle at 6px 6px, transparent 0 5px, #F7F5F0 5px) 0 0 / 12px 12px repeat-x;
}

/* ---- Card inner bits (shared) ---- */
.card-corner {
  font-size: 10px; letter-spacing: 0.22em;
  opacity: 0.7;
  text-transform: uppercase;
}
.card-corner.muted { color: var(--text-muted); }
.card-dots {
  position: absolute;
  top: 18px; right: 22px;
  display: flex; gap: 4px;
}
.card-dots span {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-orange);
}
.card-dots span:last-child { opacity: 0.55; }
.card-num {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  font-size: clamp(11px, 0.95vw, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.card-chip {
  position: absolute;
  top: 18px; left: 22px;
  width: 38px; height: 28px;
  border-radius: 5px;
  background: rgba(255,255,255,0.4);
  box-shadow: inset 0 0 0 1px rgba(10,10,10,0.18);
}
.card-wave {
  position: absolute;
  top: 22px; right: 22px;
  width: 60px; height: 24px;
  opacity: 0.7;
}
.card-wave svg { width: 100%; height: 100%; display: block; }
.card-amount {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card-stripe {
  position: absolute;
  left: 0; right: 0; top: 38%;
  height: 8px;
  background: repeating-linear-gradient(90deg,
    rgba(10,10,10,0.10) 0 6px,
    transparent 6px 14px);
}

/* ---- Bob animations (slight Y drift, never overrides translate3d parallax because they target rotate-only via separate prop) ---- */
/* We bake the rotation into each card's keyframes so the parallax translate stays on the inline transform. */
@keyframes deck-bob-a {
  0%,100% { transform: translate3d(calc(var(--px,0) * 18px), calc(var(--py,0) * 12px), 0) rotate(-9deg); }
  50%     { transform: translate3d(calc(var(--px,0) * 18px), calc(var(--py,0) * 12px - 10px), 0) rotate(-10.5deg); }
}
@keyframes deck-bob-b {
  0%,100% { transform: translate3d(calc(var(--px,0) * 26px), calc(var(--py,0) * 18px), 0) rotate(6deg); }
  50%     { transform: translate3d(calc(var(--px,0) * 26px), calc(var(--py,0) * 18px - 14px), 0) rotate(4.5deg); }
}
@keyframes deck-bob-c {
  0%,100% { transform: translate3d(calc(var(--px,0) * 36px), calc(var(--py,0) * 24px), 0) rotate(-3deg); }
  50%     { transform: translate3d(calc(var(--px,0) * 36px), calc(var(--py,0) * 24px - 16px), 0) rotate(-1.5deg); }
}
@keyframes deck-bob-d {
  0%,100% { transform: translate3d(calc(var(--px,0) * 30px), calc(var(--py,0) * 20px), 0) rotate(8deg); }
  50%     { transform: translate3d(calc(var(--px,0) * 30px), calc(var(--py,0) * 20px - 12px), 0) rotate(11deg); }
}
@keyframes deck-bob-e {
  0%,100% { transform: translate3d(calc(var(--px,0) * 40px), calc(var(--py,0) * 26px), 0) rotate(-12deg); }
  50%     { transform: translate3d(calc(var(--px,0) * 40px), calc(var(--py,0) * 26px - 18px), 0) rotate(-6deg); }
}
@keyframes deck-bob-f {
  0%,100% { transform: translate3d(calc(var(--px,0) * 12px), calc(var(--py,0) * 8px), 0) rotate(4deg); }
  50%     { transform: translate3d(calc(var(--px,0) * 12px), calc(var(--py,0) * 8px - 8px), 0) rotate(5.5deg); }
}

@media (max-width: 900px) {
  .deck-voucher  { right: 38%; top: 30%; }
  .deck-topup    { right: 4%;  top: 14%; }
  .deck-giftcard { right: 18%; top: 52%; }
  .deck-chip     { right: 6%;  top: 4%; }
  .deck-badge    { right: 4%;  bottom: 18%; }
  .deck-receipt  { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .deck-voucher, .deck-topup, .deck-giftcard,
  .deck-chip, .deck-badge, .deck-receipt { animation: none; }
}
.sun-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 78%, #FFD27A 0%, #FF8A3D 18%, #FF5A1F 36%, #B8290A 58%, #5E1808 80%, #2A0904 100%);
}
.sun-disc {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: clamp(220px, 28vw, 420px);
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  pointer-events: none;
}
.sun-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255,210,122,0.85) 0%, rgba(255,138,61,0.5) 25%, rgba(255,90,31,0.2) 50%, transparent 70%);
  filter: blur(8px);
  animation: sun-pulse 6s ease-in-out infinite;
}
.sun-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #FFE8A6 0%, #FFC366 35%, #FF9234 70%, #FF5A1F 100%);
  box-shadow:
    0 0 40px rgba(255,200,100,0.7),
    0 0 100px rgba(255,138,61,0.5),
    0 0 180px rgba(255,90,31,0.35);
  animation: sun-bob 8s ease-in-out infinite;
}
@keyframes sun-pulse {
  0%,100% { opacity: 0.85; transform: scale(1); }
  50%     { opacity: 1;    transform: scale(1.08); }
}
@keyframes sun-bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* Clouds drift */
.sun-clouds {
  position: absolute;
  left: -10%;
  width: 220%;
  height: 100%;
  top: 0;
  will-change: transform;
}
.sun-clouds-far  { animation: cloud-drift 90s linear infinite;  top: -2%;  height: 60%; opacity: 0.95; }
.sun-clouds-mid  { animation: cloud-drift 60s linear infinite reverse; top: 4%; height: 70%; }
@keyframes cloud-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-30%); }
}

/* Hills */
.sun-hills {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 62%;
}

/* Subtle grain */
.sun-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Hero content over scene */
.hero.hero-sunrise .hero-content {
  position: relative;
  z-index: 4;
  pointer-events: none;
  gap: clamp(20px, 2.4vw, 36px) !important;          /* responsive breathing room between H1 and sub */
}
.hero.hero-sunrise .hero-content > * { pointer-events: auto; }
.hero.hero-sunrise .hero-content-left {
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: clamp(24px, 5vw, 80px) !important;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero.hero-sunrise .hero-h1,
.hero.hero-sunrise .hero-sub {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  text-align: left !important;
  text-shadow: none;
}
.hero.hero-sunrise .hero-h1 { margin-left: 0 !important; transform: translateY(-40px) !important; }
.hero.hero-sunrise .hero-sub {
  margin-top: 0 !important;                          /* let parent gap handle spacing */
  margin-left: 0 !important;                         /* pill's rounded left edge aligns with O/D/C left */
}
.hero.hero-sunrise .hero-h1 .accent {
  /* Vertical gradient matching the Spline sphere — yellow at top → red at bottom */
  background: linear-gradient(180deg, #FFD24A 0%, #FF9A2A 28%, #FF5A1F 62%, #C81F0E 100%) !important;
  -webkit-background-clip: text !important;
          background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none;
}
.hero.hero-sunrise .hero-h1 { max-width: 58%; }
.hero.hero-sunrise .hero-sub { max-width: 50%; color: var(--text-secondary) !important; -webkit-text-fill-color: var(--text-secondary) !important; }
.hero.hero-sunrise .hero-sub strong { color: var(--ink) !important; }
.hero.hero-sunrise .hero-sub .hero-accent {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

/* Bottombar — keep default dark slab for contrast against light hero */
.hero.hero-sunrise .hero-bottombar { z-index: 5; }
.hero.hero-sunrise .scroll-cue { color: var(--text-muted); z-index: 5; }
.hero.hero-sunrise .scroll-cue .bar { background: linear-gradient(to bottom, transparent, var(--text-muted)); }

/* GNB over sunrise — already white-friendly via .nav.over-dark from interactions.js */
@media (max-width: 900px) {
  .hero.hero-sunrise .hero-h1,
  .hero.hero-sunrise .hero-sub { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sun-clouds-far, .sun-clouds-mid, .sun-glow, .sun-core { animation: none; }
}

/* =========================================================================
   HERO SUNRISE — slogan below COMMERCE (2026-05-13)
   ABSOLUTE positioning so it does NOT affect the flexbox layout of
   .hero-content (preserves headline + Spline composition exactly).
   Anchored to the bottom-left of hero, sits just below the COMMERCE line.
   ========================================================================= */
@media (min-width: 601px) {
  .hero.hero-sunrise .hero-content-left .hero-sub {
    /* Out of normal flow — doesn't push flex content */
    position: absolute !important;
    left: calc(clamp(24px, 5vw, 80px) + 15px) !important;
    bottom: calc(18% - 4px) !important;
    margin: 0 !important;
    z-index: 4;
    /* Strip glass pill chrome — clean editorial type */
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    max-width: 56% !important;
    width: auto !important;
    text-align: left !important;
    /* Typography */
    font-family: var(--font-body);
    font-size: clamp(24px, 2vw, 36px) !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    color: var(--text-secondary) !important;
    -webkit-text-fill-color: var(--text-secondary) !important;
  }
  .hero.hero-sunrise .hero-content-left .hero-sub strong {
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
    font-weight: 400 !important;
  }
  .hero.hero-sunrise .hero-content-left .hero-sub .hero-accent {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
  }
}

/* Mobile-only line break helper — hidden on desktop, shown ≤600px */
.mobile-br { display: none; }

/* Mobile-only hero CTA — desktop hidden, shown ≤600px */
.hero-mobile-cta { display: none; }

/* =========================================================================
   MOBILE OPTIMIZATIONS — ≤600px overrides (added 2026-05-12)
   Scope: hero pill width, section heading sizing, bottombar pin fit
   Desktop UNTOUCHED — all rules wrapped in @media (max-width: 600px).
   ========================================================================= */
@media (max-width: 600px) {
  /* Section titles — was clamp(40px, 6.5vw, 88px), too wide on phones */
  .section-title {
    font-size: clamp(28px, 8.5vw, 40px);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  /* Hero subline — selector uses 4 classes to beat the global
     .hero.hero-sunrise .hero-sub rule (which has !important on margin-top: 0). */
  .hero.hero-sunrise .hero-content-left .hero-sub {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 0 0 4px !important;
    margin: -40px 0 0 0 !important;
    max-width: 100% !important;
    width: auto !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    letter-spacing: -0.005em !important;
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
  }
  /* Show <br> so subline renders as two lines on mobile */
  .hero-sub br { display: inline; }

  /* Hero headline — OVERTAKE 위치 그대로, DIGITAL과 COMMERCE 위에 동일한 간격 */
  .hero-h1 .line-digital,
  .hero-h1 .line-commerce {
    display: inline-block;
    margin-top: 18px;
  }

  /* Hero mobile CTA — "Visit UPTOP →" solid orange fill, cream bold text, shown only ≤600px */
  .hero-mobile-cta {
    /* Match GNB nav-cta: ink black bg, white text, mono caps */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    width: max-content;
    transition: opacity 0.2s ease;
  }
  .hero-mobile-cta:active,
  .hero-mobile-cta:focus { opacity: 0.88; }

  /* Bottombar pins (LIVE uptop.gg / BETA overtake.market) — tighten padding so right edge fits */
  .hbb-cell {
    padding: 14px 14px;
    gap: 8px;
  }
  .hbb-key { font-size: 10px; letter-spacing: 0.18em; }
  .hbb-val { font-size: 12px; gap: 6px; }

  /* Hero headline — slight crowding fix on narrow phones, pushed slightly down */
  .hero-h1 {
    font-size: clamp(48px, 13.5vw, 88px);
    letter-spacing: -0.035em;
    margin-top: 28px;
  }

  /* Push hero content (headline + sub + CTA) DOWN on mobile —
     all of it was sitting too high. */
  .hero.hero-sunrise .hero-content {
    padding-top: 160px !important;   /* was 96px, +64px down */
  }

  /* Spline hero scene — hidden on mobile (white face inside the scene can't be cleanly hidden) */
  .hero-spline-scene { display: none; }

  /* =========================================================================
     MOBILE HERO — Glow-only backdrop (size/centering ROLLED BACK 2026-05-13)
     Per 각하 feedback the height/padding overrides pushed copy upward; reverted
     to the original hero geometry. Only the animated glow remains.
     ========================================================================= */

  /* Primary glow — behind/around the headline area, gently pulses */
  .hero.hero-sunrise::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 80%;
    background: radial-gradient(
      ellipse at 55% 45%,
      rgba(255, 130, 50, 0.42) 0%,
      rgba(255, 90, 31, 0.22) 25%,
      rgba(255, 90, 31, 0.08) 50%,
      transparent 75%
    );
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
    animation: mHeroPulse 9s ease-in-out infinite alternate;
  }

  /* Spline-color blob — abstract sphere-like glow centered lower in hero.
     Captures the yellow → orange → red palette of the Spline 3D sphere. */
  .hero.hero-sunrise::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    height: 70%;
    background: radial-gradient(
      ellipse at 50% 55%,
      rgba(255, 210, 74, 0.55) 0%,
      rgba(255, 138, 42, 0.45) 22%,
      rgba(255, 90, 31, 0.32) 42%,
      rgba(200, 31, 14, 0.16) 62%,
      transparent 80%
    );
    filter: blur(30px);
    z-index: 1;
    pointer-events: none;
    animation: mHeroDrift 13s ease-in-out infinite alternate;
  }

  @keyframes mHeroPulse {
    0%   { opacity: 0.88; transform: translate(-52%, -52%) scale(1); }
    100% { opacity: 1.05; transform: translate(-48%, -48%) scale(1.08); }
  }
  @keyframes mHeroDrift {
    0%   { transform: translateX(-50%) scale(1);    opacity: 0.85; }
    100% { transform: translateX(-50%) scale(1.06); opacity: 1; }
  }

  /* Disable glow animation when user prefers reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .hero.hero-sunrise::before,
    .hero.hero-sunrise::after { animation: none; }
  }

  /* Product card heading — was fixed 48px, overflows narrow phones with long names */
  .product-name {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: -0.02em;
    line-height: 1.04;
    word-break: keep-all;
  }
  .product-url { font-size: 12px; }
  .product-desc { font-size: 14px; line-height: 1.5; }

  /* Show mobile-only <br> so "OVERTAKE." wraps to a new line before "MARKET" */
  .mobile-br { display: inline; }

  /* ============================================================
     FOOTER — right-align everything on mobile (≤600px only)
     ============================================================ */
  .footer .foot-cta h2 {
    text-align: right;
  }
  .footer .foot-cta-actions {
    align-items: flex-end !important;
    justify-content: flex-end;
    text-align: right;
  }
  .footer .foot-link {
    justify-content: flex-end;
    text-align: right;
  }
  .footer .foot-meta {
    text-align: right;
  }
  .footer .foot-copy,
  .footer .foot-company {
    text-align: right;
  }
}
