@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Light";
  src: url("/assets/fonts/cormorant-italic-light-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Light";
  src: url("/assets/fonts/cormorant-italic-light-cyrillic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
.landing, .inside {
  --bg: #101011;
  --ink: #f7f3eb;
  --muted: #cbc5bc;
  --red: #ff594e;
  --yellow: #f4d752;
  --line: #4b4644;
  --chapter-accent: var(--yellow);
  --inside-bar: 61px;
  --poster: "Unbounded", var(--sans);
  --lettering: "Cormorant Light", Georgia, serif;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
}
.landing::before, .inside::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("/assets/ink-traces.svg") center / 100% 100% no-repeat,
    radial-gradient(ellipse at 0% 23%, #4c342f4d, transparent 43%),
    radial-gradient(ellipse at 100% 92%, #43332b5c, transparent 42%),
    linear-gradient(177deg, transparent 53%, #f9eddf0a 53.15%, transparent 53.3%),
    linear-gradient(8deg, transparent 74%, #f9eddf09 74.15%, transparent 74.3%),
    radial-gradient(ellipse at 54% 42%, #1d1c1d 0%, #111112 60%, #0c0c0d 100%),
    url("/assets/ink-grain.png") repeat;
  background-blend-mode: normal, normal, normal, normal, normal, hard-light, normal;
}
.landing-top, .inside-top {
  width: min(calc(100% - 48px), 1140px);
  min-height: 61px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.inside-top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #121112;
}
.edition-label, .screen-index, .landing-index {
  font: 700 .68rem/1.35 var(--mono);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.edition-label { color: var(--muted); }
.socials, .inside-contact { display: flex; gap: 4px; align-items: center; }
.social-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
}
.social-icon:hover { color: var(--yellow); }
.social-icon svg { width: 24px; height: 24px; }
.site-sign { font: 800 clamp(14px, 2.3vw, 19px)/1 var(--sans); text-transform: uppercase; }
.site-sign span { display: block; white-space: nowrap; }
.site-sign:hover { color: var(--yellow); }
.landing-main {
  width: min(calc(100% - 48px), 1140px);
  margin: 0 auto;
  padding-block: clamp(16px, 3svh, 32px) 36px;
}
.landing-brand { position: relative; text-align: center; }
.landing-seal {
  width: clamp(144px, 26svh, 235px);
  margin: 0 auto;
  background: radial-gradient(ellipse at 50% 52%, #652c2c66, transparent 69%);
}
.landing-seal .seal-drift, .landing-seal .seal-imprint { animation: none; }
.landing-type { position: relative; }
.landing-title {
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--yellow);
  font: 800 clamp(21px, 7.6vw, 102px)/1 var(--poster);
  letter-spacing: -.085em;
  word-spacing: .13em;
}
.landing-overlay {
  position: absolute;
  inset: 40% clamp(4px, 6vw, 88px) auto auto;
  z-index: 1;
  transform: rotate(-5deg);
  color: var(--red);
  text-shadow: 0 2px #121011, 0 -1px #121011;
  font: italic 300 clamp(26px, 5.5vw, 82px)/.96 var(--lettering);
  white-space: nowrap;
}
.landing-index { margin: clamp(19px, 4vw, 37px) 0 9px; }
.landing-index mark { display: inline-block; padding: 4px 8px; background: var(--yellow); color: #14120b; }
.landing-row { display: grid; gap: clamp(9px, 4vw, 44px); }
.landing-consultations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.landing-practices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(5px, 1.5vw, 15px);
  min-height: 53px;
  padding: 5px 1px;
  border-top: 1px solid var(--line);
  font: 750 clamp(.79rem, 1.75vw, 1.14rem)/1.2 var(--sans);
}
.landing-links a:is(:hover, :focus-visible) { color: var(--yellow); }
.nav-ornament { width: clamp(25px, 4vw, 47px); }
.landing-features {
  display: grid;
  gap: 10px;
  width: min(100%, 730px);
  margin: clamp(13px, 3vh, 28px) auto 0;
}
.landing-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(87px, 12vh, 110px);
  padding: 9px clamp(26px, 14%, 104px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 120%, #7b543740, transparent 72%), #171616;
  border-block: 1px solid #75643b;
}
.landing-feature:is(:hover, :focus-visible) { background-color: #25201d; }
.feature-label, .feature-note { color: var(--muted); font: 650 .66rem/1.35 var(--mono); }
.feature-label { text-transform: uppercase; letter-spacing: .11em; }
.feature-title {
  color: var(--yellow);
  font: 800 clamp(1.02rem, 4vw, 2.35rem)/1.15 var(--poster);
  letter-spacing: -.055em;
  margin: 5px 0;
}
.feature-art {
  position: absolute;
  z-index: -1;
  top: 50%;
  width: clamp(53px, 15vw, 108px);
  height: auto;
  max-height: 112%;
  object-fit: contain;
  transform: translateY(-50%) rotate(-9deg);
  pointer-events: none;
}
.feature-art-left { left: clamp(1px, 3vw, 34px); }
.feature-art-right { right: clamp(1px, 3vw, 34px); transform: translateY(-50%) rotate(9deg); }
.feature-natal { background: radial-gradient(ellipse at 50% 120%, #70524145, transparent 73%), #151519; }
.etching {
  display: block;
  aspect-ratio: 1;
  background: url("/assets/practice-etchings.webp") no-repeat;
  background-size: 200% 200%;
  pointer-events: none;
}
.etching-astrolabe { background-position: left top; }
.etching-palm { background-position: right top; }
.etching-candles { background-position: left bottom; }
.etching-thorns { background-position: right bottom; }
.collage { display: block; aspect-ratio: 1; background: url("/assets/editorial-collages.webp") no-repeat; background-size: 200% 200%; pointer-events: none; }
.collage-cards { background-position: left top; }
.collage-palm { background-position: right top; }
.collage-candles { background-position: left bottom; }
.collage-eclipse { background-position: right bottom; }
.landing-collage, .landing-eclipse {
  position: absolute;
  width: clamp(65px, 14vw, 170px);
  top: clamp(4px, 3vw, 30px);
  transform: rotate(-7deg);
}
.landing-collage { left: clamp(0px, 7vw, 104px); }
.landing-eclipse { right: clamp(0px, 7vw, 104px); transform: rotate(7deg); }
.inside .inside-layout { max-width: 930px; }
.inside .inside-top { width: min(calc(100% - 48px), 1140px); }
.inside-layout { padding-block: clamp(20px, 5vw, 50px); }
.inside-layout:focus, .screen-heading h1:focus { outline: none; }
.section-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: clamp(121px, 24vw, 236px);
  padding: 0 min(19%, 165px) 9px 0;
}
.screen-index {
  justify-self: start;
  align-self: start;
  margin-bottom: clamp(29px, 5vw, 56px);
  padding: 4px 7px;
  background: var(--yellow);
  color: #14120b;
}
.cover-echo {
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: clamp(28px, 5.4vw, 57px);
  color: transparent;
  -webkit-text-stroke: 1px #f4d7567a;
  white-space: nowrap;
  font: 800 clamp(27px, 8.2vw, 92px)/.9 var(--poster);
  letter-spacing: -.07em;
}
.section-cover h1 {
  color: var(--red);
  font: italic 300 clamp(36px, 7.4vw, 83px)/.96 var(--lettering);
  letter-spacing: -.035em;
  text-shadow: 0 2px #131213;
}
.cover-collage { position: absolute; z-index: -1; width: clamp(70px, 17vw, 185px); right: 0; bottom: 8px; }
.screen-description { margin: 14px 0 26px; color: var(--muted); max-width: 62ch; line-height: 1.55; font-size: .95rem; }
.price-screen .subhead {
  width: fit-content;
  margin: 12px 0;
  font: 800 clamp(17px, 3vw, 25px)/1.15 var(--sans);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.price-screen .custom-card { border-color: var(--line); background: #1d1b1b; }
.price-screen .custom-card strong { color: var(--yellow); }
.plain-link:is(:hover, :focus-visible) { color: var(--ink); background: #282323; }
.plain-link { background: transparent; }
.price-screen summary:is(:hover, :focus-visible), .plain-link:is(:hover, :focus-visible) { color: var(--ink); background: #282323; }
.price-screen details[open] > summary { background: #211e1e; }
.plain-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 8px;
  color: var(--yellow);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.plain-link svg { width: 21px; height: 21px; flex: none; }
.direct-footer { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: clamp(20px, 4vw, 44px); }
.direct-footer[hidden] { display: none; }
.deck-notes { max-width: 58ch; color: var(--muted); line-height: 1.65; }
.deck-price { display: block; width: fit-content; margin-top: 18px; padding: 4px 10px; color: #14120b; background: var(--yellow); font: 800 clamp(24px, 5vw, 46px)/1 var(--sans); }

[data-chapter="tarot"] .section-cover { min-height: clamp(98px, 20vw, 194px); }
.tarot-rates { gap: 8px; margin-bottom: 26px; }
.tarot-rates .custom-card {
  min-height: 59px;
  padding: 9px 12px;
  border-top-color: #9b8350;
  font-size: .8rem;
}
.tarot-rates .custom-card strong { font-variant-numeric: tabular-nums; }
.catalog-jump { margin: -14px 0 19px; }
html:has(body[data-chapter="tarot"]) { scroll-snap-type: y proximity; }
[data-chapter="tarot"] .inside-top, [data-chapter="tarot"] .catalog-workspace { scroll-snap-align: start; }
.price-screen:has(.catalog-workspace) .direct-footer { margin-top: 14px; }
.catalog-workspace {
  min-height: calc(100svh - var(--inside-bar) - 58px - clamp(20px, 5vw, 50px));
  scroll-margin-top: var(--inside-bar);
  padding-top: clamp(12px, 3vh, 24px);
  border-top: 1px solid var(--line);
}
.catalog-heading {
  margin-bottom: 10px;
  font: 800 clamp(1.05rem, 3.2vw, 1.7rem)/1.15 var(--poster);
  letter-spacing: -.06em;
}
.catalog-heading:focus { outline: none; }
.catalog-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin-bottom: clamp(10px, 2.5vw, 24px);
}
.catalog-topic {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 39px;
  padding: 5px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 700 .8rem/1.18 var(--sans);
}
.catalog-topic[aria-current="true"] { color: #14120b; background: var(--yellow); border-color: var(--yellow); }
.catalog-topic:not([aria-current]):is(:hover, :focus-visible) { color: var(--yellow); border-color: var(--yellow); }
.catalog-selection {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 5vw, 70px);
  align-items: start;
}
.catalog-index { display: grid; gap: 1px; align-content: start; }
.catalog-item {
  min-width: 0;
  min-height: 36px;
  padding: 5px 8px;
  border: 0;
  border-left: 1px solid #726864;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font: 650 .85rem/1.2 var(--sans);
}
.catalog-item:is(:hover, :focus-visible) { color: var(--ink); background: #252121; }
.catalog-item[aria-pressed="true"] {
  color: var(--ink);
  border-left: 2px solid var(--yellow);
  background: linear-gradient(90deg, #92733b2d, transparent 91%);
}
.catalog-detail {
  position: relative;
  isolation: isolate;
  min-height: 170px;
  min-width: 0;
  padding-top: clamp(8px, 2vw, 16px);
  border-top: 1px solid #a6874b;
}
.catalog-detail-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; }
.catalog-detail-header h3 {
  flex: 1 1 13ch;
  color: var(--ink);
  font: 800 clamp(1.2rem, 3.7vw, 2.2rem)/1.08 var(--poster);
  letter-spacing: -.06em;
}
.catalog-price {
  color: var(--yellow);
  font: 800 .9rem/1.25 var(--sans);
  font-variant-numeric: tabular-nums;
}
.catalog-illustration {
  position: absolute;
  z-index: -1;
  right: 3%;
  bottom: -10px;
  width: clamp(75px, 22vw, 185px);
  opacity: .14;
  transform: rotate(-8deg);
}
.catalog-lines {
  display: grid;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 13px 0 0;
}
.catalog-lines li, .catalog-copy { color: #bdb6ad; font-size: .9rem; line-height: 1.45; }
.catalog-lines li { position: relative; padding-left: 15px; }
.catalog-lines li:nth-child(3n + 2) { margin-left: 7px; }
.catalog-lines li:nth-child(3n) { margin-left: 3px; }
.catalog-lines li::before { content: "–"; position: absolute; left: 0; color: #a88657; }
.catalog-lines li:nth-child(3n + 2)::before { content: "·"; }
.catalog-copy { max-width: 54ch; margin-top: 13px; }
.deck-display { display: flex; justify-content: center; gap: clamp(0px, 4vw, 46px); margin-top: 14px; }
.deck-display img { width: min(48%, 270px); height: auto; object-fit: contain; }

.natal-screen :is(#birth-form, #reading-title) { scroll-margin-top: calc(var(--inside-bar) + 12px); }
.natal-screen .chart-grid {
  grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(12px, 2vw, 22px);
}
.natal-screen .chart-form {
  border: 0;
  background: #1d1b1b;
  padding: clamp(13px, 2.3vw, 24px);
}
.natal-screen .chart-form h2 { font: 600 1.85rem/.95 var(--display); margin-bottom: 4px; }
.natal-screen .chart-form button { width: 100%; margin-top: 4px; border: 0; }
.natal-screen .chart-error { font: italic 300 1rem/1.35 var(--lettering); }
.natal-screen .chart-result {
  border: 0;
  background: #1d1b1b;
  padding: clamp(12px, 2.5vw, 24px);
  min-height: 335px;
}
.natal-screen .chart-placeholder { gap: 8px; min-height: 290px; }
.natal-screen .chart-placeholder .chart-wheel { width: min(100%, 290px); height: auto; opacity: .85; }
.natal-screen .chart-display { grid-template-columns: 1fr; gap: 12px; }
.natal-screen .chart-wheel { width: min(100%, 320px); max-width: none; margin: 0 auto; }
.natal-screen .chart-wheel .wheel-label { fill: var(--yellow); font-size: 19px; }
.chart-wheel .wheel-tick { stroke: #89545e; stroke-width: .75; }
.chart-wheel .wheel-core { stroke: #d68a81; opacity: .68; }
.natal-screen .chart-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.natal-screen .chart-table div { min-width: 0; }
.natal-reading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 13px 0;
}
.natal-reading h2 { font: 600 1.9rem/1 var(--display); }
.natal-reading p { color: var(--muted); font-size: .83rem; margin-top: 4px; }
.reading-price { flex: none; color: var(--chapter-accent); font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .landing-top, .inside .inside-top, .landing-main { width: calc(100% - 34px); }
  .landing-top, .inside-top { min-height: 52px; }
  .inside { --inside-bar: 52px; }
  .landing-main { padding-top: 10px; }
  .landing-practices a { grid-template-columns: 1fr; align-content: start; gap: 2px; min-height: 62px; }
  .landing-practices .nav-ornament { width: 25px; }
  .landing-overlay { top: 35%; }
  .feature-art { opacity: .64; }
  .feature-art-left { left: -1px; }
  .feature-art-right { right: -1px; }
  .landing-collage, .landing-eclipse { top: 19px; }
  .section-cover { padding-right: 0; }
  .section-cover h1 { font-size: clamp(29px, 8.7vw, 51px); }
  .cover-collage { top: 0; bottom: auto; opacity: .72; }
  .natal-screen .chart-grid { grid-template-columns: 1fr; }
  .screen-description { font-size: .9rem; }
  [data-chapter="tarot"] .screen-index { margin-bottom: 21px; }
  .tarot-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-selection { grid-template-columns: 1fr; gap: 13px; }
  .catalog-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-item { font-size: .78rem; }
  .catalog-topic { padding-inline: 6px; min-height: 36px; }
  .catalog-detail { min-height: 100px; }
  .catalog-lines li, .catalog-copy { font-size: .83rem; }
  .catalog-illustration { opacity: .19; }
}
@media (max-width: 460px) {
  .natal-reading { align-items: start; flex-direction: column; }
}
@media (max-width: 340px) {
  .landing-title { font-size: 7.5vw; }
  .cover-collage { width: 66px; }
  .site-sign svg { width: 28px; height: 28px; }
}
