@font-face {
  font-family: 'SyeSans';
  src: url('/fonts/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'SyeSans';
  src: url('/fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'SyeDisplay';
  src: url('/fonts/Cinzel-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'SyeMono';
  src: url('/fonts/JetBrainsMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0e0a0d;
  --bg-2: #171115;
  --glass: rgba(24, 18, 22, 0.76);
  --glass-strong: rgba(20, 15, 19, 0.90);
  --surface: rgba(32, 24, 29, 0.84);
  --surface-2: rgba(45, 34, 41, 0.92);
  --border: rgba(246, 238, 227, 0.12);
  --border-gold: rgba(235, 194, 109, 0.36);
  --border-strong: rgba(246, 238, 227, 0.25);

  --text: #f7efe5;
  --text-muted: #c6b6b0;
  --text-dim: #8f7e7a;

  --blush: #e8929b;
  --blush-deep: #c96875;
  --blush-soft: rgba(232, 146, 155, 0.16);
  --gold: #ebc26d;
  --gold-bright: #fae09c;
  --gold-deep: #c89535;
  --gold-soft: rgba(235, 194, 109, 0.16);
  --leaf: #7fc99b;
  --cream: #f6eee3;

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.52);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'SyeSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
}

code {
  font-family: 'SyeMono', monospace;
  font-size: 0.88em;
  background: rgba(235, 194, 109, 0.13);
  color: var(--gold-bright);
  padding: 2px 6px;
  border-radius: 6px;
}

.hidden {
  display: none !important;
}

/* ============================================================================
   FULL-BLEED TWILIGHT GLASSHOUSE STAGE
   ============================================================================ */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-artwork {
  position: absolute;
  inset: -24px;
  background:
    radial-gradient(circle at 74% 22%, rgba(235, 194, 109, 0.14), transparent 46%),
    radial-gradient(circle at 18% 72%, rgba(232, 146, 155, 0.12), transparent 50%),
    url('/assets/sye-garden-bg.webp') center / cover no-repeat;
  filter: brightness(0.46) saturate(1.08);
  transform: scale(1.03);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 10, 13, 0.65) 0%, rgba(14, 10, 13, 0.42) 38%, rgba(14, 10, 13, 0.88) 100%),
    radial-gradient(ellipse at 50% 28%, transparent 30%, rgba(10, 7, 10, 0.82) 100%);
}

#landing-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================================
   TOP FLOATING CONSERVATORY HEADER
   ============================================================================ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 20px 0;
}

.nav-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  background: rgba(20, 15, 19, 0.78);
  border: 1px solid rgba(235, 194, 109, 0.24);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-crest {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-bright), var(--blush), var(--gold-deep));
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(235, 194, 109, 0.28);
}

.brand-crest img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: 'SyeDisplay', serif;
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  background: linear-gradient(180deg, #fff5d8 0%, #ebc26d 65%, #c89535 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-domain {
  font-family: 'SyeMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(246, 238, 227, 0.08);
}

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

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(38, 29, 35, 0.8);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav-icon-btn:hover {
  border-color: var(--border-gold);
  background: rgba(54, 41, 49, 0.94);
  transform: translateY(-1px);
}

.nav-icon-btn.is-muted {
  color: var(--text-dim);
  opacity: 0.75;
}

/* ============================================================================
   BUTTON SYSTEM (NEVER DARKENS GOLD ON HOVER!)
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-sm {
  padding: 9px 17px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 0.95rem;
}

.btn-gold {
  background: linear-gradient(135deg, #f8da8d 0%, #e5b75a 55%, #cf9838 100%);
  color: #1c1309;
  border-color: rgba(255, 239, 193, 0.65);
  box-shadow: 0 8px 26px rgba(235, 194, 109, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffe8aa 0%, #f1c66c 55%, #dba442 100%);
  color: #160e05;
  border-color: #fff2cc;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(235, 194, 109, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-blush {
  background: linear-gradient(135deg, rgba(232, 146, 155, 0.24), rgba(201, 104, 117, 0.26));
  color: #ffe8eb;
  border-color: rgba(232, 146, 155, 0.52);
}

.btn-blush:hover {
  background: linear-gradient(135deg, rgba(232, 146, 155, 0.36), rgba(201, 104, 117, 0.38));
  border-color: #f3aeb6;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 146, 155, 0.26);
}

.btn-glass {
  background: rgba(34, 26, 31, 0.78);
  color: var(--cream);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(52, 40, 48, 0.92);
  border-color: var(--border-gold);
  color: #fff8eb;
  transform: translateY(-1px);
}

.btn-glass.active-toggle {
  border-color: var(--border-gold);
  background: rgba(235, 194, 109, 0.16);
  color: var(--gold-bright);
}

.discord-ico {
  flex-shrink: 0;
}

/* ============================================================================
   PAGE LAYOUT & HERO SECTION
   ============================================================================ */
.page-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 26px 22px 84px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 36px;
  min-height: calc(100vh - 116px);
  padding: 22px 0 34px;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 21, 25, 0.84);
  border: 1px solid rgba(235, 194, 109, 0.32);
  font-family: 'SyeMono', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.kicker-banner {
  border-color: rgba(232, 146, 155, 0.42);
  color: #ffd9de;
}

.lantern-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold);
}

.hero-title {
  margin: 0 0 18px;
  font-family: 'SyeDisplay', serif;
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  line-height: 1.07;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
}

.hero-title-accent {
  display: block;
  background: linear-gradient(120deg, #fff5da 0%, #ebc26d 45%, #f1a5ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 28px;
  max-width: 570px;
  font-size: 1.04rem;
  color: var(--text-muted);
}

.hero-subtitle strong {
  color: var(--gold-bright);
  font-weight: 700;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

/* Live Conservatory Ledger */
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 590px;
}

.ledger-cell {
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: rgba(24, 18, 22, 0.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ledger-val {
  font-family: 'SyeMono', monospace;
  font-size: 1.28rem;
  color: var(--gold-bright);
}

.ledger-lbl {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================================
   HERO RIGHT — LIVE 2.5D SYE MASCOT CONSERVATORY ARCH
   ============================================================================ */
.hero-stage {
  display: flex;
  justify-content: center;
}

.sye-arch-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 18px 18px 16px;
  border-radius: 220px 220px 28px 28px;
  background: linear-gradient(180deg, rgba(35, 26, 32, 0.68) 0%, rgba(19, 14, 18, 0.88) 100%);
  border: 1px solid rgba(235, 194, 109, 0.34);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 240, 205, 0.16);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.sye-arch-frame::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 212px 212px 22px 22px;
  border: 1px dashed rgba(235, 194, 109, 0.22);
  pointer-events: none;
}

.sye-arch-halo {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 194, 109, 0.24) 0%, rgba(232, 146, 155, 0.10) 48%, transparent 72%);
  pointer-events: none;
}

.sye-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 5.45;
  cursor: pointer;
  user-select: none;
  outline: none;
}

#landing-sye-canvas,
#landing-sye-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#landing-sye-fx {
  pointer-events: none;
}

.emote-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.emote-pop {
  position: absolute;
  font-family: 'SyeDisplay', serif;
  font-size: 1.65rem;
  font-weight: 700;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
  animation: emoteFloat 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes emoteFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.7);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -8px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -46px) scale(0.95);
  }
}

/* Visual-Novel Speech Plaque */
.vn-card {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  padding: 14px 16px 13px;
  border-radius: 18px;
  background: rgba(18, 13, 17, 0.92);
  border: 1px solid rgba(235, 194, 109, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.vn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.vn-name {
  font-family: 'SyeDisplay', serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.vn-hint {
  font-size: 0.72rem;
  color: var(--blush);
  font-weight: 700;
}

.vn-text {
  margin: 0 0 11px;
  min-height: 42px;
  font-size: 0.9rem;
  color: var(--cream);
}

.sye-trick-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trick-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(246, 238, 227, 0.16);
  background: rgba(42, 32, 38, 0.88);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.trick-chip:hover {
  border-color: var(--border-gold);
  background: rgba(235, 194, 109, 0.16);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

/* ============================================================================
   SECTIONS & SCROLL REVEAL
   ============================================================================ */
.section-block {
  padding: 62px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-family: 'SyeMono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  margin: 0 0 12px;
  font-family: 'SyeDisplay', serif;
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  line-height: 1.15;
  color: var(--cream);
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   SECTION 2 — LIVE PLAYABLE 3D STUDIO SHOWCASE
   ============================================================================ */
.studio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 24px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--glass);
  border: 1px solid rgba(235, 194, 109, 0.26);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.studio-viewport-card {
  position: relative;
  min-height: 490px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 42%, rgba(235, 194, 109, 0.15) 0%, rgba(232, 146, 155, 0.08) 38%, rgba(13, 9, 12, 0.96) 80%);
  border: 1px solid rgba(246, 238, 227, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#landing-card3d-canvas {
  width: 100%;
  height: 490px;
  display: block;
  cursor: grab;
  touch-action: none;
}

#landing-card3d-canvas:active {
  cursor: grabbing;
}

.studio-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.studio-pill {
  padding: 5px 11px;
  border-radius: 999px;
  font-family: 'SyeMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  background: rgba(20, 15, 19, 0.86);
  border: 1px solid var(--border-strong);
  color: var(--cream);
}

.studio-pill-gold {
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

.studio-pill-black {
  background: linear-gradient(135deg, #1b1719, #090709);
  border-color: #f3d078;
  color: #ffe8a3;
  box-shadow: 0 0 16px rgba(235, 194, 109, 0.34);
}

.studio-pedestal-ring {
  position: absolute;
  bottom: 44px;
  left: 50%;
  width: 240px;
  height: 54px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px dashed rgba(235, 194, 109, 0.3);
  pointer-events: none;
}

.studio-drag-tip {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(16, 12, 15, 0.78);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  pointer-events: none;
}

.studio-controls-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 6px;
}

.demo-card-meta {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(19, 14, 18, 0.76);
  border: 1px solid var(--border);
}

.demo-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.demo-char-name {
  margin: 0;
  font-family: 'SyeDisplay', serif;
  font-size: 1.32rem;
  color: var(--cream);
}

.demo-char-series {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rarity-badge {
  padding: 5px 11px;
  border-radius: 999px;
  font-family: 'SyeMono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  background: rgba(235, 194, 109, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  white-space: nowrap;
}

.demo-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.demo-stat {
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(34, 26, 31, 0.82);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-stat span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.demo-stat strong {
  font-family: 'SyeMono', monospace;
  font-size: 0.96rem;
  color: var(--cream);
}

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

.control-label {
  font-family: 'SyeMono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.segmented-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.seg-btn {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(31, 23, 28, 0.82);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.seg-btn:hover {
  border-color: var(--border-gold);
  color: var(--cream);
}

.seg-btn.active {
  background: linear-gradient(135deg, #f8da8d 0%, #e1b254 100%);
  color: #1c1309;
  border-color: #fff0c2;
  box-shadow: 0 6px 20px rgba(235, 194, 109, 0.28);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.frame-chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(31, 23, 28, 0.8);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.frame-chip:hover {
  border-color: var(--border-gold);
  color: var(--cream);
}

.frame-chip.active {
  border-color: var(--blush);
  background: rgba(232, 146, 155, 0.22);
  color: #ffe9ec;
}

.char-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.char-pick-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(26, 19, 24, 0.84);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.14s ease;
  overflow: hidden;
}

.char-pick-btn:hover {
  border-color: var(--border-gold);
  background: rgba(42, 32, 38, 0.94);
  transform: translateY(-1px);
}

.char-pick-btn.active {
  border-color: var(--gold);
  background: rgba(235, 194, 109, 0.14);
}

.char-pick-btn img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.char-pick-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

/* ============================================================================
   SECTION 3 — BENTO FEATURES GRID
   ============================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}

.bento-art {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  padding: 6px;
  background: linear-gradient(145deg, rgba(235, 194, 109, 0.2), rgba(24, 18, 22, 0.92));
  border: 1px solid rgba(235, 194, 109, 0.34);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bento-art img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}

.bento-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-family: 'SyeMono', monospace;
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blush);
}

.bento-body h3 {
  margin: 0 0 8px;
  font-family: 'SyeDisplay', serif;
  font-size: 1.18rem;
  color: var(--cream);
}

.bento-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============================================================================
   SECTION 4 — COMMAND DECK + DISCORD ACTIVITY SECURITY
   ============================================================================ */
.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 22px;
}

.glass-panel {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-title {
  margin: 0;
  font-family: 'SyeDisplay', serif;
  font-size: 1.48rem;
  color: var(--cream);
}

.cmd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cmd-tab {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(28, 21, 25, 0.84);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cmd-tab:hover {
  border-color: var(--border-gold);
  color: var(--cream);
}

.cmd-tab.active {
  background: rgba(235, 194, 109, 0.18);
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

.cmd-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cmd-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: rgba(18, 13, 17, 0.76);
  border: 1px solid var(--border);
  transition: border-color 0.16s ease;
}

.cmd-row:hover {
  border-color: rgba(235, 194, 109, 0.34);
}

.cmd-usage {
  font-family: 'SyeMono', monospace;
  font-size: 0.86rem;
  color: var(--gold-bright);
  white-space: nowrap;
}

.cmd-desc {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-muted);
  text-align: right;
}

.security-lead {
  margin: 12px 0 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.auth-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.auth-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: rgba(18, 13, 17, 0.74);
  border: 1px solid var(--border);
}

.step-num {
  font-family: 'SyeMono', monospace;
  font-size: 0.82rem;
  color: var(--gold-bright);
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(235, 194, 109, 0.14);
  border: 1px solid rgba(235, 194, 109, 0.3);
  flex-shrink: 0;
}

.auth-steps strong {
  display: block;
  font-size: 0.93rem;
  color: var(--cream);
  margin-bottom: 3px;
}

.auth-steps p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'SyeMono', monospace;
  font-size: 0.72rem;
  color: var(--leaf);
  background: rgba(127, 201, 155, 0.12);
  border: 1px solid rgba(127, 201, 155, 0.3);
}

/* ============================================================================
   SECTION 5 — GRAND INVITE BANNER & FOOTER
   ============================================================================ */
.invite-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(235, 194, 109, 0.38);
  box-shadow: var(--shadow-lg);
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 46px 28px;
}

.invite-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}

.invite-banner-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(26, 18, 22, 0.32), rgba(14, 10, 13, 0.86) 80%);
}

.invite-banner-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.invite-title {
  margin: 0 0 12px;
  font-family: 'SyeDisplay', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  color: var(--cream);
}

.invite-copy {
  margin: 0 0 26px;
  color: #e4d8d0;
  font-size: 1rem;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(14, 10, 13, 0.86);
  backdrop-filter: blur(12px);
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-brand img {
  border-radius: 50%;
  border: 1px solid var(--border-gold);
}

.footer-brand strong {
  font-family: 'SyeDisplay', serif;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-note {
  font-family: 'SyeMono', monospace;
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-section,
  .studio-showcase,
  .split-showcase {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 10px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 14px 64px;
  }

  .ledger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .char-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmd-row {
    flex-direction: column;
  }

  .cmd-desc {
    text-align: left;
  }

  #landing-card3d-canvas {
    height: 390px;
  }

  .studio-viewport-card {
    min-height: 390px;
  }
}

/* ============================================================================
   CRISP 2D SYE HARDWARE SVG POINTER CURSOR (0ms LATENCY, NEVER INVISIBLE)
   ============================================================================ */
html,
body {
  cursor: url('/assets/cursor-default.svg') 3 2, auto;
}

a,
button,
.btn,
[role='button'],
select,
.char-pick-btn,
.trick-chip,
.frame-chip,
.seg-btn,
.cmd-tab,
.nav-icon-btn,
#landing-sye-stage {
  cursor: url('/assets/cursor-pointer.svg') 3 2, pointer !important;
}

input[type='text'],
input[type='search'],
input[type='number'],
input[type='email'],
input[type='password'],
textarea {
  cursor: text;
}
