@import url("https://fonts.googleapis.com/css2?family=Commissioner:wght@400;500;600;700&family=Literata:ital,opsz,wght@0,7..72,500;0,7..72,600;0,7..72,700;1,7..72,500&display=swap");

:root {
  --bg: #08275f;
  --bg-deep: #051b45;
  --bg-abyss: #03112e;
  --surface: rgba(16, 48, 116, 0.5);
  --surface-strong: rgba(20, 56, 132, 0.72);
  --stroke: rgba(164, 186, 255, 0.16);
  --stroke-strong: rgba(164, 186, 255, 0.34);
  --text: #f6f2ea;
  --text-soft: #c2cbe8;
  --text-faint: #8d9ac4;
  --sun: #ffbf5f;
  --coral: #ff8763;
  --rose: #ff6f93;
  --lilac: #b8a2ff;
  --sky: #86beff;
  --mint: #6fe0b8;
  --fire: #f0902a;
  --earth: #4fb497;
  --air: #9b6cf0;
  --water: #4a9dff;
  --grad-sun: linear-gradient(120deg, #ffc86b 0%, #ff9a5c 52%, #ff7393 100%);
  --grad-panel: linear-gradient(160deg, rgba(28, 66, 150, 0.6), rgba(10, 34, 86, 0.55));
  --font-display: "Literata", Georgia, serif;
  --font-body: "Commissioner", "Segoe UI", Arial, sans-serif;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes aurora {
  0% {
    transform: translate3d(-6%, -4%, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(6%, 3%, 0) rotate(12deg) scale(1.08);
  }

  100% {
    transform: translate3d(-6%, -4%, 0) rotate(0deg) scale(1);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow:
      0 0 40px rgba(255, 176, 92, 0.55),
      0 0 110px rgba(255, 128, 99, 0.3);
  }

  50% {
    box-shadow:
      0 0 60px rgba(255, 196, 108, 0.75),
      0 0 150px rgba(255, 128, 99, 0.42);
  }
}

@keyframes shine {
  from {
    transform: translateX(-120%) skewX(-20deg);
  }

  to {
    transform: translateX(260%) skewX(-20deg);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 680px at 8% -12%, rgba(66, 116, 232, 0.5), transparent 62%),
    radial-gradient(900px 620px at 100% 6%, rgba(124, 78, 220, 0.38), transparent 60%),
    radial-gradient(1000px 760px at 50% 115%, rgba(255, 135, 99, 0.14), transparent 62%),
    linear-gradient(172deg, #0b2f70 0%, #08275f 34%, #061e4d 68%, #04153b 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

/* star field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 46% 34%, #ffe7b8 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 58%, #cfe0ff 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 84%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 6% 90%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 92%, #ffe7b8 50%, transparent 51%);
  background-size: 420px 420px;
  animation: twinkle 6s ease-in-out infinite;
  pointer-events: none;
}

/* drifting aurora */
body::after {
  content: "";
  position: fixed;
  top: -20vh;
  right: -20vw;
  z-index: -1;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(closest-side, rgba(111, 224, 184, 0.13), rgba(134, 190, 255, 0.08) 55%, transparent);
  filter: blur(30px);
  animation: aurora 26s ease-in-out infinite;
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
}

h3 {
  font-size: 19px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.grad-text {
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--sun);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 640px;
  color: var(--text-soft);
  font-size: 18px;
}

.text-link {
  color: var(--sun);
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(6, 26, 70, 0.72);
  box-shadow: 0 12px 40px rgba(2, 10, 32, 0.35);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand b {
  font-weight: 700;
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(164, 186, 255, 0.1);
  color: var(--text);
}

.site-nav a[aria-current] {
  background: var(--grad-sun);
  color: #24112e;
}

/* ---------- zodiac strip ---------- */
.sign-strip {
  padding: 6px 0 4px;
}

.sign-strip__row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sign-strip__row::-webkit-scrollbar {
  display: none;
}

.strip-item {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 78px;
  padding: 8px 4px;
  border-radius: 16px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.strip-item .badge {
  transition: transform 0.25s ease;
}

.strip-item:hover {
  background: rgba(164, 186, 255, 0.08);
  color: var(--text);
}

.strip-item:hover .badge {
  transform: translateY(-3px) scale(1.06);
}

.strip-item[aria-current] {
  background: rgba(255, 191, 95, 0.12);
  color: var(--sun);
}

.strip-item[aria-current] .badge {
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px var(--sun);
}

/* ---------- badges (supplied zodiac svgs) ---------- */
.badge {
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
}

.badge--xs {
  width: 26px;
  height: 26px;
}

.badge--sm {
  width: 42px;
  height: 42px;
}

.badge--md {
  width: 56px;
  height: 56px;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 15px 28px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: var(--grad-sun);
  box-shadow: 0 14px 34px rgba(255, 128, 99, 0.32);
  color: #24112e;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%) skewX(-20deg);
}

.btn:hover {
  box-shadow: 0 18px 40px rgba(255, 128, 99, 0.45);
  transform: translateY(-2px);
}

.btn:hover::after {
  animation: shine 0.9s ease;
}

/* ---------- hero (home) ---------- */
.hero {
  padding: 44px 0 30px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero__copy {
  animation: fade-up 0.8s ease both;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 999px;
  background: rgba(8, 30, 78, 0.6);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.date-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 12px var(--sun);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 8px;
}

/* orbit illustration */
.orbit {
  --r: 168px;
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit__track {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(164, 186, 255, 0.3);
  border-radius: 50%;
}

.orbit__track--inner {
  inset: 28%;
  border-style: solid;
  border-color: rgba(255, 191, 95, 0.18);
}

.orbit__sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3d1, #ffc86b 38%, #ff8763 72%, #ff6f93);
  transform: translate(-50%, -50%);
  animation: glow 5s ease-in-out infinite;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  animation: spin 90s linear infinite;
}

.orbit__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15%;
  margin: -7.5%;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
}

.orbit__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(2, 10, 32, 0.45);
  animation: spin 90s linear infinite reverse;
}

/* ---------- sections ---------- */
.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--text-faint);
}

/* sign cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.sign-card {
  --tone: var(--sky);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--grad-panel);
  color: inherit;
  text-decoration: none;
  animation: fade-up 0.6s ease both;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.sign-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tone), transparent);
  opacity: 0.22;
  transition: opacity 0.25s ease;
}

.sign-card:hover {
  border-color: color-mix(in srgb, var(--tone) 60%, transparent);
  box-shadow: 0 18px 40px rgba(2, 10, 32, 0.45);
  transform: translateY(-4px);
}

.sign-card:hover::before {
  opacity: 0.4;
}

.sign-card--fire {
  --tone: var(--fire);
}

.sign-card--earth {
  --tone: var(--earth);
}

.sign-card--air {
  --tone: var(--air);
}

.sign-card--water {
  --tone: var(--water);
}

.card-grid > :nth-child(3n + 2) {
  animation-delay: 0.08s;
}

.card-grid > :nth-child(3n + 3) {
  animation-delay: 0.16s;
}

.sign-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.sign-card h3 {
  margin: 0;
  font-size: 20px;
}

.sign-card__dates {
  color: var(--text-faint);
  font-size: 12.5px;
}

.sign-card p {
  position: relative;
  flex: 1;
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 14.5px;
}

.sign-card__more {
  color: var(--tone);
  font-size: 13px;
  font-weight: 700;
}

.sign-card__more::after {
  content: " →";
}

.tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 3px 10px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

.tag--fire {
  border-color: transparent;
  background: rgba(240, 144, 42, 0.2);
  color: #ffc58a;
}

.tag--earth {
  border-color: transparent;
  background: rgba(79, 180, 151, 0.2);
  color: #9be6cd;
}

.tag--air {
  border-color: transparent;
  background: rgba(155, 108, 240, 0.22);
  color: #d2bfff;
}

.tag--water {
  border-color: transparent;
  background: rgba(74, 157, 255, 0.2);
  color: #b5d6ff;
}

/* sky today */
.sky-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sky-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
}

.sky-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sky-card__row h3 {
  margin: 0;
}

.sky-card__plus {
  color: var(--sun);
  font-weight: 700;
}

.sky-card p {
  flex: 1;
  color: var(--text-soft);
  font-size: 14.5px;
}

.sky-card--quote {
  border-color: transparent;
  background: linear-gradient(150deg, rgba(122, 78, 220, 0.5), rgba(255, 111, 147, 0.32));
}

.sky-card blockquote {
  flex: 1;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  line-height: 1.4;
}

.sky-card__by {
  flex: 0 0 auto;
  margin: 0;
  font-size: 13px;
}

/* reading banner */
.reading-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 30px 34px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(400px 220px at 0% 0%, rgba(255, 200, 107, 0.35), transparent 70%),
    linear-gradient(120deg, #2a1a6e 0%, #3d2a8f 45%, #7a3a8f 100%);
  box-shadow: 0 20px 50px rgba(2, 10, 32, 0.4);
}

.reading-banner__art {
  width: 84px;
  height: 84px;
  animation: float 5s ease-in-out infinite;
}

.reading-banner h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
}

.reading-banner p {
  margin: 0;
  color: rgba(246, 242, 234, 0.82);
}

/* topic cards */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.topic {
  position: relative;
  display: block;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.topic:hover {
  border-color: var(--stroke-strong);
  transform: translateY(-4px);
}

.topic__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.topic h3 {
  margin: 0 0 8px;
}

.topic p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
}

/* prose + faq */
.prose > p,
.prose > .faq,
.prose > table {
  max-width: 860px;
}

.prose p,
.prose li {
  color: var(--text-soft);
}

.prose a {
  color: var(--sun);
  text-underline-offset: 4px;
}

.faq {
  margin-top: 6px;
  border-top: 1px solid var(--stroke);
}

details {
  padding: 18px 4px;
  border-bottom: 1px solid var(--stroke);
}

summary {
  position: relative;
  padding-right: 34px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: -2px;
  right: 4px;
  color: var(--sun);
  font-family: var(--font-body);
  font-size: 22px;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

details a {
  color: var(--sun);
}

/* ---------- page heads ---------- */
.page-head {
  padding: 34px 0 22px;
  animation: fade-up 0.7s ease both;
}

.page-head h1 {
  margin-bottom: 12px;
}

.breadcrumb {
  padding: 6px 0;
  color: var(--text-faint);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-faint);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--sun);
}

/* ---------- sign page ---------- */
.sign-hero {
  --tone: var(--sky);
  margin-top: 6px;
  background:
    radial-gradient(600px 300px at 10% 50%, color-mix(in srgb, var(--tone) 38%, transparent), transparent 70%),
    linear-gradient(90deg, rgba(5, 27, 69, 0.2), rgba(5, 27, 69, 0.6));
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.sign-hero--fire {
  --tone: var(--fire);
}

.sign-hero--earth {
  --tone: var(--earth);
}

.sign-hero--air {
  --tone: var(--air);
}

.sign-hero--water {
  --tone: var(--water);
}

.sign-hero__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 34px 0;
}

.sign-hero__badge {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(2, 10, 32, 0.5);
  animation: float 6s ease-in-out infinite;
}

.sign-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
}

.sign-hero p {
  margin: 0;
  color: var(--text-soft);
}

.sign-hero .kicker {
  margin-bottom: 6px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 44px;
  padding: 34px 0 56px;
}

.article h2 {
  margin-top: 38px;
  font-size: 25px;
}

.article p {
  color: var(--text-soft);
}

.article a {
  color: var(--sun);
  text-underline-offset: 4px;
}

.lead--sign {
  max-width: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.area {
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: var(--surface);
}

.area__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.area__head h3 {
  flex: 1;
  margin: 0;
  font-size: 17px;
}

.area__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 191, 95, 0.14);
}

.area__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.area p {
  margin: 0;
  font-size: 14.5px;
}

.meter {
  display: inline-flex;
  gap: 4px;
}

.meter i {
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: rgba(164, 186, 255, 0.2);
}

.meter i.is-on {
  background: var(--grad-sun);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.tile {
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(5, 27, 69, 0.55);
}

.tile span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tile strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.quote {
  position: relative;
  margin: 22px 0 0;
  padding: 26px 28px 22px 64px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(122, 78, 220, 0.42), rgba(255, 111, 147, 0.24));
}

.quote::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 20px;
  color: var(--sun);
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
}

.quote blockquote {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.45;
}

.quote figcaption {
  color: var(--text-soft);
  font-size: 13px;
}

.link-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0 10px;
}

.article .link-row a {
  padding: 14px 18px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.article .link-row a::after {
  content: " →";
  color: var(--sun);
}

.article .link-row a:hover {
  border-color: var(--stroke-strong);
  background: rgba(164, 186, 255, 0.06);
}

.sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.panel {
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--grad-panel);
}

.panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
  font-size: 14px;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke);
}

.facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts dt {
  color: var(--text-faint);
}

.facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.match-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.match-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(5, 27, 69, 0.5);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.match-list a:hover {
  color: var(--sun);
}

/* ---------- compatibility ---------- */
.pair-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 30px;
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--grad-panel);
}

.pair-form {
  display: grid;
  gap: 12px;
}

.pair-form label {
  display: grid;
  gap: 6px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
}

.select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 12px;
  background: rgba(3, 17, 46, 0.7);
  color: var(--text);
}

.pair-result {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 18px 26px;
}

.pair-result__badges {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sun);
  font-size: 22px;
  font-weight: 700;
}

.pair-result p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-soft);
}

.ring {
  --c: var(--mint);
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #071d4c 78%, transparent 80%),
    conic-gradient(var(--c) calc(var(--p) * 1%), rgba(164, 186, 255, 0.16) 0);
}

.ring strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.ring.is-mid {
  --c: var(--sun);
}

.ring.is-low {
  --c: var(--rose);
}

.matrix-wrap {
  overflow-x: auto;
  contain: paint;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(5, 27, 69, 0.55);
}

.matrix {
  min-width: 940px;
  border-collapse: separate;
  border-spacing: 5px;
  font-size: 13px;
}

.matrix th,
.matrix td {
  padding: 0;
  text-align: center;
}

.matrix thead .badge {
  margin: 0 auto 4px;
}

.matrix tbody th {
  padding-right: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.matrix tbody th .badge {
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.cell {
  display: grid;
  place-items: center;
  width: 50px;
  height: 42px;
  border-radius: 10px;
  font-weight: 700;
}

.cell.is-high {
  background: rgba(111, 224, 184, 0.24);
  color: #b8f5df;
}

.cell.is-mid {
  background: rgba(255, 191, 95, 0.2);
  color: #ffdca6;
}

.cell.is-low {
  background: rgba(255, 111, 147, 0.2);
  color: #ffc0cf;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: var(--text-faint);
  font-size: 13px;
}

.legend span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 4px;
  vertical-align: -1px;
}

.legend .is-high::before {
  background: var(--mint);
}

.legend .is-mid::before {
  background: var(--sun);
}

.legend .is-low::before {
  background: var(--rose);
}

/* ---------- signs by element ---------- */
.element-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.element-box {
  --tone: var(--sky);
  padding: 20px;
  border-top: 3px solid var(--tone);
  border-radius: 16px;
  background: var(--surface);
}

.element-box--fire {
  --tone: var(--fire);
}

.element-box--earth {
  --tone: var(--earth);
}

.element-box--air {
  --tone: var(--air);
}

.element-box--water {
  --tone: var(--water);
}

.element-box h3 {
  margin: 0 0 8px;
}

.element-box p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
}

.element-box a {
  text-decoration: none;
}

.element-box a:hover {
  color: var(--sun);
}

/* ---------- sign finder ---------- */
.finder {
  max-width: 620px;
  padding: 26px;
  border: 1px solid var(--stroke-strong);
  border-radius: 24px;
  background: var(--grad-panel);
}

.finder__form {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 10px;
}

.finder__form .btn {
  min-height: 48px;
  padding: 12px 22px;
}

.finder__result {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}

.finder__result[hidden] {
  display: none;
}

.finder__result .kicker {
  margin: 0;
}

.finder__result h3 {
  margin: 0 0 2px;
  font-size: 24px;
}

.finder__result h3 a {
  text-decoration: none;
}

.finder__result p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.sign-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.sign-table th,
.sign-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
}

.sign-table th {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sign-table__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

.sign-table__name:hover {
  color: var(--sun);
}

/* ---------- contact & legal ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 56px;
}

.contact-grid section {
  padding: 26px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-grid h2 {
  font-size: 22px;
}

.contact-grid address {
  color: var(--text-soft);
  font-style: normal;
}

.contact-grid p {
  color: var(--text-soft);
}

.notice {
  margin-bottom: 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--sun);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 191, 95, 0.08);
  color: var(--text-soft);
}

.legal {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 40px;
}

.legal__doc {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  background: var(--grad-panel);
  box-shadow: 0 24px 60px rgba(2, 10, 32, 0.4);
}

.legal h1 {
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 40px);
}

.legal h2 {
  margin: 32px 0 12px;
  font-size: 21px;
}

.legal p,
.legal li {
  color: var(--text-soft);
  font-size: 15.5px;
}

.legal ul,
.legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal__caps {
  font-size: 14px;
  letter-spacing: 0.01em;
}

.fine {
  color: var(--text-faint);
  font-size: 13px;
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: 30px;
  padding: 46px 0 24px;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(3, 17, 46, 0.4), rgba(3, 17, 46, 0.95));
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
}

.footer-col nav {
  display: grid;
  gap: 8px;
}

.footer-col--signs nav {
  grid-template-columns: 1fr 1fr;
}

.footer-col a {
  color: var(--text-faint);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--sun);
}

.footer-col .brand {
  color: var(--text);
}

.footer-col p {
  max-width: 300px;
  margin-top: 14px;
  color: var(--text-faint);
}

.footer-legal {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(8, 30, 78, 0.5);
}

.footer-legal p {
  margin: 0 0 6px;
  color: var(--text-faint);
  font-size: 12.5px;
}

.footer-legal p:last-child {
  margin: 0;
}

.footer-legal strong {
  color: var(--text-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  color: var(--text-faint);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: var(--text-faint);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--sun);
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .header-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

  .orbit {
    --r: 150px;
    width: 380px;
  }

  .sky-grid,
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 26px;
  }

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

@media (max-width: 720px) {
  .shell,
  .legal {
    width: calc(100% - 32px);
  }

  .site-header {
    position: static;
    padding: 10px 0 0;
  }

  .header-bar {
    padding: 12px;
  }

  .site-nav {
    flex-wrap: nowrap;
    margin: 0 -4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 7px 12px;
    font-size: 13px;
  }

  .sign-strip__row {
    justify-content: flex-start;
  }

  .hero {
    padding: 24px 0 10px;
  }

  .lead {
    font-size: 16px;
  }

  .orbit {
    --r: 116px;
    width: 290px;
  }

  .section {
    padding: 30px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
  }

  .sky-grid,
  .topic-grid,
  .element-grid,
  .article-layout,
  .area-grid,
  .link-row,
  .contact-grid,
  .pair-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .reading-banner {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .reading-banner__art {
    width: 64px;
    height: 64px;
  }

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

  .sign-hero__inner {
    gap: 16px;
    padding: 24px 0;
  }

  .sign-hero__badge {
    width: 76px;
    height: 76px;
  }

  .lead--sign {
    font-size: 19px;
  }

  .sidebar {
    position: static;
  }

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

  .finder__form .btn {
    grid-column: 1 / -1;
  }

  .sign-table th:nth-child(3),
  .sign-table td:nth-child(3),
  .sign-table th:nth-child(4),
  .sign-table td:nth-child(4) {
    display: none;
  }

  .sign-table {
    font-size: 13.5px;
  }

  .sign-table th,
  .sign-table td {
    padding: 10px 6px;
  }

  .sign-table__name {
    gap: 6px;
  }

  .legal {
    padding: 24px 0;
  }
}

@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    transform: none !important;
    scale: 1 !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
