:root {
  color-scheme: light;
  --night: #171622;
  --night-soft: #252237;
  --ink: #241f2b;
  --muted: #5e5565;
  --paper: #fbf8f2;
  --cream: #f2ebe3;
  --white: #fffdf9;
  --edge: #e2d8ce;
  --gold: #efc186;
  --warm: #874a39;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--text); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; letter-spacing: -.044em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.1rem); }
h2 { font-size: clamp(2rem, 3.3vw, 3.15rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #a0502d; outline-offset: 4px; }
:where(.hero, .masthead, .site-footer, .reading-feature) :focus-visible { outline-color: #ffe1aa; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 5.5rem, 75rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; left: 1rem; top: 1rem; transform: translateY(-160%); padding: .5rem 1rem; color: var(--ink); background: var(--white); }
.skip-link:focus { transform: none; }
.section { padding-block: clamp(2.8rem, 6vw, 5.2rem); }
.section + .section:not(.archive) { padding-top: 0; }
.masthead { background: var(--night); color: var(--paper); border-bottom: 1px solid #b7997a42; position: relative; z-index: 2; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.9rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: var(--paper); font: 1.58rem/1 var(--display); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--gold); border: 1px solid #cda671a6; border-radius: 50%; font: 1rem/1 Georgia, serif; }
.brand-accent { color: var(--gold); }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2.05vw, 1.8rem); }
.site-nav a { color: #efe8ea; white-space: nowrap; text-decoration: none; font-size: .91rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; color: var(--gold); }
.site-nav .shop-link { color: var(--gold); font-weight: 650; }
.menu-toggle { color: var(--paper); background: transparent; border: 1px solid #cba9867c; border-radius: 3px; padding: .42rem .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.05rem; padding: .65rem 1.05rem; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #261b19; text-decoration: none; font-size: .94rem; line-height: 1.3; font-weight: 700; text-align: center; }
.button:hover { background: #ffd59f; }
.button.outline-light, .button.header-cta { background: transparent; border-color: #efc1869c; color: var(--paper); }
.button.outline-light:hover, .button.header-cta:hover { background: #ffffff16; }
.button.header-cta { padding-inline: .85rem; min-height: 2.55rem; font-size: .88rem; white-space: nowrap; }
.button.outline-dark { background: transparent; border-color: #a98571; color: #5e3326; }
.button.outline-dark:hover { background: #f6e6d5; }
.button:disabled { cursor: default; opacity: .52; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.7rem; }
.kicker { font-size: .83rem; font-weight: 750; color: var(--warm); }
.text-link { display: inline-block; width: fit-content; color: #723c2d; font-weight: 700; }
.hero { isolation: isolate; position: relative; background: #14131e; color: var(--paper); overflow: hidden; }
.hero-wrap { min-height: clamp(29rem, 42vw, 38rem); display: grid; align-items: center; }
.hero-copy { max-width: min(44rem, 62%); padding-block: 3.2rem 3.7rem; }
.hero h1 { font-size: clamp(3.6rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -.068em; max-width: 12ch; }
.hero h1 em { color: #f3d0a0; font-weight: 400; }
.hero-copy > p { color: #e8e0eb; font-size: clamp(1.08rem, 1.5vw, 1.2rem); max-width: 28.5rem; margin-top: 1.5rem; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 34%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 49%; }
.hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,#14131e 0%,#14131e99 18%,#14131e18 47%,transparent 70%); }
.topic-band { background: var(--cream); border-block: 1px solid var(--edge); }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.topic { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .75rem; padding: 1.25rem clamp(.7rem, 2.1vw, 1.45rem); text-decoration: none; border-inline-end: 1px solid #dfd3c7; min-height: 6rem; }
.topic:first-child { border-inline-start: 1px solid #dfd3c7; }
.topic:hover { background: #eae0d6; }
.topic-mark { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #c4a897; color: #734534; border-radius: 50%; background: #f9f1e9; font: 1.24rem/1 Georgia, serif; }
.topic.spells .topic-mark { background: #f4e1df; }
.topic.astrology .topic-mark { background: #eee3ed; }
.topic.numerology .topic-mark { background: #ede9db; }
.topic strong { display: block; font: 1.32rem/1.1 var(--display); letter-spacing: -.025em; }
.topic strong + span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; margin-top: .3rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .65rem 2rem; margin-bottom: 1.6rem; }
.section-heading p { color: var(--muted); margin-top: .6rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guide-card { border: 1px solid var(--edge); border-radius: 4px; overflow: hidden; background: var(--white); }
.card-image { display: block; background: #2c2334; overflow: hidden; }
.card-image img { width: 100%; aspect-ratio: 1.88; object-fit: cover; transition: transform .35s ease; }
.guide-card:hover img { transform: scale(1.035); }
.card-content { padding: 1.15rem 1.25rem 1.4rem; }
.card-content h3 { margin-top: .35rem; }
.card-content h3 a { text-decoration: none; }
.card-content h3 a:hover { text-decoration: underline; }
.card-content > p:last-child { margin-top: .62rem; color: var(--muted); }
.featured-spells { background: #f2e9e2; border-bottom: 1px solid var(--edge); }
.featured-spells + .section { padding-top: clamp(2.8rem, 6vw, 5.2rem); }
.spell-card { display: flex; flex-direction: column; }
.spell-photo { width: 100%; aspect-ratio: 2.1; object-fit: cover; background: var(--cream); }
.spell-card .card-content { flex: 1; display: flex; flex-direction: column; align-items: start; }
.spell-card h3 { margin-top: 0; }
.spell-card p { margin-block: .55rem 1.05rem; color: var(--muted); }
.spell-card .button { min-height: 2.75rem; margin-top: auto; }
.featured-spells-footer { display: flex; justify-content: center; margin-top: 1.45rem; }
.reading-feature { background: var(--night-soft); color: var(--white); padding-block: clamp(2.1rem, 4.2vw, 3.4rem); }
.feature-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(1.5rem, 5vw, 4.2rem); }
.feature-grid img { width: 100%; aspect-ratio: 2.1; object-fit: cover; border: 1px solid #b8926b57; }
.feature-grid p { margin-block: .85rem 1.25rem; max-width: 40ch; color: #efe3e9; }
.care { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 3.4rem; }
.care h2 { font-size: 2.2rem; }
.care p { margin-block: .7rem .75rem; color: var(--muted); max-width: 52ch; }
.site-footer { background: var(--night); color: #e5dce6; padding-block: 2.2rem 1.3rem; }
.footer-inner, .footer-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-brand p { margin-top: .65rem; font-size: .94rem; }
.footer-inner nav { display: flex; align-items: start; gap: .65rem 1.35rem; flex-wrap: wrap; }
.footer-inner nav a { font-size: .92rem; }
.footer-note { margin-top: 1.35rem; border-top: 1px solid #e8cfb333; padding-top: 1rem; color: #c8beca; font-size: .86rem; }
.page-intro { background: var(--cream); border-bottom: 1px solid var(--edge); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .3rem .65rem; font-size: .9rem; color: var(--muted); padding-top: 1.1rem; }
.breadcrumb [aria-current] { color: var(--ink); }
.intro-content { padding-block: clamp(1.8rem, 4.8vw, 3.5rem); max-width: 55rem; }
.intro-content .kicker { margin-bottom: .5rem; }
.intro-description { color: var(--muted); max-width: 46rem; font-size: clamp(1rem, 1.6vw, 1.18rem); margin-top: .92rem; }
.intro-description:empty { display: none; }
.offer-grid, .columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.4rem, 4vw, 3.2rem); align-items: start; }
.offer-grid { gap: 1.2rem; align-items: stretch; }
.offer, .callout { background: var(--white); border: 1px solid var(--edge); border-radius: 4px; padding: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
.offer { display: flex; flex-direction: column; align-items: start; }
.featured-offer { background: #f5ebe2; border-color: #d9bda9; }
.offer h2, .callout h2, .faq h2 { margin-top: .35rem; font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
.offer > p:not(.kicker), .callout > p { margin-top: .65rem; color: var(--muted); }
.offer ul { padding-inline-start: 1.25rem; margin-block: 1rem 1.15rem; }
.offer li + li, .prose li + li { margin-top: .3rem; }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .95rem; padding-top: .3rem; }
.offer .offer-actions { margin-top: auto; }
.callout .offer-actions { margin-top: .85rem; }
.faq { margin-top: 2.7rem; max-width: 49rem; }
.faq h2 { margin-bottom: .85rem; }
.faq details { border-block-start: 1px solid var(--edge); padding: .75rem 0; }
.faq details:last-child { border-block-end: 1px solid var(--edge); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); padding-block: .4rem .2rem; }
.prose { max-width: min(100%, 51rem); overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin-block: 1.45rem .65rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose > a, .prose li > p { margin-top: .7rem; }
.prose ul, .prose ol { padding-inline-start: 1.35rem; }
.prose a { color: #753d2b; }
.prose img { height: auto; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--edge); padding: .35rem; vertical-align: top; }
.prose .table-scroll { max-width: 100%; overflow-x: auto; }
.prose .table-scroll table { min-width: 32rem; }
.prose blockquote { border-left: 2px solid var(--edge); margin-inline: 0; padding-inline-start: 1rem; }
.editorial-image img { width: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.article-image { width: 100%; aspect-ratio: 2.15; object-fit: cover; margin-bottom: 1.75rem; }
.guide-byline { margin-bottom: .8rem; }
.article-body section + section { margin-top: 1.6rem; }
.article-aside nav, .article-aside h2 + a { margin-top: .7rem; }
.article-aside nav { display: grid; gap: .55rem; }
.article-ad { margin-block: 1.75rem; }
.article-ad p { text-align: center; color: var(--muted); font-size: .86rem; }
.journal-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--white); }
.journal-art { position: absolute; z-index: -1; inset: 0 0 0 42%; }
.journal-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.journal-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night), #17162286 34%, transparent 80%); }
.journal-intro { padding-block: clamp(2.4rem, 5vw, 4rem); }
.journal-intro h1 { max-width: 15ch; font-size: clamp(3rem, 6.3vw, 5.5rem); }
.journal-intro h1 em { color: #f3d0a0; font-weight: 400; }
.journal-intro > p { max-width: 36rem; margin-top: .95rem; color: #e8e0eb; }
#archive-search { margin-top: 1.4rem; max-width: min(100%, 31rem); }
#archive-search label { color: #f7ede8; font-size: .9rem; }
#archive-query { padding-inline: .9rem; border-color: #d7b995; }
.journal-filters { background: var(--cream); border-block: 1px solid var(--edge); }
.journal-filter-row { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: .9rem; }
.journal-filter { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .35rem .93rem; border: 1px solid #d5c5b7; border-radius: 99px; background: var(--white); color: #503c40; font-size: .9rem; font-weight: 650; }
.journal-filter span { color: #894f39; font: 1.1rem/1 Georgia, serif; }
.journal-filter:hover { border-color: #987264; background: #faefe4; }
.journal-filter[aria-pressed="true"] { border-color: var(--night-soft); background: var(--night-soft); color: var(--white); }
.journal-filter[aria-pressed="true"] span { color: var(--gold); }
.journal-featured { padding-top: clamp(2rem, 4vw, 3.15rem); }
.journal-featured .guide-card img { aspect-ratio: 2.4; }
.journal-results { padding-block: clamp(2rem, 4vw, 3.3rem); scroll-margin-top: 1rem; }
.archive-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1rem; margin-bottom: 1.15rem; }
.archive-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; list-style: none; margin: 0; padding: 0; }
.archive-entry { min-width: 0; padding: 1.15rem 1.25rem 1.3rem; border: 1px solid var(--edge); border-radius: 4px; background: var(--white); overflow-wrap: anywhere; }
.archive-entry:hover, .archive-entry:focus-within { border-color: #b89a85; }
.archive-entry h3 { margin-top: .38rem; font-size: clamp(1.4rem, 2vw, 1.83rem); }
.archive-entry a { text-decoration: none; }
.archive-entry a:hover { color: #723c2d; text-decoration: underline; }
.archive-entry .archive-summary { margin-top: .55rem; color: var(--muted); line-height: 1.5; }
label { display: block; margin-bottom: .3rem; font-weight: 700; }
input { min-height: 3.05rem; min-width: 0; padding: .5rem .6rem; border: 1px solid #a98e80; border-radius: 3px; color: var(--ink); background: #fffdfa; }
.search-row, .pagination { display: flex; gap: .55rem; }
.search-row input { flex: 1; }
.pagination { justify-content: center; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: 1.5rem; }
.pagination span { color: var(--muted); font-size: .9rem; }
.calculator label { margin-top: .8rem; }
.calculator button { margin-left: .3rem; }
.calculator output { display: block; color: #5a3324; font-weight: 700; margin-top: .55rem; }
.calculator output:empty { display: none; }
.fine-print, .callout > .fine-print { font-size: .9rem; color: var(--muted); }
@media (max-width: 61rem) {
  .wrap { width: min(100% - 3.25rem, 75rem); }
  .header-row { gap: .85rem; }
  .button.header-cta { display: none; }
  .hero-copy { max-width: 62%; }
  .topic { padding-inline: .7rem; gap: .55rem; }
  .archive-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .wrap { width: min(100% - 2rem, 75rem); }
  .header-row { min-height: 4.15rem; flex-wrap: wrap; padding-block: .55rem; }
  .site-nav { flex: 0 0 100%; justify-content: start; flex-wrap: wrap; padding-bottom: .4rem; gap: .7rem 1rem; }
  .has-menu .site-nav:not(.is-open) { display: none; }
  .hero-wrap { min-height: auto; }
  .hero-copy { max-width: 100%; padding-block: 2.1rem .65rem; }
  .hero h1 { font-size: clamp(3.1rem, 9.2vw, 4.65rem); max-width: 15ch; }
  .hero-copy > p { margin-top: .95rem; }
  .hero .actions { margin-top: 1.05rem; }
  .hero-art { position: relative; inset: auto; height: clamp(12rem, 59vw, 21rem); margin-top: -1.25rem; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-art img { object-position: 62% 48%; }
  .hero-art::after { background: linear-gradient(180deg,#14131e 2%,#14131e80 20%,transparent 47%); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .topic { min-height: 4.95rem; padding-inline: 1rem .45rem; }
  .topic:nth-child(2n) { border-inline-end: 0; }
  .topic:first-child { border-inline-start: 0; }
  .topic:nth-child(n+3) { border-top: 1px solid #dfd3c7; }
  .topic-mark { width: 2.15rem; height: 2.15rem; }
  .topic strong { font-size: 1.13rem; }
  .topic strong + span { font-size: .8rem; }
  .care, .feature-grid, .guide-grid, .offer-grid, .columns, .article-layout { grid-template-columns: 1fr; }
  .feature-grid img { aspect-ratio: 2.2; }
  .footer-note { row-gap: .35rem; }
  .journal-art { inset: 0 0 0 23%; opacity: .67; }
  .journal-art::after { background: linear-gradient(90deg, var(--night), #17162260 85%), linear-gradient(0deg, var(--night), transparent 80%); }
  .journal-filter-row { gap: .4rem; }
  .journal-filter { padding-inline: .72rem; }
  .archive-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
