:root {
  --tarot-night: #070210;
  --tarot-violet: #150522;
  --tarot-plum: #26083a;
  --tarot-purple: #b96cff;
  --tarot-lilac: #ead7ff;
  --tarot-gold: #ffcf70;
  --tarot-orange: #ff7b3f;
  --tarot-ink: #fffaf3;
  --tarot-muted: #c2b4cd;
  --tarot-line: rgba(243, 220, 255, 0.16);
  --tarot-card: rgba(19, 7, 30, 0.82);
  --tarot-shell-max: 1180px;
  --tarot-shell-gutter: 56px;
}

html {
  background: var(--tarot-night);
}

body.pmd-tarot-case {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 75% 4%, rgba(151, 55, 255, 0.16), transparent 30rem),
    var(--tarot-night);
  color: var(--tarot-ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.pmd-tarot-case #outer-wrap,
body.pmd-tarot-case #wrap {
  overflow: visible;
}

body.pmd-tarot-case h1,
body.pmd-tarot-case h2,
body.pmd-tarot-case h3,
body.pmd-tarot-case h4,
body.pmd-tarot-case p {
  margin-top: 0;
}

.tarot-shell {
  position: relative;
  z-index: 3;
  width: calc(100% - var(--tarot-shell-gutter));
  max-width: var(--tarot-shell-max);
  flex: 0 0 auto;
  margin-inline: auto;
}

.tarot-cosmos {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(228, 195, 255, 0.62) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 207, 112, 0.5) 0 1.2px, transparent 1.7px);
  background-position: 13px 19px, 80px 53px, 37px 91px;
  background-size: 113px 127px, 173px 181px, 241px 223px;
  opacity: 0.42;
  animation: tarot-star-drift 50s linear infinite;
}

.tarot-cosmos::before,
.tarot-cosmos::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.tarot-cosmos::before {
  top: -16vw;
  right: -10vw;
  width: 42vw;
  height: 42vw;
  background: #8c33ff;
  animation: tarot-nebula-breathe 12s ease-in-out infinite;
}

.tarot-cosmos::after {
  bottom: -14vw;
  left: -12vw;
  width: 38vw;
  height: 38vw;
  background: #ff6c36;
  animation: tarot-nebula-breathe 15s -7s ease-in-out infinite;
}

.tarot-meteor {
  position: absolute;
  top: -12vh;
  width: 140px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 225, 0.95));
  filter: drop-shadow(0 0 5px #ffb56b);
  transform: rotate(-38deg);
}

.tarot-meteor::after {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 20px var(--tarot-orange);
}

.meteor-one {
  left: 13%;
  animation: tarot-meteor-fall 12s 2s linear infinite;
}

.meteor-two {
  left: 64%;
  animation: tarot-meteor-fall 16s 7s linear infinite;
}

.meteor-three {
  left: 86%;
  animation: tarot-meteor-fall 19s 12s linear infinite;
}

.tarot-site-header {
  position: absolute;
  z-index: 30;
  border-color: rgba(255, 255, 255, 0.13);
}

.tarot-site-header .wordmark,
.tarot-site-header .desktop-nav a {
  color: var(--tarot-ink);
}

.tarot-site-header .wordmark-star,
.tarot-site-header .wordmark > span:last-child {
  color: var(--tarot-gold);
}

.tarot-site-header .wordmark-star {
  text-shadow: 0 0 20px var(--tarot-orange);
}

.tarot-site-header .project-wordmark {
  color: #d9cce3;
}

.tarot-site-header .nav-contact {
  border-color: rgba(255, 207, 112, 0.42);
  background: rgba(255, 173, 81, 0.08);
}

.tarot-case {
  position: relative;
  z-index: 1;
  overflow: clip;
}

.tarot-section {
  --constellation-opacity: 0.48;
  --label-opacity: 0;
  --star-energy: 0.65;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(156, 66, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 18% 80%, rgba(255, 113, 54, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(7, 2, 16, 0.96), rgba(16, 4, 27, 0.97));
}

.tarot-section::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    radial-gradient(circle, #fff 0 0.75px, transparent 1.2px),
    radial-gradient(circle, rgba(197, 145, 255, 0.9) 0 0.8px, transparent 1.3px);
  background-position: 11px 17px, 71px 83px;
  background-size: 89px 103px, 139px 151px;
  animation: tarot-stars-twinkle 7s ease-in-out infinite alternate;
}

.tarot-section::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 -1px;
  height: 180px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(124, 36, 176, 0.08) 50%, rgba(9, 2, 17, 0.86));
}

.tarot-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 19% 25%, rgba(255, 126, 58, 0.09), transparent 24rem),
    radial-gradient(circle at 80% 76%, rgba(139, 62, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(9, 2, 17, 0.98), rgba(25, 6, 38, 0.96));
}

.tarot-hero {
  min-height: 112svh;
  padding-top: 160px;
  background:
    radial-gradient(circle at 72% 44%, rgba(255, 128, 53, 0.18), transparent 12rem),
    radial-gradient(circle at 72% 44%, rgba(156, 55, 255, 0.28), transparent 29rem),
    radial-gradient(circle at 23% 18%, rgba(116, 50, 220, 0.2), transparent 24rem),
    linear-gradient(160deg, #070210 0%, #12031e 58%, #250830 100%);
}

.tarot-editor-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  opacity: 0.16;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
}

.tarot-editor-backdrop-dashboard {
  opacity: 0.12;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 72%);
}

.tarot-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.tarot-hero-copy {
  max-width: 760px;
}

.tarot-kicker {
  margin-bottom: 22px;
  color: var(--tarot-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.tarot-hero h1 {
  margin-bottom: 28px;
  color: var(--tarot-ink);
  font-size: clamp(72px, 9.4vw, 150px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.74;
}

.tarot-hero h1 span,
.tarot-hero h1 strong {
  display: block;
}

.tarot-hero h1 span {
  color: #fff;
}

.tarot-hero h1 strong {
  margin-top: 0.19em;
  color: transparent;
  background: linear-gradient(93deg, #e2b0ff, #b468ff 47%, #ff8a4d 80%, #ffd77f);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(177, 91, 255, 0.19));
}

.tarot-role {
  margin-bottom: 18px;
  color: #f0dfef;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tarot-intro {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--tarot-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
}

.tarot-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.tarot-primary-link,
.tarot-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tarot-primary-link {
  min-width: 210px;
  border: 1px solid rgba(255, 211, 122, 0.56);
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(164, 71, 255, 0.22), rgba(255, 129, 67, 0.17)),
    rgba(13, 4, 24, 0.76);
  box-shadow: inset 0 0 22px rgba(255, 210, 117, 0.04), 0 0 28px rgba(169, 73, 255, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tarot-primary-link:hover {
  border-color: var(--tarot-gold);
  transform: translateY(-3px);
  box-shadow: inset 0 0 28px rgba(255, 210, 117, 0.1), 0 0 38px rgba(189, 91, 255, 0.24);
}

.tarot-text-link {
  min-height: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 0;
  color: #e4d8e9;
}

.tarot-metric-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--tarot-line);
  border-bottom: 1px solid var(--tarot-line);
}

.tarot-metric-ribbon article {
  min-width: 0;
  padding: 26px 24px;
  border-right: 1px solid var(--tarot-line);
}

.tarot-metric-ribbon article:first-child {
  padding-left: 0;
}

.tarot-metric-ribbon article:last-child {
  border-right: 0;
}

.tarot-metric-ribbon strong,
.tarot-metric-ribbon span {
  display: block;
}

.tarot-metric-ribbon strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 39px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.tarot-metric-ribbon span {
  color: #b9acc3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tarot-constellation {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: var(--constellation-opacity);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.tarot-constellation-stars {
  position: absolute;
  top: 50%;
  left: 67%;
  width: min(43vw, 610px);
  aspect-ratio: 1.38;
  transform: translate(-50%, -50%) rotate(-3deg);
}

.tarot-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  opacity: calc(0.38 + var(--star-energy) * 0.6);
  background: #fffaf0;
  box-shadow:
    0 0 calc(var(--s) * 1.2) #fff,
    0 0 calc(var(--s) * 3.3) rgba(255, 201, 112, 0.9),
    0 0 calc(var(--s) * 6) rgba(177, 86, 255, 0.72);
  animation: tarot-constellation-pulse 4.8s var(--delay) ease-in-out infinite;
}

.tarot-star::before,
.tarot-star::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  transform: translate(-50%, -50%);
}

.tarot-star::before {
  width: calc(var(--s) * 4.2);
  height: 1px;
}

.tarot-star::after {
  width: 1px;
  height: calc(var(--s) * 4.2);
}

.tarot-constellation-name {
  position: absolute;
  left: 67%;
  top: 75%;
  margin: 0;
  opacity: var(--label-opacity);
  color: rgba(255, 222, 159, 0.76);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 154, 72, 0.62);
  text-transform: uppercase;
  transform: translateX(-50%) translateY(calc((1 - var(--label-opacity)) * 16px));
  transition: opacity 180ms linear;
  white-space: nowrap;
}

.tarot-hero .tarot-constellation-stars {
  top: 43%;
  left: 76%;
  width: min(46vw, 660px);
}

.tarot-hero .tarot-constellation-name {
  top: 70%;
  left: 76%;
}

.tarot-overview .tarot-constellation-stars,
.tarot-overview .tarot-constellation-name,
.tarot-challenge .tarot-constellation-stars,
.tarot-challenge .tarot-constellation-name,
.tarot-strategy .tarot-constellation-stars,
.tarot-strategy .tarot-constellation-name,
.tarot-results .tarot-constellation-stars,
.tarot-results .tarot-constellation-name {
  left: 76%;
}

.tarot-overview .tarot-constellation-stars,
.tarot-challenge .tarot-constellation-stars,
.tarot-strategy .tarot-constellation-stars,
.tarot-results .tarot-constellation-stars {
  top: 30%;
  width: min(35vw, 470px);
}

.tarot-overview .tarot-constellation-name,
.tarot-challenge .tarot-constellation-name,
.tarot-strategy .tarot-constellation-name,
.tarot-results .tarot-constellation-name {
  top: 49%;
}

.tarot-collision-flare {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 20px #fff, 0 0 50px var(--tarot-gold), 0 0 120px var(--tarot-orange), 0 0 230px #8738ff;
  pointer-events: none;
  animation: tarot-collision 9s ease-in-out infinite;
}

.flare-hero {
  right: 21%;
  top: 29%;
}

.flare-zodiac {
  left: 17%;
  bottom: 22%;
  animation-delay: -3s;
}

.flare-results {
  right: 23%;
  top: 20%;
  animation-delay: -6s;
}

.tarot-heading {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin-bottom: 58px;
}

.tarot-heading h2,
.tarot-zodiac-copy h2,
.tarot-audience-copy h2,
.tarot-next-copy h2 {
  margin-bottom: 0;
  color: var(--tarot-ink);
  font-size: clamp(45px, 6.2vw, 90px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.tarot-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 72px;
}

.tarot-heading-split > p {
  margin: 0;
  color: var(--tarot-muted);
  font-size: 16px;
  line-height: 1.72;
}

.tarot-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.6fr);
  gap: 24px;
}

.tarot-story-card,
.tarot-project-card,
.tarot-challenge-grid article,
.tarot-strategy-grid article,
.tarot-results-grid article {
  border: 1px solid var(--tarot-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--tarot-card);
  box-shadow: 0 24px 80px rgba(2, 0, 8, 0.24), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.tarot-story-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 68px);
}

.tarot-story-card > p {
  max-width: 760px;
  margin-bottom: 52px;
  color: #f0e7f3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 33px);
  line-height: 1.42;
}

.tarot-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tarot-story-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 211, 127, 0.22);
  border-radius: 999px;
  color: #decfe5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tarot-project-card {
  padding: 38px;
}

.tarot-mini-label {
  margin-bottom: 27px;
  color: var(--tarot-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tarot-project-card dl {
  margin: 0;
}

.tarot-project-card dl div {
  padding: 18px 0;
  border-top: 1px solid var(--tarot-line);
}

.tarot-project-card dt {
  margin-bottom: 6px;
  color: #9f90aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tarot-project-card dd {
  margin: 0;
  color: #f8f1fb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.tarot-zodiac-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: 48px;
}

.tarot-zodiac-copy p:last-child {
  max-width: 550px;
  margin-top: 28px;
  color: var(--tarot-muted);
  font-size: 17px;
  line-height: 1.72;
}

.tarot-zodiac-system {
  position: relative;
  width: min(53vw, 640px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
}

.tarot-zodiac-system::before {
  position: absolute;
  inset: 8%;
  content: "";
  border: 1px solid rgba(226, 185, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 47%, rgba(184, 78, 255, 0.05) 48% 52%, transparent 53%),
    repeating-conic-gradient(from 0deg, rgba(255, 220, 147, 0.1) 0deg 1deg, transparent 1deg 30deg);
}

.tarot-sun {
  position: absolute;
  z-index: 4;
  width: 26%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  border-radius: 50%;
  color: #4c1a1a;
  text-align: center;
  background: radial-gradient(circle at 37% 34%, #fff 0 3%, #fff3b6 8%, #ffd36d 23%, #ff8b46 50%, #7b24a7 74%, rgba(93, 30, 137, 0.18) 76%);
  box-shadow: 0 0 32px #ffc86f, 0 0 80px rgba(255, 113, 54, 0.72), 0 0 160px rgba(171, 64, 255, 0.58);
  animation: tarot-sun-breathe 4.8s ease-in-out infinite;
}

.tarot-sun b {
  color: #fff1cf;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 8px #5e1449;
  text-transform: uppercase;
}

.tarot-zodiac-ring {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: 50%;
  animation: tarot-zodiac-spin 60s linear infinite;
}

.tarot-zodiac-sign {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 78px;
  margin: -39px 0 0 -52px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  transform: rotate(calc(var(--i) * 30deg)) translateX(min(22vw, 268px)) rotate(calc(var(--i) * -30deg));
}

.tarot-mini-constellation {
  position: relative;
  display: block;
  width: 76px;
  height: 50px;
  filter: drop-shadow(0 0 9px rgba(255, 177, 87, 0.56));
}

.tarot-mini-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff9e7;
  box-shadow: 0 0 4px #fff, 0 0 9px var(--tarot-gold), 0 0 14px var(--tarot-purple);
  animation: tarot-mini-star-pulse 3.8s calc(var(--x) * -0.02s) ease-in-out infinite;
}

.tarot-zodiac-sign em {
  color: #cbbbd1;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tarot-zodiac-orbit {
  position: absolute;
  border: 1px solid rgba(216, 171, 249, 0.19);
  border-radius: 50%;
  pointer-events: none;
}

.tarot-zodiac-orbit.orbit-inner {
  inset: 28%;
  border-style: dashed;
  animation: tarot-zodiac-spin 22s linear infinite reverse;
}

.tarot-zodiac-orbit.orbit-outer {
  inset: 2%;
  opacity: 0.72;
  box-shadow: inset 0 0 50px rgba(151, 53, 255, 0.05), 0 0 30px rgba(255, 130, 59, 0.05);
}

.tarot-challenge-grid,
.tarot-strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tarot-challenge-grid article,
.tarot-strategy-grid article {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.tarot-challenge-grid article::after,
.tarot-strategy-grid article::after {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 127, 61, 0.18), transparent 66%);
  transition: transform 350ms ease;
}

.tarot-challenge-grid article:hover,
.tarot-strategy-grid article:hover {
  border-color: rgba(255, 203, 110, 0.42);
  background:
    linear-gradient(135deg, rgba(184, 76, 255, 0.12), rgba(255, 113, 54, 0.07)),
    rgba(22, 6, 33, 0.9);
  transform: translateY(-7px);
}

.tarot-challenge-grid article:hover::after,
.tarot-strategy-grid article:hover::after {
  transform: scale(1.5);
}

.tarot-challenge-grid article > span,
.tarot-strategy-grid article > span {
  display: block;
  margin-bottom: 54px;
  color: var(--tarot-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tarot-challenge-grid h3,
.tarot-strategy-grid h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.tarot-challenge-grid p,
.tarot-strategy-grid p {
  margin: 0;
  color: #b9aabe;
  font-size: 14px;
  line-height: 1.66;
}

.tarot-mix {
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  gap: 14px;
  margin-bottom: 14px;
}

.tarot-mix article {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: end;
  padding: 34px;
  border: 1px solid var(--tarot-line);
  overflow: hidden;
}

.tarot-mix article::before {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.tarot-mix-minor {
  background: radial-gradient(circle at 20% 20%, rgba(187, 95, 255, 0.25), transparent 40%), rgba(17, 5, 27, 0.82);
}

.tarot-mix-minor::before {
  width: 100px;
  height: 100px;
  right: 28px;
  top: 24px;
  border: 1px solid rgba(233, 197, 255, 0.22);
  box-shadow: inset 0 0 30px rgba(170, 64, 255, 0.14);
}

.tarot-mix-major {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 133, 57, 0.24), transparent 34%),
    radial-gradient(circle at 24% 85%, rgba(168, 67, 255, 0.2), transparent 43%),
    rgba(21, 6, 32, 0.88);
}

.tarot-mix-major::before {
  width: 210px;
  height: 210px;
  right: 4%;
  top: -55%;
  background: radial-gradient(circle, #fff5cc 0 2%, #ffbb61 10%, #ff7139 35%, rgba(160, 46, 221, 0.4) 59%, transparent 70%);
  box-shadow: 0 0 60px rgba(255, 132, 57, 0.33);
}

.tarot-mix strong,
.tarot-mix span {
  display: block;
}

.tarot-mix strong {
  position: relative;
  color: #fff;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.tarot-mix span {
  position: relative;
  margin-top: 10px;
  color: var(--tarot-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tarot-mix p {
  position: relative;
  max-width: 480px;
  margin: 13px 0 0;
  color: #b9aabe;
  font-size: 14px;
  line-height: 1.6;
}

.tarot-audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(330px, 0.55fr);
  gap: 30px 80px;
  align-items: center;
}

.tarot-audience-copy > p:last-child {
  max-width: 620px;
  margin-top: 28px;
  color: var(--tarot-muted);
  font-size: 17px;
  line-height: 1.75;
}

.tarot-audience-focus {
  position: relative;
  width: min(31vw, 370px);
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  margin-inline: auto;
  border: 1px solid rgba(255, 211, 128, 0.38);
  border-radius: 28px;
  text-align: center;
  background:
    linear-gradient(140deg, rgba(162, 66, 230, 0.22), rgba(255, 124, 62, 0.08)),
    rgba(13, 4, 24, 0.76);
  box-shadow:
    inset 0 0 46px rgba(255, 129, 62, 0.1),
    0 0 38px rgba(159, 59, 240, 0.18);
}

.tarot-audience-focus::before {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(226, 185, 255, 0.12);
  border-radius: 20px;
  pointer-events: none;
}

.tarot-audience-focus span,
.tarot-audience-focus p {
  color: #ccbcd3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tarot-audience-focus strong {
  margin: 10px 0 8px;
  color: #fff7dd;
  font-size: clamp(58px, 7vw, 92px);
  letter-spacing: -0.08em;
  line-height: 0.85;
  text-shadow: 0 0 20px rgba(255, 205, 105, 0.34);
}

.tarot-audience-focus p {
  margin: 0;
  color: var(--tarot-gold);
}

.tarot-audience-signals {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tarot-line);
  border-bottom: 1px solid var(--tarot-line);
}

.tarot-audience-signals article {
  padding: 25px;
  border-right: 1px solid var(--tarot-line);
}

.tarot-audience-signals article:first-child {
  padding-left: 0;
}

.tarot-audience-signals article:last-child {
  border-right: 0;
}

.tarot-audience-signals b,
.tarot-audience-signals span {
  display: block;
}

.tarot-audience-signals b {
  margin-bottom: 7px;
  color: #fff;
  font-size: 20px;
}

.tarot-audience-signals span {
  color: #9f91aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tarot-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tarot-results-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.tarot-results-grid span {
  margin-bottom: auto;
  color: var(--tarot-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tarot-results-grid strong {
  color: #fff;
  font-size: clamp(38px, 4vw, 62px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.tarot-results-grid em {
  margin-top: 10px;
  color: #9f90a8;
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.tarot-funnel {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--tarot-line);
  border-bottom: 1px solid var(--tarot-line);
}

.tarot-funnel article {
  min-width: 0;
}

.tarot-funnel article span,
.tarot-funnel article b,
.tarot-funnel article strong {
  display: block;
}

.tarot-funnel article span {
  margin-bottom: 8px;
  color: var(--tarot-gold);
  font-size: 9px;
  font-weight: 800;
}

.tarot-funnel article b {
  color: #a99bad;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tarot-funnel article strong {
  margin-top: 5px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 36px);
  letter-spacing: -0.05em;
}

.tarot-funnel > i {
  margin-inline: 16px;
  color: var(--tarot-purple);
  font-style: normal;
  text-shadow: 0 0 13px var(--tarot-purple);
}

.tarot-dashboard-section,
.tarot-campaign-section,
.tarot-performance-section {
  min-height: auto;
  padding-block: 150px;
}

.tarot-dashboard-section .tarot-constellation-stars,
.tarot-campaign-section .tarot-constellation-stars,
.tarot-performance-section .tarot-constellation-stars {
  top: 11%;
  left: 77%;
  width: min(32vw, 440px);
}

.tarot-dashboard-section .tarot-constellation-name,
.tarot-campaign-section .tarot-constellation-name,
.tarot-performance-section .tarot-constellation-name {
  top: 19%;
  left: 77%;
}

.tarot-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.tarot-data-card,
.tarot-dashboard-card {
  position: relative;
  border: 1px solid var(--tarot-line);
  background:
    linear-gradient(145deg, rgba(181, 80, 255, 0.075), transparent 45%),
    rgba(13, 4, 23, 0.88);
  box-shadow: 0 24px 70px rgba(2, 0, 8, 0.24), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.tarot-data-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
}

.tarot-data-card::before {
  position: absolute;
  right: -45px;
  top: -55px;
  width: 130px;
  height: 130px;
  content: "";
  border-radius: 50%;
  opacity: 0.38;
  background: radial-gradient(circle, rgba(255, 206, 116, 0.55), rgba(170, 65, 255, 0.16) 45%, transparent 70%);
}

.tarot-data-card span,
.tarot-data-card strong,
.tarot-data-card em {
  position: relative;
  display: block;
}

.tarot-data-card span {
  margin-bottom: auto;
  color: #ad9fb5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tarot-data-card strong {
  color: #fff;
  font-size: clamp(34px, 3.7vw, 54px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.tarot-data-card em {
  margin-top: 9px;
  color: var(--tarot-gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.tarot-dashboard-card {
  padding: clamp(24px, 3vw, 38px);
}

.tarot-budget-card {
  margin-bottom: 14px;
}

.tarot-dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.tarot-dashboard-card-head h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.tarot-dashboard-card-head small {
  display: block;
  margin-top: 7px;
  color: #97889f;
  font-size: 11px;
}

.tarot-dashboard-card-head .tarot-mini-label {
  margin-bottom: 9px;
}

.tarot-dashboard-select {
  min-width: 132px;
  min-height: 40px;
  border: 1px solid rgba(255, 207, 112, 0.28);
  border-radius: 999px;
  padding: 0 34px 0 15px;
  color: #f9edff;
  font-size: 11px;
  font-weight: 700;
  background: rgba(21, 7, 32, 0.96);
  cursor: pointer;
}

.tarot-dashboard-select:focus {
  border-color: var(--tarot-gold);
  outline: 2px solid rgba(255, 207, 112, 0.12);
  outline-offset: 2px;
}

.tarot-budget-total {
  display: block;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(38px, 5vw, 70px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.tarot-budget-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--tarot-line);
  border-bottom: 1px solid var(--tarot-line);
}

.tarot-budget-item {
  padding: 22px;
  border-right: 1px solid var(--tarot-line);
}

.tarot-budget-item:first-child {
  padding-left: 0;
}

.tarot-budget-item:last-child {
  border-right: 0;
}

.tarot-budget-item span,
.tarot-budget-item strong,
.tarot-budget-item small {
  display: block;
}

.tarot-budget-item span {
  color: #a99aaa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tarot-budget-item strong {
  margin: 10px 0 6px;
  color: var(--tarot-gold);
  font-size: 22px;
}

.tarot-budget-item small {
  color: #817487;
  font-size: 10px;
}

.tarot-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tarot-chart-area {
  position: relative;
  height: 310px;
}

.tarot-native-chart,
.tarot-native-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tarot-native-chart svg {
  overflow: visible;
}

.tarot-native-chart text {
  font-family: Arial, Helvetica, sans-serif;
}

.tarot-native-chart .chart-grid {
  stroke: rgba(235, 211, 255, 0.1);
  stroke-width: 1;
}

.tarot-native-chart .chart-axis-label,
.tarot-native-chart .chart-tick {
  fill: #9e90a5;
  font-size: 10px;
}

.tarot-native-chart .chart-value {
  fill: #fffaf3;
  font-size: 10px;
  font-weight: 700;
}

.tarot-native-chart .chart-legend {
  fill: #cbbfd0;
  font-size: 10px;
}

.tarot-native-chart .chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tarot-native-chart .chart-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: tarot-chart-rise 760ms cubic-bezier(0.2, 0.74, 0.22, 1) both;
}

.tarot-chart-note {
  min-height: 34px;
  margin: 18px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--tarot-gold);
  color: #9e90a5;
  font-size: 10px;
  line-height: 1.5;
  background: rgba(255, 194, 99, 0.035);
}

.tarot-campaign-section .tarot-dashboard-card + .tarot-dashboard-card {
  margin-top: 14px;
}

.tarot-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.tarot-kpi {
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid var(--tarot-line);
  background: rgba(255, 255, 255, 0.022);
}

.tarot-kpi span,
.tarot-kpi strong {
  display: block;
}

.tarot-kpi span {
  color: #928498;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tarot-kpi strong {
  margin-top: 12px;
  color: #fff;
  font-size: 25px;
  letter-spacing: -0.05em;
}

.tarot-table-card {
  overflow: hidden;
}

.tarot-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: rgba(255, 194, 101, 0.42) rgba(255, 255, 255, 0.04);
}

.tarot-data-table {
  width: 100%;
  border-collapse: collapse;
  color: #d8cedc;
  font-size: 11px;
  white-space: nowrap;
}

.tarot-data-table th,
.tarot-data-table td {
  padding: 15px 13px;
  border-bottom: 1px solid rgba(242, 220, 255, 0.1);
  text-align: left;
}

.tarot-data-table th {
  color: #8f8196;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tarot-data-table tbody tr {
  transition: background 180ms ease;
}

.tarot-data-table tbody tr:hover {
  background: rgba(182, 80, 255, 0.055);
}

.tarot-data-table tfoot td {
  border-top: 1px solid rgba(255, 207, 112, 0.4);
  border-bottom: 0;
  color: var(--tarot-gold);
  font-weight: 800;
}

.tarot-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 14px;
}

.tarot-summary-table {
  white-space: normal;
}

.tarot-summary-table td:first-child {
  width: 22%;
  color: #fff;
  font-weight: 700;
}

.tarot-summary-table td:nth-child(2) {
  width: 15%;
  color: var(--tarot-gold);
  font-size: 13px;
  font-weight: 800;
}

.tarot-summary-table td:last-child {
  color: #9b8da1;
  line-height: 1.5;
}

.tarot-market-table td:last-child {
  color: var(--tarot-gold);
  font-weight: 800;
  text-align: right;
}

.tarot-insights {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 207, 112, 0.2);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 128, 56, 0.08), transparent 35%),
    rgba(255, 255, 255, 0.018);
}

.tarot-insights strong {
  margin-bottom: 6px;
  color: var(--tarot-gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tarot-insights span {
  color: #c6b9cb;
  font-size: 12px;
  line-height: 1.45;
}

.tarot-insights span::before {
  margin-right: 9px;
  color: var(--tarot-orange);
  content: "•";
}

.tarot-dashboard-funnel {
  margin-top: 14px;
}

.tarot-dashboard-funnel-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.tarot-dashboard-funnel-track > div {
  position: relative;
  min-width: 0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid rgba(255, 207, 112, 0.16);
  background:
    linear-gradient(155deg, rgba(179, 72, 255, 0.1), rgba(255, 129, 56, 0.035)),
    rgba(255, 255, 255, 0.016);
}

.tarot-dashboard-funnel-track > div::after {
  position: absolute;
  z-index: 2;
  right: -11px;
  top: 28px;
  width: 20px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--tarot-purple), var(--tarot-gold));
  box-shadow: 0 0 8px var(--tarot-purple);
}

.tarot-dashboard-funnel-track > div:last-child::after {
  display: none;
}

.tarot-dashboard-funnel-track span,
.tarot-dashboard-funnel-track strong,
.tarot-dashboard-funnel-track em {
  display: block;
}

.tarot-dashboard-funnel-track span {
  margin-bottom: auto;
  color: #94869b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tarot-dashboard-funnel-track strong {
  color: #fff;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.tarot-dashboard-funnel-track em {
  margin-top: 10px;
  color: var(--tarot-gold);
  font-size: 9px;
  font-style: normal;
  line-height: 1.4;
}

.tarot-next {
  min-height: 86svh;
  text-align: center;
}

.tarot-next-copy {
  display: grid;
  justify-items: center;
}

.tarot-next-copy h2 {
  max-width: 900px;
}

.tarot-next-copy .tarot-actions {
  justify-content: center;
}

.tarot-footer {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--tarot-line);
  background: #06010d;
}

.tarot-footer .tarot-shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #9b8ca3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tarot-footer a {
  color: var(--tarot-gold);
}

.tarot-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms cubic-bezier(0.2, 0.72, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

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

@keyframes tarot-star-drift {
  to {
    background-position: 126px 146px, -93px 234px, 278px -132px;
  }
}

@keyframes tarot-mini-star-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.76);
  }
  48% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@keyframes tarot-chart-rise {
  from {
    opacity: 0.18;
    transform: scaleY(0.08);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes tarot-stars-twinkle {
  0% {
    opacity: 0.15;
  }
  55% {
    opacity: 0.31;
  }
  100% {
    opacity: 0.21;
  }
}

@keyframes tarot-nebula-breathe {
  50% {
    opacity: 0.34;
    transform: scale(1.12) translate3d(-2%, 2%, 0);
  }
}

@keyframes tarot-meteor-fall {
  0%,
  72% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-38deg);
  }
  74% {
    opacity: 0.9;
  }
  82% {
    opacity: 0;
    transform: translate3d(58vw, 72vh, 0) rotate(-38deg);
  }
  100% {
    opacity: 0;
  }
}

@keyframes tarot-constellation-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
    filter: brightness(0.8);
  }
  45% {
    opacity: 1;
    transform: scale(1.25);
    filter: brightness(1.55);
  }
  60% {
    opacity: 0.62;
    transform: scale(0.95);
    filter: brightness(1);
  }
}

@keyframes tarot-collision {
  0%,
  72%,
  100% {
    opacity: 0;
    transform: scale(0.2);
  }
  75% {
    opacity: 0.95;
    transform: scale(1);
  }
  78% {
    opacity: 0.1;
    transform: scale(7);
  }
  82% {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes tarot-sun-breathe {
  0%,
  100% {
    filter: brightness(0.95);
    transform: scale(0.98);
  }
  50% {
    filter: brightness(1.16);
    transform: scale(1.025);
  }
}

@keyframes tarot-core-float {
  0%,
  100% {
    transform: translateY(-3px) rotate(-2deg);
  }
  50% {
    transform: translateY(6px) rotate(2deg);
  }
}

@keyframes tarot-orbit-one {
  to {
    transform: rotate(379deg) scaleY(0.47);
  }
}

@keyframes tarot-orbit-two {
  to {
    transform: rotate(333deg) scaleY(0.58);
  }
}

@keyframes tarot-zodiac-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tarot-audience-glow {
  0%,
  100% {
    box-shadow:
      inset 0 0 46px rgba(255, 129, 62, 0.1),
      0 0 28px rgba(255, 203, 107, 0.28),
      0 0 85px rgba(159, 59, 240, 0.42),
      0 0 150px rgba(255, 119, 54, 0.14);
  }
  50% {
    box-shadow:
      inset 0 0 55px rgba(255, 129, 62, 0.18),
      0 0 42px rgba(255, 203, 107, 0.42),
      0 0 118px rgba(159, 59, 240, 0.58),
      0 0 190px rgba(255, 119, 54, 0.21);
  }
}

@media (max-width: 1080px) {
  :root {
    --tarot-shell-max: 940px;
    --tarot-shell-gutter: 44px;
  }

  .tarot-section {
    min-height: auto;
    padding: 140px 0 100px;
  }

  .tarot-hero {
    min-height: 100svh;
  }

  .tarot-hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tarot-hero h1 {
    font-size: clamp(68px, 10vw, 110px);
  }

  .tarot-zodiac-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 24px;
  }

  .tarot-zodiac-sign {
    transform: rotate(calc(var(--i) * 30deg)) translateX(min(23.5vw, 232px)) rotate(calc(var(--i) * -30deg));
  }

  .tarot-site-header .desktop-nav {
    gap: 16px;
    font-size: 10px;
  }

  .tarot-challenge-grid,
  .tarot-strategy-grid,
  .tarot-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .tarot-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tarot-summary-grid {
    grid-template-columns: 1fr;
  }

  .tarot-dashboard-funnel-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tarot-dashboard-funnel-track > div:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --tarot-shell-max: none;
    --tarot-shell-gutter: 36px;
  }

  .tarot-site-header {
    height: 76px;
  }

  .tarot-section {
    padding: 120px 0 88px;
  }

  .tarot-hero .tarot-constellation-stars {
    top: 52%;
  }

  .tarot-hero .tarot-constellation-name {
    top: 68%;
  }

  .tarot-hero {
    padding-top: 126px;
  }

  .tarot-hero-layout,
  .tarot-zodiac-layout,
  .tarot-overview-grid,
  .tarot-heading-split,
  .tarot-audience-layout {
    grid-template-columns: 1fr;
  }

  .tarot-hero-layout {
    gap: 24px;
  }

  .tarot-hero-copy {
    position: relative;
    z-index: 3;
  }

  .tarot-metric-ribbon {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 78px;
  }

  .tarot-metric-ribbon article:nth-child(2) {
    border-right: 0;
  }

  .tarot-metric-ribbon article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tarot-line);
  }

  .tarot-metric-ribbon article:nth-child(odd) {
    padding-left: 0;
  }

  .tarot-heading-split {
    align-items: start;
    gap: 24px;
  }

  .tarot-story-card {
    min-height: auto;
  }

  .tarot-zodiac-copy {
    max-width: 680px;
  }

  .tarot-zodiac-system {
    width: min(87vw, 590px);
    margin-top: 30px;
  }

  .tarot-zodiac-sign {
    transform: rotate(calc(var(--i) * 30deg)) translateX(min(38vw, 247px)) rotate(calc(var(--i) * -30deg));
  }

  .tarot-audience-focus {
    width: min(62vw, 390px);
    margin-block: 36px;
  }

  .tarot-audience-signals {
    grid-template-columns: repeat(2, 1fr);
  }

  .tarot-audience-signals article:nth-child(2) {
    border-right: 0;
  }

  .tarot-audience-signals article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tarot-line);
  }

  .tarot-audience-signals article:nth-child(odd) {
    padding-left: 0;
  }

  .tarot-funnel {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border: 0;
  }

  .tarot-funnel article {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--tarot-line);
  }

  .tarot-funnel article span,
  .tarot-funnel article b,
  .tarot-funnel article strong {
    margin: 0;
  }

  .tarot-funnel > i {
    display: none;
  }

  .tarot-constellation-stars,
  .tarot-hero .tarot-constellation-stars,
  .tarot-overview .tarot-constellation-stars,
  .tarot-challenge .tarot-constellation-stars,
  .tarot-strategy .tarot-constellation-stars,
  .tarot-results .tarot-constellation-stars,
  .tarot-dashboard-section .tarot-constellation-stars,
  .tarot-campaign-section .tarot-constellation-stars,
  .tarot-performance-section .tarot-constellation-stars {
    left: 70%;
    width: 64vw;
    opacity: 0.7;
  }

  .tarot-constellation-name,
  .tarot-hero .tarot-constellation-name,
  .tarot-overview .tarot-constellation-name,
  .tarot-challenge .tarot-constellation-name,
  .tarot-strategy .tarot-constellation-name,
  .tarot-results .tarot-constellation-name,
  .tarot-dashboard-section .tarot-constellation-name,
  .tarot-campaign-section .tarot-constellation-name,
  .tarot-performance-section .tarot-constellation-name {
    left: 70%;
    font-size: 9px;
  }

  .tarot-dashboard-section,
  .tarot-campaign-section,
  .tarot-performance-section {
    padding-block: 120px;
  }

  .tarot-chart-grid {
    grid-template-columns: 1fr;
  }

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

  .tarot-budget-item:nth-child(2) {
    border-right: 0;
  }

  .tarot-budget-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tarot-line);
  }

  .tarot-budget-item:nth-child(odd) {
    padding-left: 0;
  }

  .tarot-dashboard-funnel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tarot-dashboard-funnel-track > div:nth-child(3)::after {
    display: block;
  }

  .tarot-dashboard-funnel-track > div:nth-child(even)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --tarot-shell-gutter: 28px;
  }

  .tarot-site-header .project-wordmark {
    display: none;
  }

  .tarot-section {
    padding: 106px 0 76px;
  }

  .tarot-hero {
    min-height: 100svh;
    padding-top: 118px;
  }

  .tarot-hero h1 {
    font-size: clamp(58px, 20vw, 88px);
    line-height: 0.78;
  }

  .tarot-intro {
    max-width: 92%;
    font-size: 15px;
    line-height: 1.68;
  }

  .tarot-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .tarot-primary-link {
    width: 100%;
  }

  .tarot-metric-ribbon {
    margin-top: 60px;
  }

  .tarot-metric-ribbon article {
    padding: 20px 14px;
  }

  .tarot-metric-ribbon strong {
    font-size: clamp(24px, 8vw, 33px);
  }

  .tarot-metric-ribbon span {
    font-size: 8px;
  }

  .tarot-heading {
    margin-bottom: 38px;
  }

  .tarot-heading h2,
  .tarot-zodiac-copy h2,
  .tarot-audience-copy h2,
  .tarot-next-copy h2 {
    font-size: clamp(40px, 13vw, 62px);
    line-height: 1;
  }

  .tarot-story-card,
  .tarot-project-card {
    padding: 25px;
  }

  .tarot-story-card > p {
    margin-bottom: 34px;
    font-size: 21px;
  }

  .tarot-zodiac-system {
    width: 100%;
    margin-top: 24px;
  }

  .tarot-zodiac-sign {
    width: 62px;
    height: 58px;
    margin: -29px 0 0 -31px;
    transform: rotate(calc(var(--i) * 30deg)) translateX(min(40vw, 188px)) rotate(calc(var(--i) * -30deg));
  }

  .tarot-mini-constellation {
    width: 54px;
    height: 38px;
  }

  .tarot-zodiac-sign em {
    display: none;
  }

  .tarot-sun {
    width: 30%;
  }

  .tarot-challenge-grid,
  .tarot-strategy-grid,
  .tarot-results-grid,
  .tarot-mix {
    grid-template-columns: 1fr;
  }

  .tarot-challenge-grid article,
  .tarot-strategy-grid article {
    min-height: 250px;
  }

  .tarot-challenge-grid article > span,
  .tarot-strategy-grid article > span {
    margin-bottom: 38px;
  }

  .tarot-mix article {
    min-height: 210px;
  }

  .tarot-audience-focus {
    width: 100%;
    min-height: 220px;
  }

  .tarot-audience-signals b {
    font-size: 17px;
  }

  .tarot-results-grid article {
    min-height: 190px;
  }

  .tarot-footer .tarot-shell {
    min-height: 118px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .tarot-constellation-stars,
  .tarot-hero .tarot-constellation-stars,
  .tarot-overview .tarot-constellation-stars,
  .tarot-challenge .tarot-constellation-stars,
  .tarot-strategy .tarot-constellation-stars,
  .tarot-results .tarot-constellation-stars,
  .tarot-dashboard-section .tarot-constellation-stars,
  .tarot-campaign-section .tarot-constellation-stars,
  .tarot-performance-section .tarot-constellation-stars {
    left: 66%;
    width: 94vw;
  }

  .tarot-constellation-name,
  .tarot-hero .tarot-constellation-name,
  .tarot-overview .tarot-constellation-name,
  .tarot-challenge .tarot-constellation-name,
  .tarot-strategy .tarot-constellation-name,
  .tarot-results .tarot-constellation-name,
  .tarot-dashboard-section .tarot-constellation-name,
  .tarot-campaign-section .tarot-constellation-name,
  .tarot-performance-section .tarot-constellation-name {
    left: 66%;
  }

  .tarot-dashboard-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .tarot-dashboard-select {
    width: 100%;
  }

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

  .tarot-data-card {
    min-height: 150px;
    padding: 20px;
  }

  .tarot-data-card strong {
    font-size: 31px;
  }

  .tarot-chart-area {
    height: 270px;
  }

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

  .tarot-summary-table {
    min-width: 700px;
  }

  .tarot-dashboard-funnel-track {
    grid-template-columns: 1fr;
  }

  .tarot-dashboard-funnel-track > div {
    min-height: 150px;
  }

  .tarot-dashboard-funnel-track > div::after,
  .tarot-dashboard-funnel-track > div:nth-child(3)::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tarot-cosmos,
  .tarot-section::before,
  .tarot-star,
  .tarot-meteor,
  .tarot-collision-flare,
  .tarot-zodiac-ring,
  .tarot-zodiac-orbit,
  .tarot-sun,
  .tarot-audience-focus,
  .tarot-mini-star,
  .tarot-native-chart .chart-bar {
    animation: none !important;
  }

  .tarot-reveal {
    opacity: 1;
    transform: none;
  }
}
