:root {
  --p: #f2ebd9;
  /* cream body background */
  --p2: #e8ddca;
  /* slightly darker cream */
  --p3: #ddd0b8;
  /* dark cream */
  --p4: #cfc09f;
  /* darker cream highlight */

  --eq-blue: #09162a;
  /* EquusChain primary blue */
  --eq-blue-dark: #050d1a;
  /* Deeper slate blue */
  --eq-blue-light: #162f55;
  /* Lighter navy for hovers */
  --eq-blue-fade: rgba(9, 22, 42, 0.08);
  /* Fade blue */

  --g: #8a6a35;
  /* gold */
  --g2: #a5814e;
  /* gold medium */
  --g3: #c19e6b;
  /* gold light */
  --g4: #d9bc8f;
  /* gold pale */

  --k: var(--eq-blue);
  /* Text color - EquusChain blue */
  --k2: var(--eq-blue-dark);
  /* Dark section background */
  --k3: var(--eq-blue-light);
  /* Highlight elements */
  --d: #4c5e75;
  /* Muted text - slate blue */
  --r: rgba(138, 106, 53, 0.15);
  /* Gold transparent */
}

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

@media (min-width: 993px) {

  body.landing-cursor-active,
  body.landing-cursor-active * {
    cursor: none !important;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
  /* Increased from 16px for readability */
}

body {
  background: var(--p);
  color: var(--k);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

sup {
  font-size: 0.62em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.45em;
  margin-left: 0.15em;
}

/* ─── CUSTOM CURSOR (SMOOTH & LERP IMPLEMENTATION) ─── */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-cursor,
.custom-cursor * {
  pointer-events: none !important;
}

.cursor-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--g3);
  color: var(--eq-blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant SC', 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 700;
  transform: translate(-50%, -50%);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
  z-index: 100002;
  box-shadow: 0 0 10px rgba(193, 158, 107, 0.4), 0 0 20px rgba(193, 158, 107, 0.15);
}

/* Pulsing glow on the dot */
.cursor-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(193, 158, 107, 0.15);
  animation: cursorPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes cursorPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.cursor-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1.5px dashed rgba(193, 158, 107, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  transition:
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    border-width 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 100001;
}

/* Hover expansion state when mouse is over interactive elements */
.custom-cursor.hover .cursor-dot {
  background: var(--p);
  color: var(--eq-blue-dark);
  box-shadow: 0 0 16px rgba(193, 158, 107, 0.6), 0 0 32px rgba(193, 158, 107, 0.25);
}

.custom-cursor.hover .cursor-ring {
  width: 64px;
  height: 64px;
  border: 2px solid var(--g3);
  background: rgba(193, 158, 107, 0.06);
  box-shadow: 0 0 24px rgba(193, 158, 107, 0.2), inset 0 0 12px rgba(193, 158, 107, 0.05);
}

@media (max-width: 992px) {
  .custom-cursor {
    display: none !important;
  }
}

/* ─── PROGRESS LINE ──────────────────────── */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--g);
  z-index: 1200;
  width: 0;
  transition: width 0.1s ease;
}

/* ─── NAV CONTAINER & HEADER ──────────────── */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 24px 72px;
  transition:
    background 0.35s ease,
    padding 0.35s ease,
    border-bottom 0.35s ease,
    box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav-container.scrolled {
  background: rgba(9, 22, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 72px;
  border-bottom: 1px solid rgba(138, 106, 53, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1440px; */
  margin: 0 auto;
}

.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--eq-blue);
  transition: color 0.35s ease;
}

.logo-text b {
  color: var(--g);
  font-weight: 500;
  transition: color 0.35s ease;
}

.nav-container.scrolled nav .logo-text {
  color: var(--p);
}

.nav-container.scrolled nav .logo-text b {
  color: var(--g3);
}

.nav-logo {
  height: 42px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo.logo-dark {
  display: none;
}

.nav-logo.logo-light {
  display: block;
}

.nav-container.scrolled nav .nav-logo.logo-dark {
  display: block;
}

.nav-container.scrolled nav .nav-logo.logo-light {
  display: none;
}

.logo-wrap:hover .nav-logo {
  transform: scale(1.02);
}

/* Central Navigation Menu */
.nav-center-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eq-blue);
  /* dark blue initially */
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-container.scrolled nav .nav-link {
  color: var(--p);
  /* Light cream when navbar turns dark blue */
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--g3);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
  color: var(--g3) !important;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-entry {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--k);
  text-decoration: none;
  font-weight: 400;
  position: relative;
  padding: 8px 16px;
  border: 1.5px solid var(--g);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-container.scrolled nav .nav-entry {
  color: var(--g3);
  border-color: rgba(193, 158, 107, 0.4);
}

.nav-entry:hover {
  background: var(--g);
  color: var(--p) !important;
  border-color: var(--g);
  box-shadow: 0 4px 12px rgba(138, 106, 53, 0.15);
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: 1.5px solid var(--g);
  padding: 8px 16px;
  border-radius: 4px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--k);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-weight: 400;
  position: relative;
  cursor: pointer;
}

.nav-container.scrolled .lang-btn {
  color: var(--g3);
  border-color: rgba(193, 158, 107, 0.4);
}

.lang-arrow {
  font-size: 14px;
  display: inline-block;
  transition: transform 0.3s ease;
  transform: rotate(90deg);
}

.lang-btn:hover {
  background: var(--g);
  color: var(--p);
  border-color: var(--g);
  box-shadow: 0 4px 12px rgba(138, 106, 53, 0.15);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--eq-blue);
  border: 1.5px solid var(--g);
  border-radius: 6px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  padding: 12px 0;
  z-index: 1001;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.show {
  display: flex;
}

.lang-option {
  padding: 12px 20px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(242, 235, 217, 0.85);
  text-align: left;
  transition: all 0.2s ease;
  text-decoration: none;
}

.lang-option:hover {
  background: rgba(138, 106, 53, 0.15);
  color: var(--g3);
}

.lang-option.active {
  color: var(--g);
  font-weight: 500;
  background: rgba(138, 106, 53, 0.2);
}

/* ─── CHAPTER SYSTEM ─────────────────────── */
.ch {
  min-height: 100vh;
  position: relative;
  display: flex;
  padding: 140px 72px 80px;
}

.ch1 {
  padding: 80px 72px;
}

/* ─── CH 0: COVER (HERO) ─────────────────── */
.cover {
  background: var(--p);
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.cover-num {
  position: absolute;
  font-family: "Cormorant Garamond", serif;
  font-size: 40vw;
  font-weight: 300;
  line-height: 0.82;
  color: rgba(138, 106, 53, 0.04);
  top: 80px;
  left: 310px;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.cover-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.cover h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(54px, 7.5vw, 128px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--k);
  opacity: 0;
  animation: ap 1.1s 0.2s forwards;
  margin-bottom: 40px;
}

.cover h1 em {
  font-style: italic;
  color: var(--g);
}

.cover-foot {
  border-top: 1px solid var(--r);
  padding-top: 32px;
  opacity: 0;
  animation: ap 0.9s 0.5s forwards;
}

.hero-positioning {
  font-size: 22px !important;
  /* Increased font size */
  color: var(--k) !important;
  line-height: 1.8;
  max-width: 820px !important;
  font-weight: 300;
}

@keyframes ap {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ─── CH 1: CONVICTION (MANIFESTO) ──────── */
.manifesto {
  background: radial-gradient(circle at 50% 50%, rgba(138, 106, 53, 0.09) 0%, var(--eq-blue) 75%);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(138, 106, 53, 0.08);
  margin: 32px;
  pointer-events: none;
  border-radius: 8px;
}

.manifesto-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 0;
}

.manifesto-lines span {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.03);
}

.mf-tag {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--g3);
  margin-bottom: 32px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  position: relative;
  display: inline-block;
}



.mf-body {
  max-width: 960px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(242, 235, 217, 0.95);
  text-align: left;
  position: relative;
  z-index: 2;
}

.mf-body::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 6.8vw, 92px);
  float: left;
  line-height: 0.85;
  margin-right: 0.15em;
  margin-top: 0.08em;
  color: var(--g3);
  font-weight: 400;
  text-shadow: 0 0 10px rgba(138, 106, 53, 0.15);
}

[dir="rtl"] .mf-body::first-letter {
  float: right;
  margin-right: 0;
  margin-left: 0.15em;
}

.mf-body em {
  font-style: italic;
  color: var(--g3);
}

.mf-body strong {
  font-weight: 400;
  color: var(--p);
  font-style: normal;
}

.brand-gold {
  color: var(--g);
  font-weight: 400;
  font-style: italic;
}

.mf-foot {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(138, 106, 53, 0.18);
  padding-top: 50px;
  position: relative;
  z-index: 2;
}

.mf-stat {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(138, 106, 53, 0.06);
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.mf-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--g3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .mf-stat::before {
  transform-origin: right;
}

.mf-stat:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(138, 106, 53, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.mf-stat:hover::before {
  transform: scaleX(1);
}

.mf-stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  color: var(--g3);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  display: block;
}

.mf-stat-v {
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--p);
  margin-bottom: 4px;
  text-transform: none;
}

.mf-stat-l {
  font-size: 13px;
  color: var(--d);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── CH 2: ASSET WORLD ──────────────────── */
.assetworld {
  background: var(--p2);
  flex-direction: column;
}

.aw-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.aw-lbl {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 16px;
}

.aw-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--k);
}

.aw-title em {
  font-style: italic;
  color: var(--g);
}

.aw-intro {
  font-size: 18px;
  color: var(--d);
  line-height: 1.95;
}

.aw-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.aw-col:first-child {
  padding-right: 54px;
  border-right: 1px solid var(--r);
}

.aw-col:last-child {
  padding-left: 54px;
  margin-top: 72px;
}

.aw-entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--r);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: baseline;
  transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.aw-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--g);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-entry:hover {
  padding-left: 16px;
}

.aw-entry:hover::before {
  transform: scaleY(1);
}

.aw-entry-n {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--g3);
  font-variant-numeric: tabular-nums;
}

.aw-entry-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 400;
  color: var(--k);
}

.aw-entry-sub {
  font-size: 16px;
  color: var(--d);
  margin-top: 8px;
  line-height: 1.6;
}

/* ─── CH 3: SERVICES ─────────────────────── */
.how {
  background: var(--p);
  flex-direction: column;
}

.how-title-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 96px;
}

.how-lbl {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 16px;
}

.how-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 3.8vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--k);
}

.how-title em {
  font-style: italic;
  color: var(--g);
}

.how-lead {
  font-size: 18px;
  color: var(--d);
  line-height: 1.95;
}

.how-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--r);
}

.how-item {
  background: var(--p);
  padding: 54px 36px;
  transition: background 0.35s ease;
  display: flex;
  flex-direction: column;
}

.how-item:hover {
  background: var(--p2);
}

.how-n {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  color: var(--g3);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  font-weight: 500;
}

.how-item-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 400;
  color: var(--k);
  margin-bottom: 16px;
  line-height: 1.25;
}

.how-item-body {
  font-size: 16px;
  color: var(--d);
  line-height: 1.85;
  flex: 1;
  text-align: justify;
}

.how-item-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g);
  text-decoration: none;
  position: relative;
  align-self: flex-start;
}

.how-item-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--g4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.how-item-link:hover::after {
  transform: scaleX(1);
}

/* ─── CH 4: CONTACT & REQUEST ACCESS ─────── */
.contact-ch {
  background: var(--p3);
  flex-direction: column;
  justify-content: center;
}

.cc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.cc-lbl {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 48px;
  display: block;
}

.cc-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--k);
  margin-bottom: 32px;
}

.cc-heading em {
  font-style: italic;
  color: var(--g);
}

.cc-body {
  font-size: 18px;
  color: var(--d);
  line-height: 2;
  margin-bottom: 40px;
}

/* Form structure */
.ff {
  margin-bottom: 20px;
  position: relative;
}

.ff label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d);
  margin-bottom: 10px;
}

.ff input,
.ff select,
.ff textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #96774554;
  padding: 10px 0;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--k);
  outline: none;
  appearance: none;
  transition: border-color 0.3s ease;
  resize: none;
}

.ff input::placeholder,
.ff textarea::placeholder {
  color: var(--d);
  opacity: 0.45;
}

.ff input:focus,
.ff select:focus,
.ff textarea:focus {
  border-bottom-color: var(--g);
}

.ff select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M1 1l3 2.5L7 1' stroke='%238A6A35' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-color: transparent;
  padding-right: 20px;
}

.ff select option {
  background: var(--p3);
  color: var(--k);
  padding: 12px;
}

/* Form Checkboxes */
.ff-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-bottom: 16px;
}

.cb-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  user-select: none;
  padding: 10px 0;
}

.cb-container input {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  top: 2px;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto !important;
}

.cb-custom {
  width: 18px;
  height: 18px;
  border: 1px solid var(--g);
  background: transparent;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.cb-container input:checked~.cb-custom {
  background: var(--g);
  border-color: var(--g);
}

.cb-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cb-container input:checked~.cb-custom::after {
  display: block;
}

.cb-text {
  font-size: 15px;
  color: var(--d);
  line-height: 1.6;
}

.cb-text a {
  color: var(--g);
  text-decoration: underline;
}

.cb-text a:hover {
  color: var(--g2);
}

.sub-btn {
  width: 100%;
  margin-top: 12px;
  background: var(--eq-blue);
  color: var(--p);
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 18px;
  border: none;
  transition:
    background 0.4s ease,
    transform 0.2s ease;
}

.sub-btn:hover {
  background: var(--g);
  color: var(--k);
}

.cc-note {
  font-size: 14px;
  color: var(--d);
  opacity: 0.75;
  margin-top: 18px;
  line-height: 1.75;
  text-align: center;
}

/* ─── FOOTER ──────────────────────────────── */
footer {
  background: var(--eq-blue);
  /* Updated background color to dark EquusChain blue */
  padding: 72px 72px 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.ft-logo {
  height: 46px;
  width: auto;
  display: block;
}

.ft-brand-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ft-address {
  font-size: 13.5px;
  color: rgba(210, 195, 165, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.ft-cols {
  display: flex;
  gap: 120px;
}

.ft-col h5 {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--g3);
  margin-bottom: 20px;
}

.ft-col ul {
  list-style: none;
}

.ft-col li {
  margin-bottom: 10px;
}

.ft-col a {
  font-size: 15px;
  color: rgba(210, 195, 165, 0.8);
  text-decoration: none;
  transition: color 0.25s ease;
}

.ft-col a:hover {
  color: var(--p4);
}

.ft-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

.ft-legal {
  font-size: 14px;
  color: rgba(210, 195, 165, 0.7);
  line-height: 1.8;
  max-width: 780px;
}

.ft-lnks {
  display: flex;
  gap: 28px;
}

.ft-lnks a {
  font-size: 14px;
  color: rgba(210, 195, 165, 0.7);
  text-decoration: none;
  transition: color 0.25s ease;
}

.ft-lnks a:hover {
  color: rgba(210, 195, 165, 0.7);
}

/* ─── SCROLL REVEAL ───────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv.d1 {
  transition-delay: 0.08s;
}

.rv.d2 {
  transition-delay: 0.16s;
}

.rv.d3 {
  transition-delay: 0.24s;
}

.rv.d4 {
  transition-delay: 0.32s;
}

.rv.d5 {
  transition-delay: 0.4s;
}

/* ─── COOKIE BANNER ───────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--eq-blue);
  border: 1px solid var(--g);
  border-radius: 8px;
  padding: 30px;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  display: none;
  animation: slideUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  max-width: 550px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: var(--g3);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.cookie-banner-body {
  font-family: "Jost", sans-serif;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(242, 235, 217, 0.85);
}

.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 20px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  transition: all 0.3s ease;
}

.refuse-btn {
  background: transparent;
  border: 1px solid rgba(242, 235, 217, 0.2);
  color: rgba(242, 235, 217, 0.85);
}

.refuse-btn:hover {
  border-color: var(--g3);
  color: var(--g3);
  background: rgba(138, 106, 53, 0.05);
}

.accept-btn {
  background: var(--g);
  color: var(--k);
  font-weight: 500;
}

.accept-btn:hover {
  background: var(--g3);
  box-shadow: 0 4px 12px rgba(193, 158, 107, 0.25);
}

.cookie-link {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  color: var(--g3);
  text-decoration: underline;
  align-self: flex-start;
  transition: color 0.2s;
}

.cookie-link:hover {
  color: var(--g4);
}

/* ─── MODAL OVERLAYS (LIVE TERMS/PRIVACY) ─── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 13, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  break-inside: true;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--eq-blue-dark);
  border: 1px solid var(--g3);
  border-radius: 6px;
  width: 90%;
  max-width: 600px;
  padding: 40px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 80vh;
  overflow-y: auto;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: rgba(242, 235, 217, 0.5);
  transition: color 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--g3);
}

.modal-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--g4);
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(193, 158, 107, 0.25);
  padding-bottom: 12px;
  font-weight: 400;
}

.modal-body-content {
  font-family: "Jost", sans-serif;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 235, 217, 0.8);
}

.modal-body-content p {
  margin-bottom: 16px;
}

.modal-body-content strong {
  color: var(--g3);
}

/* ─── RTL (Arabic) STYLING SUPPORT ────────── */
[dir="rtl"] {
  text-align: right;
}

/* [dir="rtl"] nav {
    flex-direction: row-reverse;
} */

[dir="rtl"] .nav-center-menu {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-right {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

[dir="rtl"] .cover-foot {
  text-align: right;
}

[dir="rtl"] .aw-head {
  text-align: right;
}

[dir="rtl"] .aw-entry {
  /* grid-template-columns: 1fr auto; */
  text-align: right;
  padding-left: 0;
}

[dir="rtl"] .aw-entry::before {
  left: auto;
  right: 0;
  transform-origin: bottom;
}

[dir="rtl"] .aw-entry:hover {
  padding-left: 0;
  padding-right: 16px;
}

[dir="rtl"] .aw-col:first-child {
  padding-right: 0;
  padding-left: 54px;
  border-right: none;
  border-left: 1px solid var(--r);
}

[dir="rtl"] .aw-col:last-child {
  padding-left: 0;
  padding-right: 54px;
}

[dir="rtl"] .how-title-row {
  grid-template-columns: 7fr 5fr;
}

[dir="rtl"] .how-item {
  text-align: right;
}

[dir="rtl"] .how-item-link {
  align-self: flex-end;
}

[dir="rtl"] .cc-left {
  text-align: right;
}

[dir="rtl"] .ff label {
  text-align: right;
}

[dir="rtl"] .ff input,
[dir="rtl"] .ff select,
[dir="rtl"] .ff textarea {
  text-align: right;
}

[dir="rtl"] .ff select {
  background-position: left 8px center;
  padding-right: 0;
  padding-left: 20px;
}

[dir="rtl"] .cb-container {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

[dir="rtl"] .ft-top {
  flex-direction: row-reverse;
}

[dir="rtl"] .ft-cols {
  flex-direction: row-reverse;
}

[dir="rtl"] .ft-col {
  text-align: right;
}

[dir="rtl"] .ft-col ul {
  text-align: right;
}

[dir="rtl"] .ft-bot {
  flex-direction: row-reverse;
}

[dir="rtl"] .ft-lnks {
  flex-direction: row-reverse;
}

[dir="rtl"] .cookie-banner {
  left: 30px;
  right: auto;
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 20px;
}

/* ─── RESPONSIVE DESIGN ───────────────────── */
@media (max-width: 960px) {

  .cover,
  .manifesto,
  .assetworld,
  .how,
  .contact-ch,
  footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  nav {
    padding: 0 0 0 0 !important;
  }

  .nav-container {
    padding: 20px 32px;
  }

  .nav-container.scrolled {
    padding: 14px 32px;
  }

  .nav-center-menu {
    display: none;
    /* Hide desktop nav links on smaller screens */
  }

  .nav-right .nav-entry-btn {
    display: none;
    /* Hide primary nav CTA on mobile */
  }

  .cover h1 {
    font-size: clamp(48px, 12vw, 84px);
  }

  .aw-head,
  .aw-cols,
  .how-title-row,
  .cc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .aw-col:first-child {
    border-right: none;
    padding-right: 0;
  }

  .aw-col:last-child {
    padding-left: 0;
    margin-top: 0;
  }

  .how-items {
    grid-template-columns: 1fr 1fr;
  }

  .ft-top {
    flex-direction: column;
    gap: 40px;
  }

  .ft-bot {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }

  .ft-legal {
    max-width: 100%;
  }

  .ft-lnks {
    justify-content: center;
  }

  [dir="rtl"] .aw-col:first-child {
    border-left: none;
    padding-left: 0;
  }

  [dir="rtl"] .aw-col:last-child {
    padding-right: 0;
  }

  .mf-foot {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
  }

  .manifesto::after {
    margin: 16px;
  }
}

@media (max-width: 600px) {

  .cover,
  .manifesto,
  .assetworld,
  .how,
  .contact-ch,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mf-foot {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 30px;
  }

  .mf-stat {
    padding: 20px;
  }

  .manifesto::after {
    margin: 10px;
  }

  nav {
    padding-left: 0px;
    padding-right: 0px;
  }

  .ch {
    min-height: 60vh;
  }

  .how-item {
    padding: 34px 6px;
  }

  .nav-container {
    padding: 16px 20px;
  }

  .nav-container.scrolled {
    padding: 12px 20px;
  }

  .how-items {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 20px;
  }

  .modal-content {
    padding: 24px;
  }
}

/* private css start from hree */

:root {
  --ink: #08090f;
  --ink-mid: #0d1020;
  --ink-l: #141828;
  --ink-ll: #1a2035;
  --gold: #b8974a;
  --gold-hi: #d4b06a;
  --gold-lo: #7a6030;
  --cream: #ede8dc;
  --cream-d: #a89e87;
  --line: rgba(184, 151, 74, 0.16);
  --line-s: rgba(255, 255, 255, 0.055);
  --green: #2ecc71;
  --red: #e74c3c;
  --blue: #5b8def;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── AUTH GATE ── */
#auth-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-box {
  width: 480px;
  background: var(--ink-mid);
  border: 1px solid var(--line);
  padding: 40px 30px;
  text-align: center;
}

.auth-logo {
  margin-bottom: 40px;
}

.auth-logo-word {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.auth-logo-word b {
  color: var(--gold);
  font-weight: 500;
}

.auth-tabs {
  display: flex;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-s);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-d);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Jost", sans-serif;
}

.auth-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.auth-field {
  margin-bottom: 18px;
  text-align: left;
}

.auth-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-d);
  display: block;
  margin-bottom: 8px;
}

.auth-input {
  width: 100%;
  background: var(--ink-l);
  border: 1px solid var(--line-s);
  color: var(--cream);
  padding: 12px 16px;
  font-family: "Jost", sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.auth-input:focus {
  border-color: var(--gold-lo);
}

.auth-select {
  width: 100%;
  background: var(--ink-l);
  border: 1px solid var(--line-s);
  color: var(--cream);
  padding: 12px 16px;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  outline: none;
  appearance: none;
}

.auth-btn {
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 14px;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 8px;
}

.auth-btn:hover {
  background: var(--gold-hi);
}

.auth-note {
  font-size: 12.5px;
  color: var(--cream-d);
  margin-top: 20px;
  line-height: 1.8;
}

.auth-back {
  font-size: 13px;
  color: var(--cream-d);
  padding: 16px 0;
}

.auth-back a {
  color: var(--gold);
  text-decoration: none;
  padding: 16px 0;
}

@media (max-width: 600px) {
  .auth-box {
    width: auto;
    padding: 20px 20px;
  }

  .auth-tab {
    padding: 16px 6px;
  }
}

/* ── APP SHELL ── */
#app {
  display: none;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--ink-mid);
  border-right: 1px solid var(--line-s);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sb-logo {
  padding: 28px 24px;
  border-bottom: 1px solid var(--line-s);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-logo-word {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.sb-logo-word b {
  color: var(--gold);
  font-weight: 500;
}

.sb-user {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-s);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-lo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--gold-hi);
  flex-shrink: 0;
}

.sb-user-name {
  font-size: 16px;
  color: var(--cream);
  font-weight: 400;
}

.sb-user-tier {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldlo);
}

.sb-nav {
  flex: 1;
  padding: 20px 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sb-section {
  padding: 16px 24px 8px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lo);
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  font-size: 15px;
  color: var(--cream-d);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.sb-link:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

.sb-link.active {
  color: var(--gold);
  background: rgba(184, 151, 74, 0.07);
  border-left: 2px solid var(-- gold);
}

.sb-link svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  flex-shrink: 0;
}

.sb-link.active svg {
  opacity: 1;
}

.sb-footer {
  border-top: 1px solid var(--line-s);
}

.sb-logout {
  width: 100%;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--cream-d);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.sb-logout:hover {
  color: var(--gold);
}

/* MAIN CONTENT */
.main {
  margin-left: 240px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  min-width: 0;
}

.topbar {
  background: var(--ink-mid);
  border-bottom: 1px solid var(--line-s);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  font-weight: 300;
  color: var(--cream);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tb-pill {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 6px 16px;
}

.content {
  padding: 36px 40px;
  flex: 1;
}

/* PANELS */
.panel {
  display: none;
}

.panel.active {
  display: block;
}

/* CARDS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--ink-mid);
  border: 1px solid var(--line-s);
  padding: 24px 28px;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: var(--line);
}

.sc-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-d);
  margin-bottom: 10px;
}

.sc-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}

.sc-sub {
  font-size: 15px;
  color: var(--cream-d);
  margin-top: 6px;
}

.sc-up {
  color: var(--green);
}

.sc-dn {
  color: var(--red);
}

/* SECTION TITLE */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sec-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--cream);
}

.sec-action {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
}

/* TABLE */
.tbl-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.tbl-wrapper .tbl {

  width: 100%;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
}

.tbl th {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-d);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-s);
}

.tbl td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-s);
  font-size: 15px;
  color: var(--cream-d);
}

.tbl tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.tbl td.name {
  color: var(--cream);
  font-weight: 400;
}

.tbl td.pos {
  color: var(--green);
}

.tbl td.neg {
  color: var(--red);
}

.badge {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid;
  display: inline-block;
}

.badge-g {
  color: var(--green);
  border-color: rgba(46, 204, 113, 0.3);
}

.badge-y {
  color: var(--gold);
  border-color: rgba(184, 151, 74, 0.3);
}

.badge-b {
  color: var(--blue);
  border-color: rgba(91, 141, 239, 0.3);
}

.badge-r {
  color: var(--red);
  border-color: rgba(231, 76, 60, 0.3);
}

/* GRID CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.asset-card {
  background: var(--ink-mid);
  border: 1px solid var(--line-s);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s;
  cursor: pointer;
}

.asset-card:hover {
  border-color: var(--line);
}

.ac-img {
  height: 140px;
  background: var(--ink-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.ac-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(8, 9, 15, 0.7));
}

.ac-body {
  padding: 20px 22px;
}

.ac-cat {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lo);
  margin-bottom: 8px;
}

.ac-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 6px;
}

.ac-sub {
  font-size: 15px;
  color: var(--cream-d);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ac-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-s);
}

.ac-yield {
  font-size: 13px;
  color: var(--green);
}

.ac-min {
  font-size: 13px;
  color: var(--cream-d);
}

.ac-action {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 7px 16px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  transition: all 0.3s;
}

.ac-action:hover {
  background: var(--gold);
  color: var(--ink);
}

/* TOKENISATION WIZARD */
.wizard {
  max-width: 760px;
}

.wiz-steps {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  background: var(--ink-mid);
  border: 1px solid var(--line-s);
  padding: 0;
}

.wiz-step {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  position: relative;
  border-right: 1px solid var(--line-s);
}

.wiz-step:last-child {
  border-right: none;
}

.wiz-step.done {
  background: rgba(184, 151, 74, 0.06);
}

.wiz-step.active {
  background: rgba(184, 151, 74, 0.1);
}

.ws-num {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold￾lo);
  margin-bottom: 4px;
}

.ws-name {
  font-size: 11px;
  color: var(--cream-d);
}

.wiz-step.active .ws-name {
  color: var(--gold);
}

.wiz-step.done .ws-name {
  color: var(--cream);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-grid.full {
  grid-template-columns: 1fr;
}

.f-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream￾d);
  display: block;
  margin-bottom: 8px;
}

.f-input,
.f-select,
.f-textarea {
  width: 100%;
  background: var(--ink-l);
  border: 1px solid var(--line-s);
  color: var(--cream);
  padding: 11px 14px;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}

.f-input:focus,
.f-select:focus,
.f-textarea:focus {
  border-color: var(--gold-lo);
}

.f-textarea {
  min-height: 100px;
  resize: vertical;
}

.f-select {
  appearance: none;
}

.f-hint {
  font-size: 11px;
  color: var(--cream-d);
  margin-top: 6px;
  line-height: 1.6;
}

.wiz-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.btn-wiz {
  padding: 12px 32px;
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-wiz-p {
  background: var(--gold);
  color: var(--ink);
  border: none;
}

.btn-wiz-p:hover {
  background: var(--gold-hi);
}

.btn-wiz-s {
  background: none;
  color: var(--cream-d);
  border: 1px solid var(--line-s);
}

.btn-wiz-s:hover {
  color: var(--cream);
  border-color: var(--line);
}

/* DOCUMENT UPLOAD AREA */
.doc-zone {
  border: 1px dashed var(--line);
  padding: 32px;
  text-align: center;
  color: var(--cream-d);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--ink-l);
}

.doc-zone:hover {
  border-color: var(--gold-lo);
  color: var(--cream);
}

.doc-zone-icon {
  font-size: 28px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.doc-item {
  background: var(--ink-l);
  border: 1px solid var(--line-s);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-name {
  font-size: 12.5px;
  color: var(--cream);
}

.doc-status {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* PORTFOLIO */
.port-chart {
  background: var(--ink-mid);
  border: 1px solid var(--line-s);
  padding: 28px;
  margin-bottom: 20px;
}

.port-chart-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  color: var(-- cream);
  margin-bottom: 20px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 100px;
}

.chart-bar {
  flex: 1;
  background: var(--gold-lo);
  border-radius: 1px 1px 0 0;
  position: relative;
  transition: background 0.3s;
}

.chart-bar:hover {
  background: var(--gold);
}

.chart-bar .tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-ll);
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 11px;
  color: var(--cream);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.chart-bar:hover .tooltip {
  opacity: 1;
}

.chart-labels {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.chart-label {
  flex: 1;
  text-align: center;
  font-size: 9.5px;
  color: var(--cream-d);
}

/* DISTRIBUTION CALENDAR */
.dist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dist-item {
  background: var(--ink-mid);
  border: 1px solid var(--line-s);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.di-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.di-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  color: var(--gold-hi);
  min-width: 60px;
}

.di-name {
  font-size: 12.5px;
  color: var(--cream);
}

.di-sub {
  font-size: 11px;
  color: var(--cream-d);
}

.di-amt {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--green);
}

/* NOTIFICATION */
.notif {
  display: flex;
  align-items: start;
  gap: 14px;
  background: var(--ink-mid);
  border: 1px solid var(--line-s);
  padding: 18px 20px;
  margin-bottom: 8px;
}

.notif-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.notif-text {
  font-size: 15px;
  color: var(--cream-d);
}

.notif-text strong {
  color: var(--cream);
}

.notif-time {
  font-size: 13px;
  color: var(--cream-d);
  margin-top: 4px;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 15, 0.85);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--ink-mid);
  border: 1px solid var(--line);
  width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream-d);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--gold);
}

.modal h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 300;
  color: var(-- cream);
  margin-bottom: 20px;
}

.modal-body {
  font-size: 13px;
  color: var(--cream-d);
  line-height: 2;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.modal-invest {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 12px 28px;
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-invest:hover {
  background: var(--gold-hi);
}

.modal-cancel {
  background: none;
  color: var(--cream-d);
  border: 1px solid var(--line-s);
  padding: 12px 22px;
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-cancel:hover {
  color: var(--cream);
  border-color: var(--line);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-s);
}

.detail-row:last-child {
  border-bottom: none;
}

.dr-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-d);
}

.dr-val {
  font-size: 13px;
  color: var(--cream);
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-lo);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* RESPONSIVE NOTICE */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.two-col>div,
.three-col>div {
  min-width: 0;
}

/* ─── BACK TO TOP PROGRESS CIRCLE ────────────────── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(138, 106, 53, 0.2);

  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease,
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--g);
  background: var(--eq-blue-light);
  box-shadow: 0 6px 20px rgba(138, 106, 53, 0.3);
}

.back-to-top svg.progress-circle {
  position: absolute;
  top: -1px;
  left: -1px;
  transform: rotate(-90deg);
  /* Start progress at the top */
  pointer-events: none;
}

.back-to-top svg.progress-circle circle {
  fill: none;
  stroke-width: 2.5;
}

.back-to-top svg.progress-circle .progress-bg {
  stroke: rgba(242, 235, 217, 0.08);
  /* Blank background path */
}

.back-to-top svg.progress-circle .progress-bar {
  stroke: var(--g);
  /* Gold progress stroke */
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  transition: stroke-dashoffset 0.1s linear;
}

.back-to-top .arrow-up {
  font-size: 18px;
  color: var(--g);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  margin-top: -2px;
}

.back-to-top:hover .arrow-up {
  transform: translateY(-3px);
  color: var(--g3);
}

/* Ensure custom cursor hover interaction is captured */
.back-to-top {
  pointer-events: auto !important;
}

/* RTL overrides for Dashboard */
[dir="rtl"] .sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--line-s);
}

[dir="rtl"] .sb-link {
  text-align: right;
}

[dir="rtl"] .sb-link.active {
  border-left: none;
  border-right: 2px solid var(--gold);
}

[dir="rtl"] .main {
  margin-left: 0;
  margin-right: 240px;
}

/* ─── MOBILE HAMBURGER BUTTON & SIDEBAR MENU ─── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  margin-left: 10px;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--eq-blue);
  transition:
    background-color 0.35s ease,
    transform 0.3s ease;
}

.nav-container.scrolled .hamburger-bar {
  background-color: #f2ebd9;
}

@media (max-width: 960px) {
  .hamburger-btn {
    display: flex;
  }
}

/* Mobile Menu Sidebar Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 13, 26, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-sidebar {
  position: absolute;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: var(--eq-blue-dark);
  border-left: 1px solid var(--g3);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.open .mobile-menu-sidebar {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: #f2ebd9;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: var(--g3);
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.mobile-logo-img {
  height: 38px;
  width: auto;
}

.mobile-logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  color: #f2ebd9;
}

.mobile-logo-text b {
  color: var(--g3);
  font-weight: 500;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-link {
  font-family: "Jost", sans-serif;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f2ebd9;
  text-decoration: none;
  font-weight: 400;
  padding: 8px 0;
  border-bottom: 1px solid rgba(242, 235, 217, 0.05);
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--g3);
  padding-left: 8px;
}

.mobile-menu-entry-btn {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g3);
  text-decoration: none;
  font-weight: 400;
  text-align: center;
  padding: 12px 24px;
  border: 1px solid rgba(193, 158, 107, 0.4);
  border-radius: 4px;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.mobile-menu-entry-btn:hover {
  background: var(--g);
  color: var(--eq-blue-dark);
  border-color: var(--g);
  box-shadow: 0 4px 12px rgba(138, 106, 53, 0.2);
}

/* ─── DASHBOARD RESPONSIVE SIDEBAR & LAYOUTS ─── */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 15, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sb-close-btn {
  display: none;
  background: none;
  border: none;
  color: var(--cream-d);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.3s ease;
}

.sb-close-btn:hover {
  color: var(--gold);
}

.topbar-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 16px;
  z-index: 51;
}

.topbar-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--cream);
  transition: background-color 0.3s ease;
}

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1000;
    width: 260px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sb-close-btn {
    display: block;
  }

  .topbar-menu-btn {
    display: flex;
  }

  .main {
    margin-left: 0 !important;
  }

  /* Responsive grid layouts */
  .stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .two-col {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .three-col {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .content {
    padding: 24px 20px !important;
  }

  .topbar {
    padding: 16px 20px !important;
  }

  /* Hide Live pill and Date on mobile topbar */
  .topbar .tb-pill,
  .topbar #topbar-date {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: 1fr !important;
  }

  .card-grid {
    grid-template-columns: 1fr !important;
  }

  /* Wizard steps wrap on small mobile */
  .wiz-steps {
    flex-direction: column;
    margin-bottom: 24px;
  }

  .wiz-step {
    border-right: none !important;
    border-bottom: 1px solid var(--line-s);
    padding: 12px !important;
  }

  .wiz-step:last-child {
    border-bottom: none !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Additional mobile specific responsive overrides */
  .topbar-title {
    font-size: 20px !important;
  }

  .modal {
    width: 92% !important;
    padding: 32px 20px !important;
    max-height: 90vh !important;
  }

  .wiz-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .btn-wiz {
    width: 100% !important;
    text-align: center;
  }

  .content {
    padding: 16px 14px !important;
  }

  .topbar {
    padding: 12px 14px !important;
  }

  .port-chart {
    padding: 16px !important;
  }

  .tbl-wrapper .tbl {
    min-width: 800px;

  }
}

/* RTL adjustments for mobile dashboard */
[dir="rtl"] .sidebar {
  left: auto;
  right: 0;
  transform: translateX(100%);
}

[dir="rtl"] .sidebar.open {
  transform: translateX(0);
}

[dir="rtl"] .topbar-menu-btn {
  margin-right: 0;
  margin-left: 16px;
}

@media (max-width: 600px) {
  .sb-nav {
    flex: none;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .sidebar {
    width: 230px !important;
  }

  [dir="rtl"] .sidebar {
    transform: translateX(100%) !important;
  }

  [dir="rtl"] .sidebar.open {
    transform: translateX(0) !important;
  }
}