/* Visual match reference v1: ritual premium with 20-25% more light. */
:root {
  --color-forest: #07130f;
  --color-forest-2: #10251f;
  --color-sage: #7fa36a;
  --color-ivory: #f5f1e8;
  --color-antique-gold: #c7a96b;
  --color-candle: #e8c978;
  --color-wood: #5a3e26;
  --color-soft-black: #030504;
  --eira-reference-cream: #f5e6c8;
  --eira-reference-gold: var(--color-antique-gold);
}

body {
  background:
    radial-gradient(circle at 72% 0, rgb(232 201 120 / 0.16), transparent 28rem),
    linear-gradient(180deg, #07130f 0%, #0a1712 38%, #10251f 100%);
  color: var(--color-ivory);
}

.eira-glow-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 28%, rgb(232 201 120 / 0.24), transparent 16rem),
    radial-gradient(circle at 84% 72%, rgb(199 169 107 / 0.18), transparent 18rem),
    radial-gradient(circle at 22% 48%, rgb(127 163 106 / 0.16), transparent 22rem);
  mix-blend-mode: screen;
}

.eira-rune-divider {
  display: flex;
  width: min(100%, 390px);
  align-items: center;
  gap: 0.7rem;
  color: var(--color-antique-gold);
  margin-block: 1rem 1.25rem;
}

.eira-rune-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(199 169 107 / 0.72), transparent);
}

.eira-rune-divider i {
  font-style: normal;
  filter: drop-shadow(0 0 10px rgb(232 201 120 / 0.78));
}

.eira-section__header--center .eira-rune-divider {
  margin-inline: auto;
}

.eira-site-header {
  color: var(--color-ivory);
  border-bottom: 1px solid rgb(199 169 107 / 0.26);
  background: linear-gradient(180deg, rgb(3 5 4 / 0.92), rgb(7 19 15 / 0.82));
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgb(0 0 0 / 0.36);
}

.eira-site-header__topbar {
  border-bottom-color: rgb(199 169 107 / 0.22);
  background: rgb(3 5 4 / 0.54);
  color: rgb(245 241 232 / 0.88);
}

.eira-site-header__topbar strong {
  color: var(--color-antique-gold);
}

.eira-site-header__inner {
  min-height: 92px;
}

.eira-site-header__brand {
  display: inline-flex;
  width: auto;
  min-width: 0;
  align-items: center;
  color: var(--color-ivory);
  text-decoration: none;
}

.eira-site-header__brand::before {
  content: "";
  position: absolute;
  inset: -1.5rem auto auto -1.2rem;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgb(127 163 106 / 0.34), transparent 58%),
    radial-gradient(circle, rgb(232 201 120 / 0.18), transparent 38%);
}

.eira-site-header__logo-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgb(199 169 107 / 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgb(127 163 106 / 0.24), transparent 62%),
    #07130f;
  color: var(--color-antique-gold);
  font-size: 1.65rem;
  box-shadow: 0 0 24px rgb(127 163 106 / 0.22), inset 0 0 18px rgb(199 169 107 / 0.12);
}

.eira-site-header__brand-text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.1rem;
  color: var(--color-ivory);
  font-family: var(--eira-font-heading);
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

.eira-site-header__brand img {
  position: relative;
  z-index: 1;
  width: clamp(118px, 10vw, 154px);
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    saturate(1.08)
    contrast(1.08)
    brightness(1.04)
    drop-shadow(0 0 20px rgb(127 163 106 / 0.32))
    drop-shadow(0 10px 18px rgb(0 0 0 / 0.38));
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 70%, rgb(0 0 0 / 0.9) 76%, transparent 88%);
  mask-image: radial-gradient(ellipse at center, #000 0 70%, rgb(0 0 0 / 0.9) 76%, transparent 88%);
  mix-blend-mode: normal;
}

.eira-site-header__nav a,
.eira-site-header__actions a {
  color: rgb(245 230 200 / 0.92);
  font-family: var(--eira-font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eira-site-header__nav a:first-child,
.eira-site-header__nav a:hover,
.eira-site-header__nav a:focus-visible,
.eira-site-header__actions a:hover,
.eira-site-header__actions a:focus-visible {
  color: var(--color-antique-gold);
}

.eira-site-header__actions small {
  background: var(--color-candle);
  color: var(--color-soft-black);
}

.eira-site-header__toggle {
  border-color: rgb(199 169 107 / 0.42);
  background: rgb(245 241 232 / 0.05);
  color: var(--color-antique-gold);
}

.eira-hero {
  min-height: clamp(540px, 61vh, 620px);
  padding-block: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(7 19 15 / 0.96) 0%, rgb(7 19 15 / 0.88) 39%, rgb(16 37 31 / 0.62) 61%, rgb(3 5 4 / 0.36) 100%),
    radial-gradient(circle at 72% 42%, rgb(232 201 120 / 0.42), transparent 14rem),
    radial-gradient(ellipse at 84% 88%, rgb(90 62 38 / 0.78), transparent 28rem),
    linear-gradient(135deg, #030504 0%, #07130f 35%, #10251f 58%, #33441c 75%, #5a3e26 100%);
}

.eira-hero::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: 1;
  background:
    linear-gradient(90deg, rgb(7 19 15 / 0.96) 0%, rgb(7 19 15 / 0.74) 38%, rgb(16 37 31 / 0.26) 70%, rgb(232 201 120 / 0.14) 100%),
    repeating-linear-gradient(93deg, transparent 0 42px, rgb(245 241 232 / 0.065) 42px 44px, transparent 44px 70px),
    radial-gradient(circle at 62% 12%, rgb(232 201 120 / 0.22), transparent 20rem);
}

.eira-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background:
    linear-gradient(180deg, transparent 0 56%, rgb(3 5 4 / 0.18) 72%, rgb(3 5 4 / 0.62) 100%),
    radial-gradient(ellipse at 76% 100%, rgb(90 62 38 / 0.6), transparent 28rem);
}

.eira-hero__grid {
  position: relative;
  z-index: 2;
  min-height: clamp(540px, 61vh, 620px);
  align-items: center;
}

.eira-hero__content {
  z-index: 4;
  max-width: 680px;
  padding-block: clamp(3.75rem, 7vw, 5rem) 2.25rem;
  color: var(--color-ivory);
}

.eira-hero__microclaim {
  color: var(--color-antique-gold);
  font-family: var(--eira-font-heading);
  letter-spacing: 0.2em;
  text-shadow: 0 0 16px rgb(232 201 120 / 0.28);
}

.eira-hero__microclaim::before,
.eira-hero__microclaim::after {
  background: linear-gradient(90deg, transparent, rgb(199 169 107 / 0.74));
}

.eira-hero h1 {
  max-width: 11ch;
  color: var(--color-ivory);
  font-size: clamp(3.8rem, 7vw, 5.9rem);
  line-height: 0.98;
  text-shadow: 0 12px 36px rgb(0 0 0 / 0.5);
}

.eira-hero h1 span {
  color: var(--color-sage);
  text-shadow: 0 0 18px rgb(127 163 106 / 0.34);
}

.eira-hero__claim {
  max-width: 620px;
  color: rgb(245 241 232 / 0.95);
  font-family: var(--eira-font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eira-hero__story {
  color: rgb(245 241 232 / 0.76);
}

.eira-hero .eira-button {
  min-width: 210px;
  border-radius: 0;
  font-family: var(--eira-font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eira-hero .eira-button--primary {
  border-color: rgb(127 163 106 / 0.78);
  background: linear-gradient(180deg, #4f7b38, #274f22);
  color: var(--color-ivory);
  box-shadow: inset 0 0 18px rgb(232 201 120 / 0.14), 0 14px 30px rgb(0 0 0 / 0.34);
}

.eira-hero .eira-button--ghost {
  border-color: rgb(199 169 107 / 0.84);
  background: rgb(3 5 4 / 0.18);
  color: var(--color-antique-gold);
  box-shadow: inset 0 0 18px rgb(232 201 120 / 0.07);
}

.eira-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: auto;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 38%, rgb(232 201 120 / 0.5), transparent 10rem),
    radial-gradient(circle at 83% 76%, rgb(232 201 120 / 0.38), transparent 9rem),
    radial-gradient(ellipse at 70% 68%, rgb(90 62 38 / 0.62), transparent 23rem),
    linear-gradient(115deg, transparent 0 42%, rgb(16 37 31 / 0.16) 42% 100%);
  box-shadow: none;
}

.eira-hero__visual::before {
  background:
    radial-gradient(circle at 66% 24%, rgb(232 201 120 / 0.46), transparent 7rem),
    radial-gradient(ellipse at 78% 63%, rgb(199 169 107 / 0.28), transparent 14rem),
    linear-gradient(180deg, transparent 0 42%, rgb(3 5 4 / 0.24) 100%);
}

.eira-hero__sun {
  top: 12%;
  right: 34%;
  width: 9rem;
  height: 9rem;
  background: radial-gradient(circle, rgb(232 201 120 / 0.52), rgb(232 201 120 / 0.14) 44%, transparent 70%);
}

.eira-hero__forest {
  inset: 0;
  opacity: 0.9;
  background:
    linear-gradient(85deg, transparent 0 10%, rgb(5 8 7 / 0.78) 10% 11.4%, transparent 11.4% 100%),
    linear-gradient(96deg, transparent 0 21%, rgb(5 8 7 / 0.62) 21% 22.2%, transparent 22.2% 100%),
    linear-gradient(78deg, transparent 0 47%, rgb(5 8 7 / 0.48) 47% 48.4%, transparent 48.4% 100%),
    linear-gradient(103deg, transparent 0 63%, rgb(5 8 7 / 0.42) 63% 64.4%, transparent 64.4% 100%),
    radial-gradient(circle at 58% 18%, rgb(232 201 120 / 0.24), transparent 18rem);
}

.eira-hero__smoke {
  right: 25%;
  bottom: 41%;
  width: 8rem;
  height: 13rem;
  opacity: 0.82;
  background:
    radial-gradient(ellipse at 45% 78%, rgb(245 241 232 / 0.2), transparent 54%),
    radial-gradient(ellipse at 58% 48%, rgb(245 241 232 / 0.24), transparent 58%),
    radial-gradient(ellipse at 38% 22%, rgb(245 241 232 / 0.18), transparent 60%);
}

.eira-hero__altar {
  left: auto;
  right: clamp(1rem, 5vw, 5.5rem);
  bottom: clamp(1rem, 4vw, 3.6rem);
  width: min(50vw, 690px);
  min-height: 230px;
  border: 1px solid rgb(199 169 107 / 0.42);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgb(245 241 232 / 0.06), rgb(3 5 4 / 0.16)),
    linear-gradient(90deg, rgb(48 29 13 / 0.88), rgb(90 62 38 / 0.76), rgb(28 17 8 / 0.86));
  box-shadow: 0 28px 72px rgb(0 0 0 / 0.52), 0 0 36px rgb(232 201 120 / 0.16);
}

.eira-hero__candle {
  background:
    radial-gradient(circle at 50% -12%, rgb(255 246 204 / 0.9), transparent 19%),
    linear-gradient(#fff0b8, #c5964f 66%, #6d4022);
  box-shadow: 0 -24px 42px rgb(232 201 120 / 0.58), inset 0 0 16px rgb(90 62 38 / 0.36);
}

.eira-hero__crystal {
  background: linear-gradient(145deg, #f2fbf4, #7fa36a 50%, #214436);
  box-shadow: 0 0 26px rgb(127 163 106 / 0.22);
}

.eira-hero__tarot-card {
  border-color: rgb(199 169 107 / 0.74);
  background:
    radial-gradient(circle, rgb(199 169 107 / 0.35), transparent 32%),
    linear-gradient(145deg, #1a1108, #5a3e26);
}

.eira-benefits {
  padding-block: 0;
  background: linear-gradient(180deg, #07130f, #030504);
  border-block: 1px solid rgb(199 169 107 / 0.32);
  box-shadow: inset 0 1px 0 rgb(245 241 232 / 0.04), inset 0 -1px 0 rgb(245 241 232 / 0.04);
}

.eira-benefits__grid {
  gap: 0;
}

.eira-benefit {
  min-height: 106px;
  border-color: rgb(199 169 107 / 0.22);
  background: linear-gradient(180deg, rgb(245 241 232 / 0.025), rgb(16 37 31 / 0.12));
}

.eira-benefit__icon {
  border: 1px solid rgb(199 169 107 / 0.38);
  background:
    radial-gradient(circle, rgb(232 201 120 / 0.2), transparent 68%),
    rgb(16 37 31 / 0.82);
  color: var(--color-antique-gold);
  box-shadow: 0 0 18px rgb(127 163 106 / 0.14);
}

.eira-benefit strong {
  color: var(--color-ivory);
  letter-spacing: 0.08em;
}

.eira-benefit span span {
  color: rgb(245 241 232 / 0.72);
}

.eira-worlds {
  padding-top: var(--eira-space-10);
  background:
    radial-gradient(circle at 50% 0, rgb(199 169 107 / 0.13), transparent 18rem),
    radial-gradient(circle at 8% 14%, rgb(127 163 106 / 0.11), transparent 18rem),
    linear-gradient(180deg, #030504, #07130f 48%, #030504);
}

.eira-worlds .eira-section__header {
  margin-bottom: var(--eira-space-6);
}

.eira-worlds .eira-section__header h2 {
  color: var(--color-antique-gold);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eira-worlds .eira-section__header p {
  color: rgb(245 241 232 / 0.78);
}

.eira-world-card__link {
  min-height: 300px;
  border: 1px solid rgb(199 169 107 / 0.62);
  border-radius: 0;
  background: linear-gradient(180deg, #0b1511, #030504);
  color: var(--color-ivory);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.34);
}

.eira-world-card__media {
  min-height: 170px;
  border-bottom: 1px solid rgb(199 169 107 / 0.36);
  background:
    radial-gradient(circle at 26% 18%, rgb(232 201 120 / 0.38), transparent 16%),
    radial-gradient(circle at 70% 42%, rgb(127 163 106 / 0.24), transparent 24%),
    linear-gradient(145deg, #1a1108, #07130f 54%, #263118);
  filter: saturate(1.08) contrast(1.06);
}

.eira-world-card:nth-child(1) .eira-world-card__media {
  background:
    radial-gradient(circle at 25% 20%, rgb(232 201 120 / 0.56), transparent 16%),
    linear-gradient(145deg, #171009, #07130f 48%, #263118);
}

.eira-world-card:nth-child(2) .eira-world-card__media {
  background:
    radial-gradient(circle at 70% 18%, rgb(232 201 120 / 0.5), transparent 15%),
    linear-gradient(145deg, #2d3517, #07130f 58%, #3b220d);
}

.eira-world-card:nth-child(3) .eira-world-card__media {
  background:
    radial-gradient(circle at 54% 35%, rgb(127 163 106 / 0.5), transparent 22%),
    linear-gradient(145deg, #21160c, #07130f 60%, #162b20);
}

.eira-world-card:nth-child(4) .eira-world-card__media {
  background:
    radial-gradient(ellipse at 50% 42%, rgb(215 211 204 / 0.46), transparent 28%),
    linear-gradient(145deg, #0a0d0a, #1b2216 62%, #3a210d);
}

.eira-world-card:nth-child(5) .eira-world-card__media {
  background:
    radial-gradient(circle at 65% 45%, rgb(150 120 199 / 0.42), transparent 21%),
    radial-gradient(circle at 42% 44%, rgb(127 163 106 / 0.44), transparent 18%),
    linear-gradient(145deg, #080b0a, #07130f 58%, #2b2514);
}

.eira-world-card:nth-child(6) .eira-world-card__media {
  background:
    radial-gradient(circle at 82% 18%, rgb(232 201 120 / 0.52), transparent 16%),
    linear-gradient(145deg, #21160c, #07130f 54%, #3f2710);
}

.eira-world-card__media::before {
  background:
    radial-gradient(circle at 50% 72%, rgb(199 169 107 / 0.26), transparent 28%),
    repeating-linear-gradient(100deg, transparent 0 38px, rgb(199 169 107 / 0.11) 38px 40px);
}

.eira-world-card__media::after {
  background: linear-gradient(180deg, transparent 0%, rgb(3 5 4 / 0.72) 100%);
}

.eira-world-card__symbol {
  bottom: 1.1rem;
  border: 1px solid rgb(199 169 107 / 0.42);
  background: rgb(7 19 15 / 0.78);
  color: var(--color-antique-gold);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgb(232 201 120 / 0.18);
}

.eira-world-card__content {
  padding: var(--eira-space-4) var(--eira-space-4) var(--eira-space-5);
}

.eira-world-card__title {
  color: var(--color-ivory);
  font-size: 1.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eira-world-card__text {
  color: rgb(245 241 232 / 0.82);
}

.eira-world-card__cta {
  color: var(--color-ivory);
}

.eira-world-card__cta::before {
  content: "";
  display: block;
  width: 7rem;
  height: 1px;
  margin: 0 auto 0.8rem;
  background: linear-gradient(90deg, transparent, rgb(199 169 107 / 0.58), transparent);
}

.eira-world-card__link:hover,
.eira-world-card__link:focus-visible {
  border-color: var(--color-antique-gold);
  box-shadow: 0 22px 54px rgb(0 0 0 / 0.46), 0 0 26px rgb(199 169 107 / 0.16);
  transform: translateY(-4px);
}

.eira-footer__brand img {
  width: min(160px, 100%);
  height: auto;
  margin-bottom: var(--eira-space-4);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: saturate(1.08) contrast(1.08) brightness(1.04) drop-shadow(0 0 18px rgb(199 169 107 / 0.18));
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 70%, rgb(0 0 0 / 0.9) 76%, transparent 88%);
  mask-image: radial-gradient(ellipse at center, #000 0 70%, rgb(0 0 0 / 0.9) 76%, transparent 88%);
}

@media (min-width: 990px) {
  .eira-site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .eira-site-header__actions {
    display: flex;
  }

  .eira-hero__grid {
    display: block;
  }

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

@media (min-width: 1280px) {
  .eira-worlds__grid {
    width: min(100% - 2rem, 1420px);
    margin-inline: calc((var(--eira-page-width) - min(100% - 2rem, 1420px)) / 2);
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 989px) {
  .eira-site-header__inner {
    min-height: 76px;
  }

  .eira-site-header__brand {
    min-width: 0;
  }

  .eira-site-header__brand img {
    width: 118px;
  }

  .eira-site-header__nav {
    background: rgb(3 5 4 / 0.96);
    border-color: rgb(199 169 107 / 0.28);
  }

  .eira-site-header__actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .eira-hero {
    min-height: auto;
  }

  .eira-hero__grid {
    min-height: auto;
  }

  .eira-hero__content {
    padding-block: 4rem 1.5rem;
  }

  .eira-hero__visual {
    position: relative;
    min-height: 420px;
  }

  .eira-hero__altar {
    width: auto;
    left: 1rem;
    right: 1rem;
    bottom: 1.2rem;
  }

  .eira-benefits__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eira-site-header__topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .eira-site-header__topbar span:last-child {
    justify-self: center;
  }

  .eira-site-header__brand {
    min-width: 0;
  }

  .eira-site-header__brand img {
    width: 104px;
  }

  .eira-hero__content {
    padding-block: 3rem 1rem;
  }

  .eira-hero h1 {
    font-size: clamp(3rem, 17vw, 4.1rem);
  }

  .eira-hero .eira-button {
    width: calc(100% - 4.75rem);
  }

  .eira-hero__visual {
    min-height: 360px;
  }

  .eira-hero__altar {
    min-height: 178px;
    padding: 1rem;
  }

  .eira-worlds__grid {
    grid-template-columns: 1fr;
  }
}
