:root {
  --ink: #071a24;
  --ink-2: #0d2733;
  --paper: #f3efe5;
  --paper-2: #e8e0d1;
  --gold: #c58b43;
  --gold-light: #e0b36d;
  --muted: #74858a;
  --line: rgba(197, 139, 67, .34);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

.grain { position: fixed; inset: 0; pointer-events: none; opacity: .045; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }

.site-header { width: min(1440px, calc(100% - 80px)); margin: 0 auto; min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(7, 26, 36, .15); }
.wordmark { text-decoration: none; font-family: var(--serif); font-size: 18px; letter-spacing: .18em; justify-self: start; }
.wordmark span { color: var(--gold); }
.site-header nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: .04em; }
.site-header nav a, .languages a, .site-header > a:not(.wordmark) { text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--gold); }
.nav-buy { padding-bottom: 5px; border-bottom: 1px solid var(--gold); }
.languages { justify-self: end; display: flex; gap: 8px; font-size: 11px; letter-spacing: .08em; }
.languages a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; }
.languages a[aria-current='page'] { border-color: var(--gold); color: var(--gold); }

.hero { min-height: 780px; width: min(1320px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: minmax(360px, .82fr) minmax(480px, 1.18fr); align-items: center; gap: clamp(70px, 10vw, 170px); padding: 76px 0 105px; }
.cover-stage { position: relative; width: min(440px, 92%); justify-self: end; isolation: isolate; }
.cover-button { position: relative; z-index: 3; width: 100%; display: block; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.book-cover { position: relative; z-index: 3; width: 100%; height: auto; aspect-ratio: 720 / 999; object-fit: contain; box-shadow: -22px 30px 60px rgba(4, 18, 25, .28), -6px 8px 12px rgba(4, 18, 25, .18); border-radius: 2px 7px 7px 2px; }
.cover-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 7px; }
.cover-button:hover .book-cover { transform: translateY(-3px); box-shadow: -24px 34px 68px rgba(4, 18, 25, .31), -6px 8px 12px rgba(4, 18, 25, .18); }
.cover-hint { position: absolute; z-index: 5; left: 50%; bottom: 18px; translate: -50% 0; min-width: max-content; padding: 10px 15px; background: rgba(7,26,36,.9); color: var(--paper); border: 1px solid rgba(224,179,109,.55); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.cover-button:hover .cover-hint, .cover-button:focus-visible .cover-hint { opacity: 1; transform: translateY(0); }
.book-cover::after { content: ''; position: absolute; inset: 0; }
.cover-stage::before { content: ''; position: absolute; z-index: 4; left: 2px; top: 0; bottom: 0; width: 7px; background: linear-gradient(90deg, rgba(255,255,255,.16), transparent); pointer-events: none; }
.cover-shadow { position: absolute; z-index: 1; inset: 12% -12% -9% 12%; border: 1px solid var(--line); pointer-events: none; }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(197, 139, 67, .2); border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; left: -42%; top: 14%; }
.orbit-two { width: 270px; height: 270px; left: -23%; top: 24%; }

.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 24px; color: #9a692d; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 680px; font-family: var(--serif); font-size: clamp(56px, 6.15vw, 94px); line-height: .96; font-weight: 400; letter-spacing: -.045em; text-wrap: balance; }
.subtitle { margin: 23px 0 38px; font-family: var(--serif); color: var(--gold); font-size: clamp(21px, 2vw, 29px); font-style: italic; }
.lead { max-width: 610px; margin: 0 0 19px; font-family: var(--serif); font-size: 22px; line-height: 1.42; }
.description { max-width: 630px; color: #53666b; line-height: 1.78; font-size: 14px; }
.author-line { margin: 36px 0 34px; display: flex; align-items: center; gap: 15px; font-family: var(--serif); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.author-line span { width: 48px; height: 1px; background: var(--gold); }
.primary-link { display: inline-flex; align-items: center; gap: 26px; padding: 15px 0 10px; border-bottom: 1px solid var(--gold); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.primary-link span { color: var(--gold); font-size: 18px; }

.stats { background: var(--ink); color: var(--paper); padding: 48px max(40px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: repeat(3, 1fr); }
.stats div { min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid rgba(224, 179, 109, .24); }
.stats div:last-child { border-right: 0; }
.stats strong { font-family: var(--serif); color: var(--gold-light); font-size: 55px; font-weight: 400; }
.stats span { max-width: 120px; color: #b7c3c5; font-size: 11px; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; }

.structure { padding: 132px max(40px, calc((100vw - 1180px) / 2)); background: #ece6da; }
.section-intro { display: grid; grid-template-columns: .65fr 1.25fr 1fr; gap: 56px; align-items: start; margin-bottom: 76px; }
.section-intro h2, .purchase h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; font-size: clamp(40px, 4.1vw, 61px); letter-spacing: -.03em; }
.section-intro > p:last-child { margin: 5px 0 0; color: #586a6e; font-size: 14px; line-height: 1.8; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(7, 26, 36, .17); }
.concept-grid article { min-height: 330px; padding: 34px 38px; position: relative; border-right: 1px solid rgba(7, 26, 36, .17); }
.concept-grid article:last-child { border-right: 0; }
.concept-grid article > span { color: var(--gold); font-family: var(--serif); font-size: 13px; }
.concept-grid h3 { margin: 58px 0 17px; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.concept-grid p { color: #596a6e; font-size: 13px; line-height: 1.7; }
.formula { position: absolute; right: 32px; bottom: 30px; color: rgba(197, 139, 67, .75); font-family: var(--serif); font-size: 23px; }

.article-feature { padding: 112px max(40px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr .9fr; gap: clamp(70px, 10vw, 150px); align-items: end; background: var(--paper); border-top: 1px solid rgba(7, 26, 36, .1); }
.article-feature h2 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 4.8vw, 68px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.article-feature-subtitle { max-width: 630px; margin: 24px 0 0; color: #7f592b; font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1.45; }
.article-feature-copy { padding: 0 0 4px; }
.article-feature blockquote { position: relative; margin: 0 0 34px; padding: 0 0 0 32px; color: #42565c; font-family: var(--serif); font-size: 24px; line-height: 1.55; }
.article-feature blockquote::before { content: '“'; position: absolute; left: 0; top: -13px; color: var(--gold); font-size: 58px; line-height: 1; }
.articles-list .article-feature:nth-child(even) { background: #ece6da; }

.purchase { background: var(--ink); color: var(--paper); padding: 120px max(40px, calc((100vw - 1180px) / 2)) 130px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.purchase-heading { padding-top: 34px; }
.purchase-heading h2 { max-width: 520px; }
.purchase-heading > p:not(.eyebrow) { max-width: 470px; margin-top: 25px; color: #a8b6b8; font-size: 14px; line-height: 1.75; }
.offer-link { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--gold-light); font-size: 12px; text-underline-offset: 4px; }
.purchase-card { background: #f5f1e8; color: var(--ink); border-top: 3px solid var(--gold); padding: 34px; box-shadow: 0 22px 60px rgba(0,0,0,.2); }
.purchase-summary { display: grid; grid-template-columns: 62px 1fr auto; gap: 18px; align-items: center; padding-bottom: 27px; border-bottom: 1px solid rgba(7,26,36,.15); }
.purchase-summary img { width: 58px; height: 80px; object-fit: cover; }
.purchase-summary div { display: flex; flex-direction: column; gap: 7px; }
.purchase-summary div strong { font-family: var(--serif); font-size: 19px; }
.purchase-summary div span { color: #697a7e; font-size: 11px; letter-spacing: .05em; }
.purchase-summary > b { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.checkout-form { padding-top: 28px; }
.checkout-form > .field-label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.checkout-form > input + .field-label { margin-top: 18px; }
.checkout-form > input[type='email'], .checkout-form > input[type='tel'] { width: 100%; height: 52px; padding: 0 15px; background: #fff; color: var(--ink); border: 1px solid rgba(7,26,36,.23); border-radius: 0; outline: none; }
.checkout-form > input[type='email']:focus, .checkout-form > input[type='tel']:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197,139,67,.16); }
.consent { margin: 18px 0 22px; display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: #5c6c70; font-size: 11px; line-height: 1.55; }
.consent input { margin: 2px 0 0; accent-color: var(--gold); }
.consent a { color: var(--ink); text-underline-offset: 2px; }
.pay-button { width: 100%; min-height: 58px; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; border: 0; background: var(--gold); color: #071a24; cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .03em; transition: background .2s, transform .2s; }
.pay-button:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-1px); }
.pay-button:disabled { cursor: not-allowed; opacity: .55; }
.pay-button b { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: #728084; font-size: 10px; letter-spacing: .04em; }
.secure-note i { width: 7px; height: 9px; display: inline-block; border: 1px solid var(--gold); border-radius: 1px; position: relative; }
.secure-note i::before { content: ''; position: absolute; width: 5px; height: 4px; border: 1px solid var(--gold); border-bottom: 0; border-radius: 4px 4px 0 0; left: 0; top: -5px; }
.form-status { min-height: 18px; margin: 10px 0 0; color: #9c4e39; font-size: 12px; text-align: center; }

.site-footer { min-height: 130px; padding: 0 max(40px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: #06151d; color: #aab6b8; border-top: 1px solid rgba(224,179,109,.18); font-size: 11px; }
.site-footer > div:first-child { display: flex; gap: 18px; align-items: center; }
.site-footer strong { color: var(--paper); font-family: var(--serif); font-size: 15px; font-weight: 400; }
.site-footer strong a { text-decoration: none; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }

.payment-dialog { width: min(760px, calc(100% - 30px)); height: min(820px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 5px; box-shadow: 0 30px 100px rgba(0,0,0,.45); overflow: hidden; }
.payment-dialog::backdrop { background: rgba(3,14,20,.78); backdrop-filter: blur(4px); }
.dialog-bar { height: 52px; padding: 0 14px 0 20px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.dialog-bar button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--paper); cursor: pointer; font-size: 25px; }
.payment-dialog iframe { width: 100%; height: calc(100% - 52px); border: 0; background: white; }

.reader-dialog { width: min(900px, calc(100% - 30px)); height: min(840px, calc(100% - 30px)); padding: 0; border: 0; background: #e8e0d1; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.48); overflow: hidden; }
.reader-dialog::backdrop { background: rgba(3,14,20,.82); backdrop-filter: blur(5px); }
.reader-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; }
.reader-header { min-height: 76px; padding: 15px 20px 15px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--gold); }
.reader-header > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.reader-header span { color: var(--gold-light); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.reader-header strong { overflow: hidden; font-family: var(--serif); font-size: 20px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.reader-header button { flex: 0 0 auto; width: 38px; height: 38px; border: 0; background: transparent; color: var(--paper); cursor: pointer; font-size: 28px; }
.reader-page { width: min(720px, calc(100% - 48px)); margin: 22px auto 12px; padding: 14px; overflow: auto; display: grid; align-content: start; justify-items: center; background: #d4cec4; box-shadow: inset 0 0 0 1px rgba(7,26,36,.1); scrollbar-width: thin; }
.reader-page .book-page, .reader-page .pdf-page { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: 0 10px 30px rgba(7,26,36,.25); user-select: none; }
.reader-loading { align-self: center; margin: auto; color: var(--muted); text-align: center; }
.reader-controls { width: min(680px, calc(100% - 64px)); margin: 0 auto; min-height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.reader-controls button { min-height: 38px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; }
.reader-controls button:first-child { text-align: left; }
.reader-controls button:last-child { text-align: right; }
.reader-controls button:disabled { opacity: .3; cursor: default; }
.reader-controls span { color: #6b7a7e; font-size: 11px; white-space: nowrap; }
.reader-buy { justify-self: center; margin: 2px 0 18px; color: #85551e; font-size: 12px; font-weight: 700; text-underline-offset: 4px; }

.simple-page, .relay-page { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: var(--paper); padding: 24px; }
.message-card { width: min(650px, 100%); padding: 60px; border: 1px solid rgba(224,179,109,.3); text-align: center; background: #0b2430; }
.message-card h1 { margin: 12px 0 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 7vw, 70px); }
.message-card > p:not(.eyebrow) { max-width: 470px; margin: 0 auto 28px; color: #b4c0c2; line-height: 1.75; }
.success-mark, .error-mark { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 28px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-size: 26px; }
.relay-page main { text-align: center; }
.relay-spinner { width: 46px; height: 46px; margin: 0 auto 20px; border: 1px solid rgba(224,179,109,.25); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.legal-page { background: var(--paper); }
.legal-page .site-header { grid-template-columns: 1fr auto 1fr; }
.legal-page .site-header > a:nth-child(2) { font-size: 12px; }
.legal-content { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0 130px; }
.legal-content h1 { max-width: 720px; margin: 0 0 12px; font-family: var(--serif); font-size: clamp(48px, 7vw, 78px); font-weight: 400; line-height: 1; }
.legal-updated { color: var(--muted); font-size: 12px; }
.legal-content section { margin-top: 58px; padding-top: 28px; border-top: 1px solid rgba(7,26,36,.15); }
.legal-content h2 { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.legal-content section p { color: #4f6267; line-height: 1.85; }

.article-page { background: var(--paper); }
.article-hero { width: min(1040px, calc(100% - 80px)); margin: 0 auto; padding: 112px 0 96px; border-bottom: 1px solid rgba(7, 26, 36, .15); }
.article-hero h1 { max-width: 970px; margin: 0; font-family: var(--serif); font-size: clamp(58px, 7.5vw, 104px); font-weight: 400; line-height: .97; letter-spacing: -.045em; text-wrap: balance; }
.article-hero-subtitle { max-width: 780px; margin: 30px 0 0; color: #9a692d; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 31px); font-style: italic; line-height: 1.35; }
.article-deck { max-width: 680px; margin: 30px 0 0; color: #52666b; font-size: 15px; line-height: 1.8; }
.article-hero .author-line { margin-bottom: 0; }
.article-date { margin: 13px 0 0 63px; color: var(--muted); font-size: 11px; letter-spacing: .07em; }

.article-body { width: min(800px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 128px; color: #263d45; font-family: var(--serif); font-size: 18px; line-height: 1.78; }
.article-body h2 { margin: 94px 0 26px; color: var(--ink); font-size: clamp(32px, 4vw, 47px); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.article-body h3 { margin: 54px 0 17px; color: var(--ink); font-size: clamp(23px, 3vw, 30px); font-weight: 400; line-height: 1.25; }
.article-body p { margin: 0 0 22px; }
.article-body ol, .article-body ul { margin: 22px 0 30px; padding-left: 30px; }
.article-body li { margin: 10px 0; padding-left: 6px; }
.article-body li p { margin: 0; }
.article-body b, .article-body strong { color: var(--ink); }
.article-body a { color: #85551e; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-body p:has(> i:only-child) { margin: 22px 0 30px; padding-left: 24px; border-left: 2px solid var(--gold); color: #556970; }
.article-body .article-series { margin: 0 0 28px; padding: 0; border: 0; color: #956329; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.article-body .article-series i { font-style: normal; }
.article-body .article-series + figure { margin-top: 0; }
.article-body p > a[rel='noopener noreferrer'] { margin-left: .25em; }
.article-body > figure { margin: 58px 0 68px; padding: 0; background: transparent; }
.article-body > figure img { width: auto; max-height: 680px; margin: 0 auto; mix-blend-mode: multiply; }
.article-body > figure figcaption { max-width: 650px; margin: 18px auto 0; color: #66777b; font-family: var(--sans); font-size: 11px; font-style: normal; line-height: 1.55; text-align: center; }
.article-body > .article-flow-portrait { width: min(560px, 100%); margin-left: auto; margin-right: auto; }
.article-body > .article-flow-portrait img { width: 100%; max-height: none; }
.article-body > .article-tarot-figure { width: min(650px, 100%); margin-left: auto; margin-right: auto; padding: 28px; background: #e8e0d1; border-top: 3px solid var(--gold); }
.article-body > .article-tarot-figure img { max-width: 100%; mix-blend-mode: normal; border: 1px solid rgba(7, 26, 36, .24); box-shadow: 0 16px 34px rgba(7, 26, 36, .2); }
.element-matrix-mobile { display: none; }
.tarot-axis { margin: 30px 0 62px; padding: 28px 32px 25px; background: #e8e0d1; border-top: 3px solid var(--gold); }
.tarot-axis-kicker { margin: 0 0 8px !important; color: #956329; font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tarot-axis-title { margin: 0 0 26px !important; color: var(--ink); font-size: 18px; line-height: 1.45; text-align: center; }
.tarot-axis-title span { display: inline-block; margin: 0 9px; color: var(--gold); }
.tarot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.tarot-card { min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; }
.tarot-card img { width: min(178px, 100%); height: auto; border: 1px solid rgba(7, 26, 36, .22); box-shadow: 0 13px 28px rgba(7, 26, 36, .18); }
.tarot-card figcaption { margin: 15px 0 0; display: flex; flex-direction: column; gap: 3px; color: var(--ink); font-family: var(--sans); line-height: 1.35; text-align: center; }
.tarot-card figcaption span { color: #68797d; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.tarot-card figcaption strong { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.tarot-source { margin: 24px 0 0 !important; color: #718085; font-family: var(--sans); font-size: 10px; line-height: 1.5; text-align: center; }
.article-table { width: 100%; margin: 38px 0 48px; overflow-x: auto; scrollbar-width: thin; }
.article-table table { width: 100%; min-width: 690px; border-collapse: collapse; color: #30464d; font-family: var(--sans); font-size: 12px; line-height: 1.55; }
.article-table td { padding: 12px 13px; border: 1px solid rgba(7, 26, 36, .22); vertical-align: top; }
.article-table td p { margin: 0 0 8px; }
.article-table td p:last-child { margin-bottom: 0; }
.article-table thead td { background: #dce4df; color: var(--ink); font-weight: 700; }
.article-body > .article-table:first-child { margin-top: 0; padding: 28px 30px; overflow: visible; background: var(--ink); border-top: 3px solid var(--gold); }
.article-body > .article-table:first-child table { min-width: 0; color: #d4dcdd; font-family: var(--serif); font-size: 18px; }
.article-body > .article-table:first-child td { padding: 0; border: 0; }
.article-body > .article-table:first-child b { color: var(--gold-light); font-family: var(--sans); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.article-callout { margin: 0 0 48px; padding: 28px 30px; background: var(--ink); border-top: 3px solid var(--gold); color: #d4dcdd; }
.article-callout table { width: 100%; border-collapse: collapse; }
.article-callout td { padding: 0; border: 0; }
.article-callout p { margin-bottom: 12px; }
.article-callout p:last-child { margin-bottom: 0; }
.article-callout b { color: var(--gold-light); font-family: var(--sans); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.article-tarot-table { margin: 38px 0 20px; padding: 27px 30px 30px; background: #e8e0d1; border-top: 3px solid var(--gold); }
.article-tarot-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.article-tarot-table td { padding: 12px 18px; vertical-align: top; }
.article-tarot-table tr:first-child td { padding: 0 0 22px; text-align: center; }
.article-tarot-table tr:nth-child(2) td + td { border-left: 1px solid rgba(7, 26, 36, .15); }
.article-tarot-table img { width: min(190px, 100%); height: auto; margin: 0 auto 16px; border: 1px solid rgba(7, 26, 36, .22); box-shadow: 0 13px 28px rgba(7, 26, 36, .16); }
.article-tarot-table td > p { font-family: var(--sans); font-size: 12px; line-height: 1.6; text-align: center; }
.article-tarot-table td > p:has(> i:only-child) { margin: 0; padding: 0; border: 0; color: #556970; text-align: left; }
.article-note { margin: 38px 0 48px; padding: 26px 30px 28px; background: #e8e0d1; border-top: 3px solid var(--gold); }
.article-note table { width: 100%; border-collapse: collapse; }
.article-note td { padding: 0; border: 0; vertical-align: top; }
.article-note tr:first-child td { padding-bottom: 14px; color: #956329; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.article-note p { margin-bottom: 12px; }
.article-note p:last-child { margin-bottom: 0; }

/* Shared shell-and-bead visual system derived from the supplied reference. */
body[data-locale] {
  --ink: #181817;
  --ink-2: #272321;
  --paper: #faf6ef;
  --paper-2: #eee4d8;
  --gold: #bd9656;
  --gold-light: #dfbd82;
  --muted: #776f68;
  --design-red: #a92520;
  --design-line: rgba(166, 113, 48, .32);
  overflow-x: clip;
}
body[data-locale] .grain { opacity: .027; }
body[data-locale] .site-header { border-bottom-color: var(--design-line); }
body[data-locale] .wordmark { font-size: 19px; letter-spacing: .25em; }
body[data-locale] .wordmark span,
body[data-locale] .site-header nav a:hover,
body[data-locale] .site-header nav a:focus-visible { color: var(--design-red); }
body[data-locale] .site-header nav a { position: relative; }
body[data-locale] .site-header nav a::after { content: ''; position: absolute; right: 50%; bottom: -10px; left: 50%; height: 1px; background: var(--design-red); transition: right .2s, left .2s; }
body[data-locale] .site-header nav a:hover::after,
body[data-locale] .site-header nav a:focus-visible::after,
body[data-locale] .site-header nav .nav-buy::after { right: 0; left: 0; }
body[data-locale] .nav-buy { border-bottom: 0; }
body[data-locale] .eyebrow { color: var(--design-red); }
body[data-locale] .subtitle,
body[data-locale] .article-hero-subtitle,
body[data-locale] .article-feature-subtitle { color: #9f2a24; }
body[data-locale] .hero { position: relative; isolation: isolate; }
body[data-locale] .hero > * { position: relative; z-index: 1; }
body[data-locale] .hero::after { content: ''; position: absolute; z-index: 0; top: -97px; right: calc((100vw - 100%) / -2 + 10px); width: 112px; height: calc(100% + 97px); background: url('/assets/design/fr/ornament-rail.webp') top right / 112px auto repeat-y; pointer-events: none; filter: saturate(.92) contrast(.98); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px); mask-image: linear-gradient(to right, transparent 0, #000 16px); }
body.article-page[data-locale] { position: relative; }
body.article-page[data-locale]::after { content: ''; position: absolute; z-index: 10; top: 0; right: 10px; width: 112px; height: 100%; background: url('/assets/design/fr/ornament-rail.webp') top right / 112px auto repeat-y; pointer-events: none; filter: saturate(.92) contrast(.98); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px); mask-image: linear-gradient(to right, transparent 0, #000 16px); }
body[data-locale] .hero-copy::before,
body.article-page[data-locale] .article-hero::before { content: ''; width: min(355px, 68%); aspect-ratio: 355 / 120; display: block; margin: 0 0 27px; background: url('/assets/design/fr/rosette-divider.webp') center / contain no-repeat; }
body[data-locale] .hero { padding-bottom: 185px; }
body[data-locale] .hero::before { content: ''; position: absolute; z-index: 1; right: 50%; bottom: 22px; width: min(820px, 69vw); aspect-ratio: 820 / 130; background: url('/assets/design/fr/bead-divider.webp') center / contain no-repeat; transform: translateX(50%); pointer-events: none; }
body[data-locale] .hero .primary-link { min-width: 190px; justify-content: space-between; padding: 16px 19px; border: 1px solid #8f1d19; background: var(--design-red); color: #fff9ef; box-shadow: 0 8px 24px rgba(94, 20, 16, .12); }
body[data-locale] .hero .primary-link span { color: #fff9ef; }
body[data-locale] .stats { background: #211e1c; }
body[data-locale] .structure { position: relative; background: #f0e8dd; border-top: 1px solid var(--design-line); }
body[data-locale] .concept-grid { border-top-color: var(--design-line); }
body[data-locale] .concept-grid article { border-right-color: var(--design-line); }
body[data-locale] .concept-grid article > span,
body[data-locale] .formula { color: var(--design-red); }
body[data-locale] .article-feature { position: relative; border-top: 0; }
body[data-locale] .article-feature::before { content: ''; position: absolute; top: 0; right: max(20px, calc((100vw - 1180px) / 2)); left: max(20px, calc((100vw - 1180px) / 2)); height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent); }
body[data-locale] .articles-list .article-feature:nth-child(even) { background: #f0e8dd; }
body[data-locale] .article-feature blockquote::before { color: var(--design-red); }
body[data-locale] .primary-link { border-bottom-color: var(--design-red); }
body[data-locale] .primary-link span { color: var(--design-red); }
body[data-locale] .purchase { background: #211e1c; }
body[data-locale] .purchase-card { border: 1px solid rgba(189, 150, 86, .52); border-top: 3px solid var(--design-red); outline: 1px solid rgba(189, 150, 86, .2); outline-offset: -9px; }
body[data-locale] .pay-button { background: var(--design-red); color: #fff9ef; }
body[data-locale] .pay-button:hover:not(:disabled) { background: #c03931; }
body[data-locale] .site-footer { background: #181615; }
body.article-page[data-locale] .article-hero::before { margin-bottom: 42px; }
body.article-page[data-locale] .article-body h2 { position: relative; padding-top: 27px; border-top: 1px solid var(--design-line); }
body.article-page[data-locale] .article-body h2::before { content: ''; position: absolute; top: -5px; left: 24px; width: 9px; height: 9px; border: 1px solid var(--gold); background: var(--paper); transform: rotate(45deg); }
body.article-page[data-locale] .article-body h2::after { content: ''; position: absolute; top: -1px; left: 0; width: 64px; height: 1px; background: var(--gold); }
body.article-page[data-locale] .article-body > .article-tarot-figure,
body.article-page[data-locale] .article-note,
body.article-page[data-locale] .article-tarot-table,
body.article-page[data-locale] .tarot-axis { border-top-color: var(--design-red); }
body.article-page[data-locale] .article-note { background: #f0e8dd; }
body.article-page[data-locale] .article-book-link { background: #211e1c; }

@media (min-width: 1101px) {
  body[data-locale] .languages { margin-right: 118px; }
}

@media (max-width: 1100px) {
  body[data-locale] .hero::after,
  body.article-page[data-locale]::after { display: none; }
}

.article-book-link { padding: 105px max(40px, calc((100vw - 1000px) / 2)) 112px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; background: var(--ink); color: var(--paper); }
.article-book-link h2 { max-width: 520px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 66px); font-weight: 400; line-height: 1.03; letter-spacing: -.03em; }
.article-book-link > div:last-child > p { margin: 0 0 30px; color: #abb8ba; font-size: 14px; line-height: 1.8; }
.article-book-link .primary-link { color: var(--paper); }

@media (max-width: 900px) {
  .site-header { width: min(100% - 36px, 720px); grid-template-columns: 1fr auto; min-height: 78px; }
  .site-header nav { display: none; }
  .languages { grid-column: 2; }
  .hero { width: min(100% - 36px, 720px); grid-template-columns: 1fr; gap: 70px; padding: 55px 0 80px; }
  .cover-stage { width: min(380px, 82vw); justify-self: center; }
  .hero-copy { max-width: 680px; }
  .section-intro { grid-template-columns: 1fr; gap: 15px; }
  .section-intro .eyebrow { margin-bottom: 10px; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-grid article { min-height: 260px; border-right: 0; border-bottom: 1px solid rgba(7,26,36,.17); }
  .article-feature { grid-template-columns: 1fr; gap: 45px; }
  .purchase { grid-template-columns: 1fr; gap: 50px; }
  .article-book-link { grid-template-columns: 1fr; gap: 42px; }
  body[data-locale] .cover-shadow { right: -5%; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 28px); }
  .hero { width: calc(100% - 36px); padding-top: 35px; }
  .hero h1 { font-size: clamp(47px, 15vw, 70px); }
  .description { font-size: 13px; }
  .orbit { display: none; }
  .cover-hint { bottom: 12px; padding: 8px 12px; opacity: .92; transform: none; }
  .stats { padding: 28px 18px; }
  .stats div { min-height: 115px; flex-direction: column; gap: 5px; text-align: center; }
  .stats strong { font-size: 38px; }
  .stats span { max-width: 92px; font-size: 9px; }
  .structure, .article-feature, .purchase { padding: 82px 20px; }
  .article-feature blockquote { padding-left: 24px; font-size: 21px; }
  .concept-grid article { padding-left: 20px; padding-right: 20px; }
  .purchase-card { padding: 22px 18px; }
  .purchase-summary { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .purchase-summary img { width: 46px; height: 64px; }
  .purchase-summary > b { font-size: 19px; }
  .site-footer { padding: 38px 22px; flex-direction: column; justify-content: center; gap: 24px; }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .message-card { padding: 48px 22px; }
  .legal-page .site-header > a:nth-child(2) { display: none; }
  .legal-content { padding: 70px 0 90px; }
  .article-hero { width: calc(100% - 36px); padding: 70px 0 64px; }
  .article-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .article-body { width: calc(100% - 36px); padding: 58px 0 84px; font-size: 17px; line-height: 1.72; }
  .article-body h2 { margin-top: 70px; }
  .article-body h3 { margin-top: 44px; }
  .article-body > figure { margin: 42px 0 52px; }
  .article-body > .article-tarot-figure { padding: 14px; }
  .element-matrix-figure > .element-matrix-desktop { display: none; }
  .element-matrix-mobile { display: grid; gap: 14px; }
  .element-mode { padding: 21px 20px 20px; border: 1px solid rgba(7, 26, 36, .42); border-radius: 12px; color: #263d45; font-family: var(--sans); }
  .article-body .element-mode h3 { margin: 0 0 13px; font-family: var(--sans); font-size: 24px; font-weight: 800; letter-spacing: .015em; text-transform: uppercase; }
  .element-mode dl { margin: 0 0 14px; font-size: 12px; line-height: 1.45; }
  .element-mode dl div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 4px 0; border-bottom: 1px solid rgba(7, 26, 36, .12); }
  .element-mode dt { color: #4e6268; }
  .element-mode dd { margin: 0; color: var(--ink); font-weight: 800; text-transform: uppercase; }
  .article-body .element-mode p { margin: 0; font-size: 14px; line-height: 1.5; }
  .article-body .element-mode .element-mode-role { margin-bottom: 8px; color: var(--ink); font-weight: 800; }
  .element-mode-earth { background: #e8e1cc; }
  .element-mode-fire { background: #eed5ca; }
  .element-mode-water { background: #d2e4ed; }
  .element-mode-air { background: #dedee8; }
  .tarot-axis { margin: 24px 0 48px; padding: 20px 14px 19px; }
  .tarot-axis-title { font-size: 15px; }
  .tarot-axis-title span { margin: 0 4px; }
  .tarot-pair { gap: 14px; }
  .tarot-card img { width: min(150px, 100%); }
  .tarot-card figcaption strong { font-size: 15px; }
  .article-body > .article-table:first-child { padding: 22px 20px; }
  .article-body > .article-table:first-child table { font-size: 16px; }
  .article-callout { padding: 22px 20px; }
  .article-tarot-table { padding: 20px 14px 18px; }
  .article-tarot-table table, .article-tarot-table tbody, .article-tarot-table tr, .article-tarot-table td { width: 100%; display: block; }
  .article-tarot-table tr:nth-child(2) td { padding: 18px 6px 25px; }
  .article-tarot-table tr:nth-child(2) td + td { padding-top: 26px; border-top: 1px solid rgba(7, 26, 36, .15); border-left: 0; }
  .article-tarot-table img { width: min(210px, 82%); }
  .article-note { padding: 22px 20px 24px; }
  .article-book-link { padding: 78px 20px 84px; }
  .reader-dialog { width: calc(100% - 14px); height: calc(100% - 14px); max-height: none; }
  .reader-header { min-height: 66px; padding: 12px 12px 12px 18px; }
  .reader-header strong { font-size: 17px; }
  .reader-page { width: calc(100% - 14px); margin: 7px auto 4px; padding: 7px; }
  .reader-controls { width: calc(100% - 32px); }
  .reader-buy { margin-bottom: 13px; }
  body[data-locale] .hero { padding-bottom: 115px; }
  body[data-locale] .hero-copy::before,
  body.article-page[data-locale] .article-hero::before { width: min(285px, 82%); margin-bottom: 18px; }
  body[data-locale] .hero::before { bottom: 12px; width: 100%; }
  body[data-locale] .hero .primary-link { min-width: 176px; }
  body.article-page[data-locale] .article-body h2 { padding-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
