:root {
  --cv-unani-ink: #031824;
  --cv-unani-deep: #052a36;
  --cv-unani-teal: #0a5967;
  --cv-unani-cyan: #35e4ef;
  --cv-unani-aqua: #a9f6f3;
  --cv-unani-paper: #f2f7f3;
  --cv-unani-mist: #dce9e3;
  --cv-unani-amber: #f0a24a;
  --cv-unani-coral: #dd765b;
  --cv-unani-moss: #738a63;
  --cv-unani-line: rgba(133, 205, 201, 0.22);
  --cv-unani-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

body[data-cv-unani-v3] {
  background: var(--cv-unani-ink);
  max-width: 100%;
  overflow-x: clip !important;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
}

html:has(body[data-cv-unani-v3]) {
  max-width: 100%;
  overflow-x: clip !important;
  overscroll-behavior-x: none;
}

body[data-cv-unani-v3] main {
  width: 100%;
  max-width: 100vw;
  overflow: clip;
  background: var(--cv-unani-ink);
}

body[data-cv-unani-v3] main > section {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

body[data-cv-unani-v3] main > section::before,
body[data-cv-unani-v3] main > section::after {
  pointer-events: none;
}

/* Hero — generated 3D living-system artwork with restrained parallax. */
body[data-cv-unani-v3] main > section:first-of-type {
  min-height: min(860px, calc(100svh - 86px));
  padding-top: clamp(112px, 14vw, 180px);
  padding-bottom: clamp(74px, 10vw, 130px);
  background:
    radial-gradient(circle at 78% 45%, rgba(53, 228, 239, 0.12), transparent 34%),
    linear-gradient(118deg, #02131e 0%, #031824 46%, #062e3b 100%) !important;
  color: white;
}

body[data-cv-unani-v3] main > section:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(137, 225, 221, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 225, 221, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 58%);
}

body[data-cv-unani-v3] main > section:first-of-type::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(149, 239, 234, 0.72), transparent);
  box-shadow: 0 -24px 80px rgba(53, 228, 239, 0.2);
}

body[data-cv-unani-v3] main > section:first-of-type > div:first-child {
  position: relative;
  z-index: 3;
  width: min(620px, 51vw);
}

body[data-cv-unani-v3] main > section:first-of-type h1 {
  max-width: 720px;
  color: #f7fbf9 !important;
  font-family: var(--cv-unani-serif);
  font-size: clamp(3.5rem, 7vw, 7.8rem) !important;
  font-weight: 400 !important;
  line-height: 0.86 !important;
  letter-spacing: -0.055em !important;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.35);
}

body[data-cv-unani-v3] main > section:first-of-type h1 em {
  color: var(--cv-unani-aqua) !important;
  font-weight: 400;
}

body[data-cv-unani-v3] main > section:first-of-type > div:first-child > p,
body[data-cv-unani-v3] main > section:first-of-type > div:first-child > span {
  color: rgba(231, 247, 243, 0.78) !important;
}

body[data-cv-unani-v3] main > section:first-of-type > div:first-child > p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.18em;
}

body[data-cv-unani-v3] main > section:first-of-type > div:first-child > p::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--cv-unani-cyan);
  box-shadow: 0 0 18px var(--cv-unani-cyan);
}

body[data-cv-unani-v3] main > section:first-of-type > div:first-child > a {
  position: relative;
  overflow: hidden;
  border-color: rgba(111, 241, 239, 0.6) !important;
  background: rgba(4, 42, 52, 0.66) !important;
  color: #f5ffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

body[data-cv-unani-v3] main > section:first-of-type > div:first-child > a:hover {
  transform: translateY(-3px);
  background: rgba(7, 85, 96, 0.82) !important;
  box-shadow: 0 20px 64px rgba(12, 190, 199, 0.25);
}

.cv-unani-hero-art {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -3vw;
  width: min(68vw, 1080px);
  margin: 0;
  transform: translate3d(0, calc(-50% + var(--cv-unani-parallax, 0px)), 0);
  pointer-events: none;
  filter: saturate(1.08) contrast(1.04);
  will-change: transform;
}

.cv-unani-hero-art::after {
  content: "";
  position: absolute;
  inset: 8% 8% 2% 28%;
  border: 1px solid rgba(159, 245, 240, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(53, 228, 239, 0.18),
    inset 0 0 80px rgba(53, 228, 239, 0.08);
  animation: cvUnaniHalo 9s ease-in-out infinite;
}

.cv-unani-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.94;
  mix-blend-mode: screen;
  transform: scale(1.03);
  animation: cvUnaniBreathe 10s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 1%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 1%, #000 22%, #000 100%);
}

.cv-unani-hero-orbit {
  position: absolute;
  inset: 18% 8% 8% 36%;
  border: 1px solid rgba(251, 187, 105, 0.32);
  border-radius: 50%;
  transform: rotate(-12deg);
  animation: cvUnaniOrbit 30s linear infinite;
}

.cv-unani-hero-orbit::before,
.cv-unani-hero-orbit::after {
  content: "";
  position: absolute;
  width: 11px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cv-unani-cyan);
  box-shadow: 0 0 26px var(--cv-unani-cyan);
}

.cv-unani-hero-orbit::before {
  top: 10%;
  left: 18%;
}

.cv-unani-hero-orbit::after {
  right: 7%;
  bottom: 24%;
  background: var(--cv-unani-amber);
  box-shadow: 0 0 26px var(--cv-unani-amber);
}

body[data-cv-unani-v3] main > section:first-of-type aside {
  z-index: 4;
  border: 1px solid rgba(152, 228, 224, 0.22) !important;
  background: linear-gradient(145deg, rgba(10, 58, 68, 0.62), rgba(2, 22, 32, 0.76)) !important;
  color: rgba(235, 250, 247, 0.78) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

body[data-cv-unani-v3] main > section:first-of-type aside small,
body[data-cv-unani-v3] main > section:first-of-type aside b {
  color: var(--cv-unani-aqua) !important;
}

/* Foundation map — a dark interactive chamber with dimensional nodes. */
body[data-cv-unani-v3] #map {
  background:
    radial-gradient(circle at 50% 52%, rgba(53, 228, 239, 0.14), transparent 36%),
    radial-gradient(circle at 15% 18%, rgba(221, 118, 91, 0.1), transparent 25%),
    #041c28 !important;
  color: #effbf8;
}

body[data-cv-unani-v3] #map::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    radial-gradient(circle, rgba(171, 247, 242, 0.32) 0 1px, transparent 1.7px) 0 0 / 62px 62px,
    linear-gradient(145deg, transparent 48%, rgba(114, 210, 207, 0.08) 50%, transparent 52%);
  mask-image: radial-gradient(circle at 50% 55%, #000, transparent 74%);
}

body[data-cv-unani-v3] #map h2,
body[data-cv-unani-v3] #map h3 {
  color: #f5fbf9 !important;
}

body[data-cv-unani-v3] #map em,
body[data-cv-unani-v3] #map > div:first-child > p {
  color: var(--cv-unani-aqua) !important;
}

body[data-cv-unani-v3] #map > div:first-child > span {
  color: rgba(223, 242, 237, 0.68) !important;
}

body[data-cv-unani-v3] #map [class*="_orbitMap_"] {
  counter-reset: cv-unani-map;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  place-items: stretch !important;
  gap: clamp(14px, 1.6vw, 24px) !important;
  width: min(1180px, calc(100% - 8vw)) !important;
  height: auto !important;
  margin: clamp(64px, 8vw, 108px) auto 0 !important;
  overflow: visible;
  perspective: none;
  transform: none !important;
  transform-style: flat;
}

body[data-cv-unani-v3] #map [class*="_ring_"],
body[data-cv-unani-v3] #map [class*="_ringTwo_"] {
  display: none !important;
}

body[data-cv-unani-v3] #map [class*="_center_"] {
  position: relative !important;
  inset: auto !important;
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: minmax(250px, 0.8fr) minmax(320px, 1.2fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: center;
  width: 100% !important;
  height: clamp(350px, 38vw, 470px) !important;
  padding: clamp(34px, 5vw, 74px) !important;
  overflow: hidden !important;
  border-color: rgba(120, 236, 232, 0.5) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 76% 46%, rgba(82, 236, 230, 0.23), transparent 33%),
    radial-gradient(circle at 15% 14%, rgba(240, 162, 74, 0.11), transparent 29%),
    linear-gradient(125deg, rgba(3, 31, 43, 0.98), rgba(5, 69, 78, 0.94) 62%, rgba(2, 25, 36, 0.98)) !important;
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.45),
    0 0 72px rgba(53, 228, 239, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: none !important;
  animation: none;
  isolation: isolate;
}

body[data-cv-unani-v3] #map [class*="_center_"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -7%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(138, 244, 239, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(53, 228, 239, 0.13), inset 0 0 70px rgba(53, 228, 239, 0.08);
  animation: cvUnaniHalo 9s ease-in-out infinite;
}

body[data-cv-unani-v3] #map [class*="_center_"] [class*="_visual_"] {
  grid-column: 2;
  grid-row: 1 / 4;
  justify-self: center;
  width: min(34vw, 390px) !important;
  height: min(30vw, 340px) !important;
  transform: scale(1.15) !important;
  filter: drop-shadow(0 24px 32px rgba(0, 15, 24, 0.46));
}

body[data-cv-unani-v3] #map [class*="_center_"] small,
body[data-cv-unani-v3] #map [class*="_center_"] strong,
body[data-cv-unani-v3] #map [class*="_center_"] > span {
  position: relative;
  z-index: 2;
  grid-column: 1;
  width: auto !important;
  max-width: 430px;
  text-align: left !important;
}

body[data-cv-unani-v3] #map [class*="_center_"] strong {
  margin: 14px 0 10px;
  font-family: var(--cv-unani-serif);
  font-size: clamp(3.4rem, 6vw, 6.8rem) !important;
  font-weight: 400 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.055em !important;
}

body[data-cv-unani-v3] #map [class*="_center_"] > span {
  color: rgba(225, 246, 242, 0.68) !important;
  letter-spacing: 0.13em;
}

body[data-cv-unani-v3] #map [class*="_center_"] strong,
body[data-cv-unani-v3] #map [class*="_center_"] small,
body[data-cv-unani-v3] #map [class*="_center_"] span {
  color: #eafffb !important;
}

body[data-cv-unani-v3] #map [class*="_node_"] {
  counter-increment: cv-unani-map;
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  grid-template-rows: minmax(180px, 1fr) auto auto;
  align-items: end;
  width: 100% !important;
  height: auto !important;
  min-height: 330px;
  padding: 22px 22px 25px !important;
  overflow: hidden !important;
  border-color: rgba(131, 221, 217, 0.24) !important;
  border-radius: 22px !important;
  background: linear-gradient(150deg, rgba(16, 67, 76, 0.8), rgba(2, 23, 33, 0.88)) !important;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transform: none !important;
  transform-style: flat;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
  isolation: isolate;
}

body[data-cv-unani-v3] #map [class*="_node_"]::before {
  content: "0" counter(cv-unani-map);
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  color: rgba(179, 248, 243, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

body[data-cv-unani-v3] #map [class*="_node_"]::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -32%;
  right: -28%;
  width: 110%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 228, 239, 0.22), rgba(53, 228, 239, 0.05) 42%, transparent 68%);
}

body[data-cv-unani-v3] #map [class*="_node_"]:hover {
  border-color: rgba(105, 245, 239, 0.66) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44), 0 0 35px rgba(53, 228, 239, 0.15);
  transform: translateY(-7px) !important;
}

body[data-cv-unani-v3] #map [class*="_node_"] > span {
  position: relative;
  z-index: 2;
  color: #f1fbf8 !important;
  font-family: var(--cv-unani-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.55rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.035em !important;
}

body[data-cv-unani-v3] #map [class*="_node_"] > small {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: rgba(169, 246, 243, 0.68) !important;
  letter-spacing: 0.1em;
}

body[data-cv-unani-v3] [class*="_visual_"] {
  transform-style: preserve-3d;
}

body[data-cv-unani-v3] [class*="_visual_"] svg {
  overflow: visible;
  filter:
    drop-shadow(0 12px 10px rgba(0, 22, 31, 0.32))
    drop-shadow(0 0 12px rgba(53, 228, 239, 0.14));
}

body[data-cv-unani-v3] #map [class*="_node_"] [class*="_visual_"] {
  align-self: center;
  justify-self: center;
  width: min(15vw, 178px) !important;
  height: min(14vw, 158px) !important;
  transform: scale(1.18) !important;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body[data-cv-unani-v3] #map [class*="_node_"] [class*="_aura_"] {
  opacity: 0.86;
}

body[data-cv-unani-v3] #map [class*="_node_"]:hover [class*="_visual_"] {
  transform: scale(1.28) translateY(-4px) !important;
}

body[data-cv-unani-v3] #map [class*="_node_"]:nth-of-type(3n)::after {
  background: radial-gradient(circle, rgba(240, 162, 74, 0.2), rgba(240, 162, 74, 0.05) 42%, transparent 68%);
}

body[data-cv-unani-v3] #map [class*="_node_"]:nth-of-type(3n + 1)::after {
  background: radial-gradient(circle, rgba(221, 118, 91, 0.17), rgba(221, 118, 91, 0.04) 42%, transparent 68%);
}

/* Qualities — tactile elemental wheel. */
body[data-cv-unani-v3] main > section[class*="_qualities_"] {
  background:
    radial-gradient(circle at 82% 20%, rgba(240, 162, 74, 0.2), transparent 28%),
    radial-gradient(circle at 65% 84%, rgba(53, 228, 239, 0.13), transparent 33%),
    linear-gradient(135deg, #edf5f0, #dcebe5) !important;
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] h2,
body[data-cv-unani-v3] main > section[class*="_library_"] h2,
body[data-cv-unani-v3] main > section[class*="_modes_"] h2 {
  color: var(--cv-unani-ink) !important;
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] h2 em,
body[data-cv-unani-v3] main > section[class*="_library_"] h2 em,
body[data-cv-unani-v3] main > section[class*="_modes_"] h2 em {
  color: #0a8c96 !important;
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] [class*="_qualityWheel_"] {
  perspective: 1100px;
  transform: rotateX(4deg) rotateY(-6deg);
  filter: drop-shadow(0 35px 40px rgba(4, 48, 57, 0.18));
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body[data-cv-unani-v3] main > section[class*="_qualities_"]:hover [class*="_qualityWheel_"] {
  transform: rotateX(1deg) rotateY(0deg);
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] [class*="_qualityWheel_"] article {
  border: 1px solid rgba(3, 49, 61, 0.12) !important;
  box-shadow:
    0 18px 32px rgba(8, 51, 58, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  animation: cvUnaniFloat 8s ease-in-out infinite;
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] [class*="_qualityWheel_"] article:nth-of-type(2) {
  animation-delay: -2s;
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] [class*="_qualityWheel_"] article:nth-of-type(3) {
  animation-delay: -4s;
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] [class*="_qualityWheel_"] article:nth-of-type(4) {
  animation-delay: -6s;
}

body[data-cv-unani-v3] main > section[class*="_qualities_"] [class*="_qualityWheel_"] > i {
  border: 1px solid rgba(255, 255, 255, 0.52) !important;
  background: radial-gradient(circle at 35% 25%, #e9ffff, #1f8491 42%, #042a38 76%) !important;
  box-shadow: 0 20px 55px rgba(3, 53, 63, 0.28), 0 0 42px rgba(53, 228, 239, 0.25);
  animation: cvUnaniBreathe 6s ease-in-out infinite;
}

/* Concept library — nine dimensional studies instead of a flat grid. */
body[data-cv-unani-v3] main > section[class*="_library_"] {
  background:
    radial-gradient(circle at 20% 16%, rgba(53, 228, 239, 0.08), transparent 26%),
    #f6f8f4 !important;
}

body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child {
  gap: clamp(12px, 1.2vw, 20px) !important;
  border: 0 !important;
  background: transparent !important;
}

body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(5, 55, 65, 0.14) !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at 75% 20%, var(--cv-card-glow, rgba(53, 228, 239, 0.17)), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(230, 239, 234, 0.94)) !important;
  box-shadow:
    0 24px 55px rgba(4, 39, 47, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: perspective(900px) rotateX(var(--cv-tilt-y, 0deg)) rotateY(var(--cv-tilt-x, 0deg)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 350ms ease, border-color 350ms ease;
}

body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a:nth-child(3n + 2) {
  --cv-card-glow: rgba(240, 162, 74, 0.18);
}

body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a:nth-child(3n) {
  --cv-card-glow: rgba(221, 118, 91, 0.14);
}

body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a::after {
  content: "";
  position: absolute;
  inset: -60% -25%;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.76) 50%, transparent 60%);
  transform: translateX(-70%) rotate(12deg);
  transition: transform 700ms ease;
  pointer-events: none;
}

body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a:hover {
  border-color: rgba(13, 145, 153, 0.4) !important;
  box-shadow: 0 32px 70px rgba(4, 39, 47, 0.18), 0 0 0 1px rgba(53, 228, 239, 0.08);
  transform: perspective(900px) rotateX(var(--cv-tilt-y, 0deg)) rotateY(var(--cv-tilt-x, 0deg)) translateY(-8px);
}

body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a:hover::after {
  transform: translateX(70%) rotate(12deg);
}

body[data-cv-unani-v3] main > section[class*="_library_"] [class*="_visual_"] {
  width: 112px !important;
  height: 104px !important;
  transform: translateZ(34px) scale(1.06);
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body[data-cv-unani-v3] main > section[class*="_library_"] a:hover [class*="_visual_"] {
  transform: translateZ(54px) scale(1.14) rotate(-2deg);
}

body[data-cv-unani-v3] main > section[class*="_library_"] h3 {
  font-family: var(--cv-unani-serif) !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  letter-spacing: -0.04em !important;
}

/* Evidence guardrails — an illuminated bridge from tradition to evidence. */
body[data-cv-unani-v3] main > section[class*="_guardrails_"] {
  min-height: 650px;
  background:
    radial-gradient(circle at 48% 42%, rgba(53, 228, 239, 0.14), transparent 34%),
    linear-gradient(125deg, #02131e, #052d38 54%, #031824) !important;
  color: white;
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 10%;
  right: 10%;
  top: 51%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 228, 239, 0.78), var(--cv-unani-amber), transparent);
  box-shadow: 0 0 28px rgba(53, 228, 239, 0.5);
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"] h2,
body[data-cv-unani-v3] main > section[class*="_guardrails_"] h3 {
  color: #f6fbfa !important;
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"] em,
body[data-cv-unani-v3] main > section[class*="_guardrails_"] > div:first-child > p {
  color: var(--cv-unani-aqua) !important;
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"] article {
  position: relative;
  display: grid;
  grid-template-rows: 210px auto auto 1fr;
  min-height: 500px;
  padding: clamp(22px, 2.4vw, 34px) !important;
  overflow: hidden;
  border: 1px solid rgba(143, 229, 224, 0.24) !important;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15, 77, 86, 0.54), rgba(3, 24, 35, 0.78)) !important;
  color: rgba(234, 247, 244, 0.76) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"] > div:nth-of-type(2) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.6vw, 24px) !important;
  border: 0 !important;
  background: transparent !important;
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"] article b {
  color: var(--cv-unani-cyan) !important;
  text-shadow: 0 0 18px rgba(53, 228, 239, 0.5);
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"] article h3 {
  margin-top: 12px;
  font-family: var(--cv-unani-serif) !important;
  font-size: clamp(1.9rem, 2.4vw, 2.75rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em !important;
}

body[data-cv-unani-v3] main > section[class*="_guardrails_"] article p {
  margin-top: 14px;
  color: rgba(225, 243, 239, 0.75) !important;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem) !important;
  line-height: 1.65 !important;
}

.cv-unani-guardrail-art {
  position: relative;
  width: 100%;
  height: 210px;
  margin: -12px 0 8px;
  pointer-events: none;
}

.cv-unani-guardrail-art::after {
  content: "";
  position: absolute;
  left: 19%;
  right: 19%;
  bottom: 7%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 10, 18, 0.72), transparent 68%);
  filter: blur(8px);
}

.cv-unani-guardrail-art svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cv-unani-art-orbit {
  fill: none;
  stroke: rgba(115, 237, 232, 0.28);
  stroke-width: 1.2;
  stroke-dasharray: 7 10;
  transform-origin: 100px 95px;
  animation: cvUnaniOrbit 22s linear infinite;
}

.cv-unani-art-orbit-two {
  stroke: rgba(240, 162, 74, 0.28);
  stroke-dasharray: 2 8;
  animation: cvUnaniOrbitReverse 16s linear infinite;
}

.cv-unani-art-core {
  opacity: 0.9;
  transform-origin: 100px 95px;
  animation: cvUnaniArtPulse 6s ease-in-out infinite;
}

.cv-unani-art-history,
.cv-unani-art-translation,
.cv-unani-art-boundary {
  fill: rgba(3, 44, 55, 0.62);
  stroke: #c8fffb;
  stroke-width: 2.2;
  transform-origin: 100px 95px;
  filter: drop-shadow(0 0 10px rgba(94, 237, 232, 0.32));
  animation: cvUnaniArtFloat 6.5s ease-in-out infinite;
}

.cv-unani-art-history path:nth-child(n + 2),
.cv-unani-art-translation path,
.cv-unani-art-boundary path:nth-child(n + 2),
.cv-unani-art-boundary circle {
  fill: none;
}

.cv-unani-art-translation,
.cv-unani-art-boundary {
  animation-delay: -2s;
}

.cv-unani-art-boundary {
  animation-delay: -4s;
}

/* Four modes — floating ceramic plaques, with the boundary held visibly below. */
body[data-cv-unani-v3] main > section[class*="_modes_"] {
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 162, 74, 0.13), transparent 25%),
    linear-gradient(145deg, #f5f7f2, #e2ece6) !important;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] > div:nth-child(2) {
  gap: clamp(12px, 1.4vw, 22px) !important;
  border: 0 !important;
  background: transparent !important;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] article {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  border: 1px solid rgba(4, 55, 64, 0.13) !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 22%, rgba(53, 228, 239, 0.14), transparent 29%),
    linear-gradient(145deg, #ffffff, #e7efeb) !important;
  box-shadow: 0 24px 48px rgba(5, 42, 48, 0.1), inset 0 1px 0 white;
  transition: transform 350ms ease, box-shadow 350ms ease;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] article::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 26px;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 18px 40px 28px 44px;
  background: radial-gradient(circle at 30% 24%, #edffff, #38cbd2 38%, #07505f 78%);
  box-shadow: 0 15px 30px rgba(3, 48, 57, 0.25), inset 8px 8px 16px rgba(255, 255, 255, 0.18);
  transform: rotate(calc((var(--cv-mode, 1) - 2) * 12deg));
  animation: cvUnaniFloat 7s ease-in-out infinite;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] article:nth-child(2)::before {
  background: radial-gradient(circle at 30% 24%, #fff8e9, #e8a052 42%, #8b4927 80%);
  animation-delay: -2s;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] article:nth-child(3)::before {
  background: radial-gradient(circle at 30% 24%, #fff1ed, #dd765b 42%, #73312c 80%);
  animation-delay: -4s;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] article:nth-child(4)::before {
  background: radial-gradient(circle at 30% 24%, #f2f7e9, #7f966b 42%, #34412d 80%);
  animation-delay: -6s;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] article:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 32px 65px rgba(5, 42, 48, 0.16), inset 0 1px 0 white;
}

body[data-cv-unani-v3] main > section[class*="_modes_"] aside {
  border: 1px solid rgba(6, 86, 96, 0.15) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 18px 45px rgba(4, 43, 50, 0.08);
  backdrop-filter: blur(10px);
}

/* Sources and bottom — finish with depth instead of a flat end-stop. */
body[data-cv-unani-v3] main > section[class*="_sources_"] {
  background:
    radial-gradient(circle at 82% 50%, rgba(53, 228, 239, 0.13), transparent 31%),
    linear-gradient(120deg, #031824, #062f3a) !important;
  color: #edf9f6;
}

body[data-cv-unani-v3] main > section[class*="_sources_"]::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  aspect-ratio: 1;
  right: -120px;
  bottom: -250px;
  border: 1px solid rgba(116, 231, 226, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 85px rgba(53, 228, 239, 0.13), inset 0 0 85px rgba(53, 228, 239, 0.08);
}

body[data-cv-unani-v3] main > section[class*="_sources_"] h2,
body[data-cv-unani-v3] main > section[class*="_sources_"] p {
  color: #f2fbf8 !important;
}

body[data-cv-unani-v3] main > section[class*="_sources_"] > div:first-child > p {
  color: var(--cv-unani-aqua) !important;
}

body[data-cv-unani-v3] main > section[class*="_sources_"] a {
  border-color: rgba(126, 223, 219, 0.2) !important;
  background: linear-gradient(145deg, rgba(15, 79, 88, 0.5), rgba(2, 24, 35, 0.76)) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(12px);
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

body[data-cv-unani-v3] main > section[class*="_sources_"] a:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 239, 234, 0.6) !important;
  background: linear-gradient(145deg, rgba(19, 105, 112, 0.66), rgba(2, 31, 42, 0.84)) !important;
}

body[data-cv-unani-v3] main > section[class*="_sources_"] a small,
body[data-cv-unani-v3] main > section[class*="_sources_"] a span {
  color: var(--cv-unani-aqua) !important;
}

body[data-cv-unani-v3] .cvUnifiedFooter,
body[data-cv-unani-v3] main > footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(53, 228, 239, 0.13), transparent 38%),
    #01111b !important;
  border-top: 1px solid rgba(116, 230, 225, 0.18) !important;
}

body[data-cv-unani-v3] .cvUnifiedFooter::before,
body[data-cv-unani-v3] main > footer::before {
  content: "";
  position: absolute;
  width: 540px;
  aspect-ratio: 1;
  left: 50%;
  top: -460px;
  transform: translateX(-50%);
  border: 1px solid rgba(107, 230, 226, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(53, 228, 239, 0.12),
    inset 0 0 80px rgba(53, 228, 239, 0.08);
  pointer-events: none;
}

/* Scroll reveals. Content remains visible if scripting or observers are unavailable. */
body[data-cv-unani-v3][data-cv-unani-motion="ready"] [data-cv-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--cv-reveal-delay, 0ms);
}

body[data-cv-unani-v3][data-cv-unani-motion="ready"] [data-cv-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes cvUnaniBreathe {
  0%, 100% { transform: scale(1.01) translate3d(0, 0, 0); }
  50% { transform: scale(1.045) translate3d(0, -7px, 0); }
}

@keyframes cvUnaniFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes cvUnaniHalo {
  0%, 100% { transform: scale(0.98); opacity: 0.6; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes cvUnaniOrbit {
  to { rotate: 360deg; }
}

@keyframes cvUnaniOrbitReverse {
  to { rotate: -360deg; }
}

@keyframes cvUnaniArtPulse {
  0%, 100% { opacity: 0.82; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.045); }
}

@keyframes cvUnaniArtFloat {
  0%, 100% { transform: translate3d(0, 3px, 0) rotate(-0.6deg); }
  50% { transform: translate3d(0, -7px, 0) rotate(0.6deg); }
}

@media (max-width: 900px) {
  body[data-cv-unani-v3] main > section:first-of-type {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 62px;
  }

  body[data-cv-unani-v3] main > section:first-of-type > div:first-child {
    width: 100%;
    padding-bottom: min(74vw, 590px);
  }

  body[data-cv-unani-v3] main > section:first-of-type h1 {
    font-size: clamp(2.7rem, 11vw, 3.8rem) !important;
    line-height: 0.96 !important;
  }

  .cv-unani-hero-art {
    top: auto;
    right: -32%;
    bottom: 12%;
    width: 132vw;
    transform: translate3d(0, var(--cv-unani-parallax, 0px), 0);
  }

  .cv-unani-hero-art img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 17%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 17%, #000 78%, transparent 100%);
  }

  body[data-cv-unani-v3] main > section:first-of-type aside {
    position: relative;
    z-index: 5;
    margin-top: 0;
  }

  body[data-cv-unani-v3] #map [class*="_center_"] {
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
    transform: none !important;
  }

  body[data-cv-unani-v3] #map [class*="_orbitMap_"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-cv-unani-v3] #map [class*="_node_"] [class*="_visual_"] {
    width: min(24vw, 190px) !important;
    height: min(22vw, 168px) !important;
  }

  body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a {
    min-height: 330px;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] > div:nth-of-type(2) {
    grid-template-columns: 1fr !important;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article {
    grid-template-columns: minmax(190px, 0.7fr) 1fr;
    grid-template-rows: auto auto 1fr;
    min-height: 330px;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article .cv-unani-guardrail-art {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article b,
  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article h3,
  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  body[data-cv-unani-v3] main > section:first-of-type {
    padding-top: 76px;
  }

  body[data-cv-unani-v3] main > section:first-of-type > div:first-child {
    padding-bottom: 76vw;
  }

  body[data-cv-unani-v3] main > section:first-of-type h1 {
    font-size: clamp(2.6rem, 11.5vw, 3.3rem) !important;
    line-height: 0.98 !important;
  }

  .cv-unani-hero-art {
    right: -49%;
    bottom: 34%;
    width: 158vw;
  }

  body[data-cv-unani-v3] #map [class*="_node_"] {
    min-height: 320px;
    background: linear-gradient(145deg, rgba(14, 73, 82, 0.93), rgba(2, 24, 34, 0.96)) !important;
  }

  body[data-cv-unani-v3] #map [class*="_orbitMap_"] {
    grid-template-columns: 1fr !important;
    width: calc(100% - 32px) !important;
  }

  body[data-cv-unani-v3] #map [class*="_center_"] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(240px, 1fr);
    height: auto !important;
    min-height: 590px;
    padding: 36px 28px 22px !important;
  }

  body[data-cv-unani-v3] #map [class*="_center_"] [class*="_visual_"] {
    grid-column: 1;
    grid-row: 4;
    width: min(100%, 280px) !important;
    height: min(64vw, 250px) !important;
    transform: scale(1.05) !important;
  }

  body[data-cv-unani-v3] #map [class*="_center_"] small,
  body[data-cv-unani-v3] #map [class*="_center_"] strong,
  body[data-cv-unani-v3] #map [class*="_center_"] > span {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
  }

  body[data-cv-unani-v3] #map [class*="_node_"] [class*="_visual_"] {
    width: min(52vw, 210px) !important;
    height: min(46vw, 180px) !important;
  }

  body[data-cv-unani-v3] main > section[class*="_qualities_"] [class*="_qualityWheel_"] {
    transform: none;
  }

  body[data-cv-unani-v3] main > section[class*="_library_"] > div:last-child > a {
    min-height: 310px;
    border-radius: 15px;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] {
    min-height: auto;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto auto 1fr;
    min-height: 500px;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article .cv-unani-guardrail-art,
  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article b,
  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article h3,
  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article p {
    grid-column: 1;
  }

  body[data-cv-unani-v3] main > section[class*="_guardrails_"] article .cv-unani-guardrail-art {
    grid-row: 1;
  }

  body[data-cv-unani-v3] main > section[class*="_modes_"] article {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-cv-unani-v3] *,
  body[data-cv-unani-v3] *::before,
  body[data-cv-unani-v3] *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  body[data-cv-unani-v3][data-cv-unani-motion="ready"] [data-cv-reveal] {
    opacity: 1;
    transform: none;
  }

  .cv-unani-hero-art {
    transform: translateY(-50%);
  }
}
