:root {
  --ink: #221b23;
  --muted: #746b72;
  --paper: #f5f1e9;
  --paper-deep: #ece5d9;
  --white: #fffdf8;
  --plum: #2d103e;
  --plum-soft: #4b245d;
  --violet: #765082;
  --gold: #d5a94e;
  --gold-light: #f1d486;
  --line: rgba(45, 16, 62, .15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --shadow: 0 26px 70px rgba(43, 27, 39, .14);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  border-radius: 40px;
  color: white;
  background: var(--plum);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.header-inner {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

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

.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  filter: invert(89%) sepia(33%) saturate(591%) hue-rotate(353deg) brightness(95%);
}

.brand span {
  color: var(--white);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
}

.desktop-nav {
  display: flex;
  gap: 38px;
  align-items: center;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, .73);
  font-size: 13px;
  letter-spacing: .04em;
  transition: color .2s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--gold-light);
  transition: transform .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: white;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-shop {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.header-shop svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.header-shop:hover,
.header-shop:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, .08);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  color: white;
  background:
    radial-gradient(circle at 83% 44%, rgba(143, 97, 155, .26), transparent 25%),
    radial-gradient(circle at 14% 2%, rgba(140, 81, 141, .18), transparent 29%),
    linear-gradient(128deg, #190a25 0%, #2c103d 54%, #1f0c2c 100%);
}

.hero::after {
  position: absolute;
  right: -15%;
  bottom: -36%;
  width: 780px;
  height: 780px;
  content: "";
  opacity: .12;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 0 100px transparent, 0 0 0 101px var(--gold-light);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(240, 210, 133, .13);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 180px;
  left: -230px;
  width: 480px;
  height: 480px;
}

.orbit-two {
  top: 288px;
  left: -125px;
  width: 250px;
  height: 250px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 720px;
  padding-top: 132px;
  grid-template-columns: 1.05fr .95fr;
  gap: 84px;
  align-items: center;
}

.eyebrow {
  display: flex;
  margin: 0 0 24px;
  align-items: center;
  gap: 11px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow b {
  font: inherit;
}

.hero h1,
.section-heading h2,
.articles-intro h2,
.closing h2,
.modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(55px, 6vw, 83px);
}

.hero h1 em,
.section-heading h2 em,
.articles-intro h2 em,
.closing h2 em,
.modal h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-text {
  max-width: 585px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 25px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 650;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button-gold {
  color: #261629;
  background: linear-gradient(135deg, #ebcd7d, #c79537);
  box-shadow: 0 12px 35px rgba(210, 162, 65, .28), inset 0 1px rgba(255, 255, 255, .5);
}

.button-gold:hover,
.button-gold:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 17px 40px rgba(210, 162, 65, .36), inset 0 1px rgba(255, 255, 255, .5);
}

.text-link {
  display: inline-flex;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .83);
  font-size: 13px;
}

.text-link span {
  color: var(--gold-light);
}

.hero-note {
  display: flex;
  margin-top: 48px;
  align-items: center;
  gap: 16px;
}

.mini-moons {
  display: flex;
  width: 79px;
  height: 32px;
  align-items: center;
}

.mini-moons span {
  display: block;
  width: 30px;
  height: 30px;
  margin-left: -5px;
  border: 1px solid rgba(238, 207, 124, .65);
  border-radius: 50%;
  background: #2b103b;
}

.mini-moons span:first-child {
  margin-left: 0;
  background: var(--gold-light);
}

.mini-moons span:nth-child(2) {
  background: linear-gradient(90deg, var(--gold-light) 50%, #2b103b 50%);
}

.hero-note p {
  margin: 0;
  color: rgba(255, 255, 255, .53);
  font-size: 11px;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-note strong {
  color: rgba(255, 255, 255, .87);
  font-weight: 600;
}

.hero-art {
  position: relative;
  min-height: 526px;
}

.vertical-word {
  position: absolute;
  top: 32px;
  right: -8px;
  margin: 0;
  color: rgba(255, 255, 255, .22);
  font-size: 9px;
  letter-spacing: .26em;
  writing-mode: vertical-rl;
}

.tarot-card,
.card-shadow {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 324px;
  height: 482px;
  border-radius: 160px 160px 27px 27px;
}

.card-shadow {
  transform: translateX(-40%) rotate(10deg);
  border: 1px solid rgba(234, 201, 117, .35);
  background: #553066;
  box-shadow: var(--shadow);
}

.tarot-card {
  overflow: hidden;
  transform: translateX(-50%) rotate(-4deg);
  border: 1px solid rgba(242, 213, 138, .7);
  background:
    radial-gradient(circle at 50% 38%, rgba(120, 71, 137, .7), transparent 35%),
    linear-gradient(155deg, #3c174f, #160822);
  box-shadow: 0 38px 90px rgba(0, 0, 0, .4);
}

.tarot-card::before,
.tarot-card::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(240, 210, 132, .45);
  border-radius: inherit;
  inset: 12px;
}

.tarot-card::after {
  border-radius: 50%;
  inset: 120px 46px 96px;
  box-shadow: 0 0 0 20px rgba(236, 203, 117, .025), 0 0 0 21px rgba(236, 203, 117, .18);
}

.card-number {
  position: absolute;
  z-index: 2;
  top: 43px;
  left: 0;
  width: 100%;
  color: rgba(244, 219, 157, .66);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .24em;
  text-align: center;
}

.stars {
  position: absolute;
  z-index: 2;
  color: var(--gold-light);
}

.stars-a {
  top: 89px;
  left: 42px;
  font-size: 13px;
}

.stars-b {
  top: 74px;
  right: 38px;
  font-size: 12px;
  letter-spacing: 5px;
}

.mark-wrap {
  position: absolute;
  z-index: 3;
  top: 148px;
  left: 50%;
  display: grid;
  width: 194px;
  height: 194px;
  transform: translateX(-50%);
  place-items: center;
}

.mark-wrap img {
  width: 168px;
  opacity: .83;
  filter: invert(83%) sepia(52%) saturate(506%) hue-rotate(350deg) brightness(103%);
}

.mark-ring {
  position: absolute;
  width: 185px;
  height: 185px;
  animation: slow-spin 35s linear infinite;
  border: 1px dashed rgba(239, 207, 124, .45);
  border-radius: 50%;
}

.mark-ring::before,
.mark-ring::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 181px 0 var(--gold-light);
}

.mark-ring::after {
  top: -5px;
  left: 50%;
  box-shadow: 0 181px var(--gold-light);
}

.card-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 42px;
  left: 0;
  text-align: center;
}

.card-caption span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.card-caption strong {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .27em;
}

.floating-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  min-height: 37px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .77);
  background: rgba(30, 11, 43, .64);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.floating-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 9px var(--gold-light);
}

.chip-one {
  top: 122px;
  left: 4px;
}

.chip-two {
  right: 5px;
  bottom: 96px;
}

.trust-line {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 82px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  align-items: center;
  justify-content: center;
  gap: 31px;
  color: rgba(255, 255, 255, .45);
  font-size: 10px;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.trust-line i {
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  background: var(--gold);
}

.section {
  padding: 118px 0;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.articles-intro h2 {
  color: var(--plum);
  font-size: clamp(43px, 5vw, 65px);
}

.section-heading h2 em,
.articles-intro h2 em {
  color: var(--violet);
}

.directions {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(119, 78, 128, .09), transparent 22%),
    var(--paper);
}

.direction-grid {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.direction-card {
  position: relative;
  display: flex;
  min-height: 322px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  background: rgba(255, 253, 248, .5);
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.direction-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  content: "";
  border: 1px solid rgba(86, 49, 96, .09);
  border-radius: 50%;
  transition: transform .35s ease;
}

.direction-card:hover,
.direction-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(104, 65, 115, .3);
  background: var(--white);
  box-shadow: var(--shadow);
}

.direction-card:hover::after,
.direction-card:focus-visible::after {
  transform: scale(1.3);
}

.direction-icon {
  display: grid;
  width: 100px;
  height: 100px;
  margin-top: 12px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #5d2a70, #280e38);
  box-shadow: 0 15px 30px rgba(58, 22, 72, .2), inset 0 1px rgba(255, 255, 255, .18);
  place-items: center;
}

.direction-icon svg {
  width: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.telegram-icon svg {
  fill: none;
}

.telegram-icon svg path {
  fill: none;
}

.direction-index {
  position: absolute;
  top: 30px;
  left: 30px;
  color: #a69da3;
  font-family: var(--serif);
  font-size: 12px;
}

.direction-card strong {
  margin-top: 24px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.direction-card small {
  max-width: 215px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.round-arrow {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: grid;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--violet);
  font-size: 15px;
  place-items: center;
}

.materials {
  color: white;
  background: #241130;
}

.section-top {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  align-items: end;
}

.materials .section-heading h2 {
  color: white;
}

.materials .section-heading h2 em {
  color: var(--gold-light);
}

.section-lead {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 1.75;
}

.material-grid {
  display: grid;
  margin-top: 57px;
  grid-template-columns: 1.3fr .7fr;
  gap: 22px;
}

.featured-material {
  display: grid;
  min-height: 465px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  grid-template-columns: .9fr 1.1fr;
  background: linear-gradient(145deg, #482357, #2a1236);
}

.feature-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(239, 210, 138, .17), transparent 30%),
    repeating-radial-gradient(circle at 50% 48%, transparent 0 60px, rgba(233, 203, 128, .08) 61px 62px);
}

.feature-art::before,
.feature-art::after {
  position: absolute;
  width: 170%;
  height: 1px;
  content: "";
  transform: rotate(29deg);
  background: rgba(238, 205, 125, .12);
  inset: 48% auto auto -35%;
}

.feature-art::after {
  transform: rotate(-29deg);
}

.feature-moon {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 123px;
  height: 123px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 50px rgba(239, 207, 127, .17);
}

.feature-moon::after {
  position: absolute;
  top: -9px;
  left: 34px;
  width: 122px;
  height: 122px;
  content: "";
  border-radius: 50%;
  background: #3a1b47;
}

.feature-star {
  position: absolute;
  color: var(--gold-light);
}

.star-one {
  top: 61px;
  left: 19%;
  font-size: 13px;
}

.star-two {
  top: 130px;
  right: 18%;
  font-size: 20px;
}

.mini-card {
  position: absolute;
  bottom: 38px;
  left: 50%;
  width: 150px;
  height: 214px;
  border: 1px solid rgba(240, 208, 129, .65);
  border-radius: 75px 75px 13px 13px;
  background: #291033;
  box-shadow: 0 25px 45px rgba(0, 0, 0, .28);
}

.mini-card-back {
  transform: translateX(-40%) rotate(14deg);
  background: #623a6d;
}

.mini-card-front {
  display: grid;
  transform: translateX(-62%) rotate(-8deg);
  place-items: center;
}

.mini-card-front::before {
  position: absolute;
  content: "";
  border: 1px solid rgba(240, 208, 129, .3);
  border-radius: inherit;
  inset: 8px;
}

.mini-card-front img {
  width: 104px;
  opacity: .68;
  filter: invert(84%) sepia(47%) saturate(478%) hue-rotate(351deg);
}

.feature-content {
  display: flex;
  padding: 63px 52px 55px 35px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.material-type {
  display: block;
  margin-bottom: 19px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.feature-content h3,
.small-material h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.feature-content h3 {
  max-width: 390px;
  font-size: 42px;
  line-height: 1.06;
}

.feature-content p {
  max-width: 370px;
  margin: 21px 0 29px;
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
  line-height: 1.7;
}

.button-light {
  min-height: 48px;
  color: var(--plum);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 13px 25px rgba(0, 0, 0, .2);
}

.small-materials {
  display: grid;
  gap: 22px;
  grid-template-rows: 1fr 1fr;
}

.small-material {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--radius-md);
  grid-template-columns: 42% 58%;
  background: rgba(255, 255, 255, .035);
  transition: background .2s ease;
}

.small-material:hover {
  background: rgba(255, 255, 255, .065);
}

.small-material > div:last-child {
  display: flex;
  padding: 30px 27px 25px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.small-material .material-type {
  margin-bottom: 12px;
}

.small-material h3 {
  font-size: 24px;
  line-height: 1.14;
}

.small-material a {
  display: inline-flex;
  margin-top: 19px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}

.small-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: #321740;
}

.visual-cards span {
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: 67px;
  height: 106px;
  border: 1px solid rgba(240, 209, 131, .55);
  border-radius: 34px 34px 7px 7px;
  background: #24102e;
}

.visual-cards span:first-child {
  transform: translateX(-86%) rotate(-20deg);
  background: #684674;
}

.visual-cards span:nth-child(2) {
  z-index: 2;
  transform: translateX(-50%);
}

.visual-cards span:nth-child(2)::after {
  position: absolute;
  top: 38px;
  left: 21px;
  width: 24px;
  height: 24px;
  content: "✦";
  color: var(--gold-light);
  font-size: 17px;
  text-align: center;
}

.visual-cards span:last-child {
  transform: translateX(-14%) rotate(20deg);
  background: #482456;
}

.moon-phase {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(240, 208, 128, .75);
  border-radius: 50%;
  box-shadow: 0 0 0 13px rgba(240, 208, 128, .04), 0 0 0 14px rgba(240, 208, 128, .14);
}

.moon-phase::after {
  position: absolute;
  top: -7px;
  left: 28px;
  width: 91px;
  height: 91px;
  content: "";
  border-radius: 50%;
  background: #321740;
}

.visual-moon i {
  position: absolute;
  top: 38px;
  right: 28px;
  color: var(--gold-light);
  font-style: normal;
}

.articles {
  background:
    radial-gradient(circle at 5% 85%, rgba(111, 69, 122, .09), transparent 26%),
    var(--paper);
}

.articles-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 95px;
}

.articles-intro {
  position: relative;
}

.articles-intro > p:not(.eyebrow) {
  max-width: 330px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.compass-mini {
  position: absolute;
  top: 298px;
  left: 120px;
  display: grid;
  width: 120px;
  height: 120px;
  opacity: .15;
  border: 1px solid var(--plum);
  border-radius: 50%;
  place-items: center;
}

.compass-mini img {
  width: 105px;
}

.article-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.article-list li {
  border-top: 1px solid var(--line);
}

.article-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.article-list a {
  display: grid;
  min-height: 91px;
  padding: 13px 5px;
  grid-template-columns: 54px 1fr auto 42px;
  align-items: center;
  transition: padding .25s ease, background .25s ease;
}

.article-list a:hover,
.article-list a:focus-visible {
  padding-right: 14px;
  padding-left: 14px;
  background: rgba(255, 255, 255, .55);
}

.article-number {
  color: var(--violet);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.article-title {
  padding-right: 15px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
}

.article-kind {
  color: #9a9097;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.article-arrow {
  display: grid;
  width: 33px;
  height: 33px;
  margin-left: 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--violet);
  place-items: center;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: white;
  background:
    radial-gradient(circle at 50% 130%, rgba(128, 76, 139, .55), transparent 43%),
    #1c0a27;
}

.closing::before,
.closing::after {
  position: absolute;
  top: 50%;
  width: 320px;
  height: 320px;
  content: "";
  transform: translateY(-50%);
  opacity: .12;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
}

.closing::before {
  left: -180px;
  box-shadow: 0 0 0 38px transparent, 0 0 0 39px var(--gold-light);
}

.closing::after {
  right: -180px;
  box-shadow: 0 0 0 38px transparent, 0 0 0 39px var(--gold-light);
}

.closing-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.closing-inner > img {
  width: 75px;
  margin: 0 auto 23px;
  opacity: .8;
  filter: invert(85%) sepia(45%) saturate(510%) hue-rotate(351deg);
}

.closing .eyebrow {
  justify-content: center;
}

.closing h2 {
  font-size: clamp(42px, 5vw, 66px);
}

.closing h2 em {
  color: var(--gold-light);
}

.closing .button {
  margin-top: 36px;
}

.site-footer {
  color: rgba(255, 255, 255, .65);
  background: #15071d;
}

.footer-main {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 32px;
  font-size: 12px;
}

.footer-links a {
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}

.to-top {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: white;
  place-items: center;
}

.footer-bottom {
  display: flex;
  min-height: 59px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .32);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.admin-link {
  margin-left: 8px;
  color: rgba(255, 255, 255, .18);
  transition: color .2s ease;
}

.admin-link:hover,
.admin-link:focus-visible {
  color: var(--gold-light);
}

.modal {
  position: fixed;
  z-index: 100;
  visibility: hidden;
  inset: 0;
}

.modal.is-open {
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  opacity: 0;
  background: rgba(18, 7, 24, .72);
  backdrop-filter: blur(8px);
  transition: opacity .25s ease;
  inset: 0;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(510px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  overflow: auto;
  padding: 42px 44px 32px;
  transform: translate(-50%, -47%) scale(.96);
  opacity: 0;
  border: 1px solid rgba(57, 26, 67, .13);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .38);
  text-align: center;
  transition: transform .25s ease, opacity .25s ease;
}

.modal.is-open .modal-dialog {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--violet);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
}

.modal-symbol {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 19px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.modal-symbol img {
  width: 58px;
  opacity: .7;
}

.modal .eyebrow {
  margin-bottom: 19px;
  justify-content: center;
  color: var(--violet);
}

.modal h2 {
  color: var(--plum);
  font-size: 41px;
}

.modal h2 em {
  color: var(--violet);
}

.modal-text {
  margin: 17px auto 25px;
  color: var(--muted);
  font-size: 13px;
}

.modal-options {
  display: grid;
  gap: 10px;
}

.modal-options > a {
  display: grid;
  min-height: 78px;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, .48);
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.modal-options > a:hover,
.modal-options > a:focus-visible {
  transform: translateX(4px);
  border-color: rgba(81, 41, 91, .3);
  background: white;
}

.modal-option-icon {
  display: grid;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #603170, #291038);
  place-items: center;
}

.modal-option-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.modal-options strong,
.modal-options small {
  display: block;
}

.modal-options strong {
  color: var(--plum);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.modal-options small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.modal-options i {
  color: var(--violet);
  font-style: normal;
}

.modal-note {
  margin: 19px 0 0;
  color: #9e969a;
  font-size: 9px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: min(350px, calc(100% - 48px));
  padding: 15px 20px;
  transform: translateY(20px);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  color: white;
  background: #25102f;
  box-shadow: var(--shadow);
  font-size: 12px;
  line-height: 1.5;
  transition: transform .2s ease, opacity .2s ease;
}

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

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

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid {
    gap: 30px;
    grid-template-columns: 1fr 390px;
  }

  .hero h1 {
    font-size: 58px;
  }

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

  .small-materials {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .small-material {
    min-height: 218px;
  }

  .articles-layout {
    gap: 50px;
    grid-template-columns: .62fr 1.38fr;
  }

  .article-title {
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 600px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand span {
    font-size: 21px;
  }

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

  .header-shop {
    min-height: 38px;
    padding: 0 15px;
  }

  .header-shop svg {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 124px;
    padding-bottom: 65px;
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    font-size: clamp(45px, 13vw, 61px);
  }

  .hero-text {
    max-width: 520px;
    font-size: 15px;
  }

  .hero-art {
    min-height: 475px;
    margin-top: 10px;
  }

  .tarot-card,
  .card-shadow {
    width: 280px;
    height: 424px;
  }

  .tarot-card {
    border-radius: 140px 140px 24px 24px;
  }

  .card-shadow {
    border-radius: 140px 140px 24px 24px;
  }

  .mark-wrap {
    top: 128px;
    width: 170px;
    height: 170px;
  }

  .mark-wrap img {
    width: 145px;
  }

  .mark-ring {
    width: 164px;
    height: 164px;
  }

  .mark-ring::before {
    box-shadow: 160px 0 var(--gold-light);
  }

  .mark-ring::after {
    box-shadow: 0 160px var(--gold-light);
  }

  .chip-one {
    left: calc(50% - 177px);
  }

  .chip-two {
    right: calc(50% - 177px);
  }

  .vertical-word {
    display: none;
  }

  .trust-line {
    overflow-x: auto;
    padding: 0 10px;
    justify-content: flex-start;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading h2,
  .articles-intro h2 {
    font-size: clamp(39px, 11vw, 54px);
  }

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

  .direction-card {
    min-height: 168px;
    padding: 24px 70px 24px 125px;
    align-items: flex-start;
    justify-content: center;
  }

  .direction-icon {
    position: absolute;
    top: 50%;
    left: 25px;
    width: 78px;
    height: 78px;
    margin: 0;
    transform: translateY(-50%);
  }

  .direction-icon svg {
    width: 35px;
  }

  .direction-index {
    top: 22px;
    right: 24px;
    left: auto;
  }

  .direction-card strong {
    margin-top: 0;
  }

  .direction-card small {
    max-width: 250px;
    text-align: left;
  }

  .round-arrow {
    right: 22px;
    bottom: 22px;
  }

  .section-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-lead {
    max-width: 520px;
  }

  .featured-material {
    min-height: 650px;
    grid-template-columns: 1fr;
    grid-template-rows: 310px 1fr;
  }

  .feature-content {
    padding: 39px 33px 42px;
  }

  .feature-content h3 {
    font-size: 37px;
  }

  .small-materials {
    grid-template-columns: 1fr;
  }

  .small-material {
    min-height: 210px;
  }

  .articles-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .articles-intro > p:not(.eyebrow) {
    max-width: 520px;
  }

  .compass-mini {
    top: 15px;
    right: 0;
    left: auto;
    width: 90px;
    height: 90px;
  }

  .compass-mini img {
    width: 76px;
  }

  .article-list a {
    min-height: 88px;
    grid-template-columns: 43px 1fr 36px;
  }

  .article-kind {
    display: none;
  }

  .article-title {
    font-size: 19px;
  }

  .article-arrow {
    margin-left: 3px;
  }

  .closing {
    padding: 86px 0;
  }

  .closing h2 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .footer-main {
    min-height: 160px;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 25px;
  }

  .footer-links {
    width: 100%;
    order: 3;
    justify-content: space-between;
  }

  .footer-bottom {
    min-height: 75px;
    padding: 17px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    line-height: 1.4;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-note {
    margin-top: 36px;
  }

  .hero-art {
    min-height: 440px;
  }

  .tarot-card,
  .card-shadow {
    width: 248px;
    height: 386px;
  }

  .mark-wrap {
    top: 119px;
    width: 145px;
    height: 145px;
  }

  .mark-wrap img {
    width: 125px;
  }

  .mark-ring {
    width: 142px;
    height: 142px;
  }

  .mark-ring::before {
    box-shadow: 138px 0 var(--gold-light);
  }

  .mark-ring::after {
    box-shadow: 0 138px var(--gold-light);
  }

  .card-caption {
    bottom: 33px;
  }

  .chip-one {
    top: 106px;
    left: 0;
  }

  .chip-two {
    right: 0;
    bottom: 73px;
  }

  .direction-card {
    padding-left: 113px;
  }

  .direction-icon {
    left: 21px;
    width: 71px;
    height: 71px;
  }

  .feature-content {
    padding: 35px 25px 38px;
  }

  .feature-content h3 {
    font-size: 33px;
  }

  .small-material {
    min-height: 188px;
    grid-template-columns: 36% 64%;
  }

  .small-material > div:last-child {
    padding: 22px 17px;
  }

  .small-material h3 {
    font-size: 20px;
  }

  .visual-cards span {
    width: 54px;
    height: 88px;
  }

  .visual-cards span:nth-child(2)::after {
    top: 30px;
    left: 15px;
  }

  .moon-phase {
    width: 72px;
    height: 72px;
  }

  .moon-phase::after {
    width: 72px;
    height: 72px;
  }

  .articles-intro {
    padding-right: 50px;
  }

  .article-list a {
    grid-template-columns: 34px 1fr 34px;
  }

  .article-number {
    font-size: 12px;
  }

  .article-title {
    font-size: 18px;
  }

  .modal-dialog {
    padding: 35px 20px 25px;
  }

  .modal h2 {
    font-size: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
