/* Tarot Stories collection and long-form article */
.story-index-hero {
    display: grid;
    padding-block: clamp(3.25rem, 8vw, 6.5rem);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 5rem);
}

.story-index-hero-copy {
    max-width: 42rem;
}

.story-index-hero-copy h1 {
    margin-bottom: 1.1rem;
}

.story-index-lead {
    margin: 0 0 1rem;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    line-height: 1.65;
}

.story-index-hero-copy > p:last-child {
    max-width: 38rem;
    margin: 0;
    color: var(--ink-soft);
}

.story-index-scene {
    position: relative;
    display: grid;
    width: min(100%, 34rem);
    min-height: 26rem;
    margin: 0 auto;
    padding: 3rem 1rem 0;
    place-items: end center;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 50% 50% 1.25rem 1.25rem;
    background:
        radial-gradient(circle at 50% 27%, rgba(227, 201, 128, 0.2), transparent 9rem),
        linear-gradient(165deg, #30213b, var(--night));
    box-shadow: var(--shadow);
}

.story-index-scene img {
    position: relative;
    z-index: 2;
    display: block;
    width: min(31rem, 100%);
    height: auto;
    margin-bottom: 3.75rem;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.3));
}

.story-index-moon {
    position: absolute;
    z-index: 1;
    top: 2.3rem;
    right: 21%;
    color: var(--gold-light);
    font-size: 2.2rem;
}

.story-index-orbit {
    position: absolute;
    z-index: 0;
    width: 18rem;
    height: 18rem;
    top: 2.8rem;
    border: 1px solid rgba(227, 201, 128, 0.18);
    border-radius: 50%;
}

.story-index-orbit::before,
.story-index-orbit::after {
    position: absolute;
    color: rgba(227, 201, 128, 0.75);
    content: "✦";
    font-size: 0.7rem;
}

.story-index-orbit::before {
    top: 1.9rem;
    left: 1.3rem;
}

.story-index-orbit::after {
    right: 1.1rem;
    bottom: 2.1rem;
}

.story-index-scene figcaption {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.8rem 1.1rem 1rem;
    border-top: 1px solid rgba(227, 201, 128, 0.17);
    background: rgba(20, 14, 29, 0.9);
    color: rgba(255, 252, 246, 0.66);
    font-size: 0.68rem;
    line-height: 1.65;
    text-align: center;
}

.story-index-scene figcaption strong,
.story-index-scene figcaption span {
    display: block;
}

.story-index-scene figcaption strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.78rem;
}

.story-index-main {
    border-top: 1px solid var(--line);
}

.story-index-heading {
    display: grid;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    gap: 0.6rem;
}

.story-index-heading h2 {
    margin: 0;
}

.story-index-heading > p {
    max-width: 28rem;
    margin: 0;
    color: var(--muted);
}

.story-card-grid {
    display: grid;
    gap: 1.5rem;
}

.story-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(255, 252, 246, 0.8);
    box-shadow: 0 16px 42px rgba(36, 25, 45, 0.07);
}

.story-card-visual {
    position: relative;
    display: grid;
    min-height: 20rem;
    padding: 1.2rem;
    place-items: end center;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 24%, rgba(227, 201, 128, 0.22), transparent 8rem),
        linear-gradient(145deg, #25182f, #392443 60%, #201629);
    text-decoration: none;
}

.story-card-visual img {
    position: relative;
    z-index: 2;
    width: min(19rem, 88%);
    height: auto;
    margin-bottom: -2.8rem;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
    transition: transform 240ms ease;
}

.story-card:hover .story-card-visual img {
    transform: translateY(-0.35rem);
}

.history-story-card .story-card-visual img {
    width: min(10.5rem, 58%);
    max-height: 21.5rem;
    margin-bottom: 0;
    object-fit: contain;
    border: 1px solid rgba(255, 245, 204, 0.28);
    border-radius: 0.22rem;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
}

.history-story-card-landscape .story-card-visual {
    padding: 1.2rem 1.2rem 1.45rem;
}

.history-story-card-landscape .story-card-visual img {
    width: min(22rem, 92%);
    max-height: 17rem;
    object-fit: contain;
    border-radius: 0.38rem;
}

.story-card-number {
    position: absolute;
    z-index: 3;
    top: 1.2rem;
    left: 1.2rem;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
}

.story-card-path {
    position: absolute;
    z-index: 1;
    width: 12rem;
    height: 12rem;
    top: 2.5rem;
    right: -1.5rem;
    border: 1px solid rgba(227, 201, 128, 0.14);
    border-radius: 50%;
}

.story-card-path i {
    position: absolute;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 0 0.3rem rgba(227, 201, 128, 0.08);
}

.story-card-path i:first-child { top: 1.2rem; left: 3rem; }
.story-card-path i:nth-child(2) { top: 5.5rem; right: -0.2rem; }
.story-card-path i:last-child { bottom: 0.7rem; left: 1.6rem; }

.story-card-copy {
    display: grid;
    padding: clamp(1.4rem, 4vw, 2.35rem);
    align-content: center;
}

.story-card-meta,
.story-article-meta {
    display: flex;
    align-items: center;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    gap: 0.75rem;
}

.story-card-meta span::before,
.story-article-meta span::before {
    margin-right: 0.75rem;
    color: var(--gold-dark);
    content: "✦";
    font-size: 0.5rem;
}

.story-card-kicker {
    margin: 1rem 0 0.4rem;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.story-card h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.45rem, 5vw, 2.2rem);
}

.story-card h3 a {
    text-decoration: none;
}

.story-card h3 a:hover {
    color: var(--wine);
}

.story-card-copy > p:not(.story-card-kicker) {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.story-card-link {
    justify-self: start;
    margin-top: 1.35rem;
    color: var(--wine);
    font-weight: 750;
    text-decoration: none;
}

.story-card-link span {
    display: inline-block;
    margin-left: 0.3rem;
    transition: transform 160ms ease;
}

.story-card-link:hover span {
    transform: translateX(0.3rem);
}

.story-index-note {
    padding-block: clamp(4rem, 9vw, 6.5rem);
    background:
        radial-gradient(circle at 12% 18%, rgba(227, 201, 128, 0.16), transparent 22rem),
        var(--night);
    color: rgba(255, 252, 246, 0.72);
}

.story-index-note-inner {
    display: grid;
    max-width: 52rem;
    align-items: start;
    gap: 1.3rem;
}

.story-note-star {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    place-items: center;
    border: 1px solid rgba(227, 201, 128, 0.28);
    border-radius: 50%;
    color: var(--gold-light);
}

.story-index-note h2 {
    color: var(--paper);
    font-size: clamp(1.75rem, 6vw, 2.8rem);
}

.story-index-note p:last-child {
    max-width: 42rem;
    margin-bottom: 0;
}

/* Story article */
.story-breadcrumb {
    border-bottom: 1px solid var(--line);
}

.story-article-hero {
    display: grid;
    padding-block: clamp(2.5rem, 7vw, 5.5rem);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 5rem);
}

.story-article-hero-copy {
    min-width: 0;
}

.story-category-link {
    display: inline-flex;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(136, 103, 36, 0.35);
    border-radius: 999px;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.story-category-link:hover {
    border-color: var(--gold-dark);
    background: rgba(200, 164, 86, 0.08);
}

.story-article-hero h1 {
    margin-bottom: 1.15rem;
    font-size: clamp(2.2rem, 8vw, 4.45rem);
}

.story-article-lead {
    margin: 0 0 1.25rem;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(1.15rem, 3.2vw, 1.55rem);
}

.story-key-phrase {
    max-width: 34rem;
    margin: 1.7rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--gold);
    background: rgba(255, 252, 246, 0.62);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1rem, 2.5vw, 1.18rem);
}

.story-article-scene {
    position: relative;
    display: grid;
    width: min(100%, 31rem);
    min-height: 34rem;
    margin: 0 auto;
    padding: 2rem 1rem 0;
    place-items: end center;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.19);
    border-radius: 15rem 15rem 1rem 1rem;
    background:
        radial-gradient(circle at 50% 28%, rgba(227, 201, 128, 0.2), transparent 9rem),
        linear-gradient(160deg, #34223e, var(--night) 72%);
    box-shadow: var(--shadow);
}

.story-article-scene::before {
    position: absolute;
    width: 20rem;
    height: 20rem;
    top: 3.7rem;
    border: 1px solid rgba(227, 201, 128, 0.15);
    border-radius: 50%;
    content: "";
}

.story-article-scene img {
    position: relative;
    z-index: 2;
    display: block;
    width: min(23rem, 92%);
    height: auto;
    margin-bottom: 4.5rem;
    filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.3));
}

.story-scene-moon,
.story-scene-stars {
    position: absolute;
    z-index: 1;
    color: var(--gold-light);
}

.story-scene-moon {
    top: 4.2rem;
    right: 18%;
    font-size: 2.2rem;
}

.story-scene-stars {
    top: 8.8rem;
    left: 9%;
    font-size: 0.8rem;
}

.story-direction-cards {
    position: absolute;
    z-index: 3;
    top: 10.2rem;
    right: 0.8rem;
    display: grid;
    gap: 0.45rem;
}

.story-direction-cards i {
    display: grid;
    width: 2.7rem;
    height: 4.3rem;
    place-items: center;
    border: 1px solid rgba(227, 201, 128, 0.32);
    border-radius: 0.25rem;
    background: rgba(255, 252, 246, 0.08);
    color: rgba(255, 252, 246, 0.72);
    font-family: var(--serif);
    font-size: 0.55rem;
    font-style: normal;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    transform: rotate(5deg);
}

.story-direction-cards i:nth-child(2) {
    margin-left: -1.3rem;
    transform: rotate(-4deg);
}

.story-direction-cards i:last-child {
    margin-left: -0.2rem;
    transform: rotate(7deg);
}

.story-article-scene figcaption {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.9rem 1.2rem 1.05rem;
    border-top: 1px solid rgba(227, 201, 128, 0.17);
    background: rgba(20, 14, 29, 0.9);
    color: rgba(255, 252, 246, 0.66);
    font-size: 0.68rem;
    line-height: 1.65;
    text-align: center;
}

.story-article-scene figcaption strong,
.story-article-scene figcaption span {
    display: block;
}

.story-article-scene figcaption strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.78rem;
}

.story-article-rule {
    display: flex;
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
    align-items: center;
    color: var(--gold-dark);
    gap: 1rem;
}

.story-article-rule::before,
.story-article-rule::after {
    height: 1px;
    flex: 1;
    background: var(--line);
    content: "";
}

.story-article-layout {
    display: grid;
    max-width: 70rem;
    padding-block: clamp(3rem, 8vw, 6rem);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.story-toc {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: rgba(255, 252, 246, 0.6);
}

.story-toc > p {
    margin: 0 0 0.8rem;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.story-toc ol {
    display: grid;
    margin: 0;
    padding: 0;
    counter-reset: story-toc;
    gap: 0.55rem;
    list-style: none;
}

.story-toc li {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    align-items: start;
    counter-increment: story-toc;
    gap: 0.35rem;
}

.story-toc li::before {
    color: var(--gold-dark);
    content: counter(story-toc, decimal-leading-zero);
    font-family: var(--serif);
    font-size: 0.58rem;
    line-height: 1.9;
}

.story-toc a {
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1.65;
    text-decoration: none;
}

.story-toc a:hover {
    color: var(--wine);
}

.story-prose {
    min-width: 0;
    max-width: 46rem;
}

.story-prose p {
    color: var(--ink-soft);
    line-height: 2.05;
}

.story-prose strong {
    color: var(--ink);
}

.story-opening {
    padding-bottom: clamp(3rem, 7vw, 5rem);
    border-bottom: 1px solid var(--line);
}

.story-opening > p:first-child::first-letter {
    float: left;
    margin: 0.05em 0.12em 0 0;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 3.8rem;
    line-height: 0.85;
}

.story-opening > p:last-child {
    margin-bottom: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.05rem, 2.5vw, 1.22rem);
}

.story-section {
    padding-block: clamp(3.5rem, 8vw, 5.8rem);
    border-bottom: 1px solid var(--line);
}

.story-section-number {
    margin: 0 0 0.55rem;
    color: var(--gold-dark) !important;
    font-family: var(--serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.story-section h2 {
    margin-bottom: 1.8rem;
    font-size: clamp(1.75rem, 6vw, 2.75rem);
}

.story-thoughts {
    display: grid;
    margin-block: 1.7rem;
    gap: 0.65rem;
}

.story-thoughts p {
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.55rem;
    background: rgba(255, 252, 246, 0.62);
    color: var(--wine);
    font-family: var(--serif);
    line-height: 1.75;
}

.story-question-flow {
    display: grid;
    margin-block: 2rem;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid rgba(136, 103, 36, 0.24);
    border-radius: 0.85rem;
    background:
        radial-gradient(circle at 92% 8%, rgba(227, 201, 128, 0.16), transparent 10rem),
        rgba(255, 252, 246, 0.7);
    gap: 0.7rem;
}

.story-question-flow p {
    display: grid;
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: var(--paper);
    color: var(--ink) !important;
    font-family: var(--serif);
    line-height: 1.75;
    gap: 0.2rem;
}

.story-question-flow p span {
    color: var(--gold-dark);
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.story-question-flow > div {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.85rem;
    line-height: 1;
    text-align: center;
}

.story-pull-quote {
    position: relative;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: clamp(2rem, 6vw, 3.4rem) 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 0.8rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(227, 201, 128, 0.16), transparent 12rem),
        var(--night);
    text-align: center;
}

.story-pull-quote > span {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--gold-light);
}

.story-pull-quote p {
    margin: 0;
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(1.25rem, 4.5vw, 1.85rem);
    line-height: 1.75;
}

.story-pull-quote-compact {
    padding-block: clamp(1.5rem, 4vw, 2.2rem);
}

.story-ai-note {
    margin-top: clamp(3rem, 8vw, 5rem);
    padding: clamp(1.4rem, 5vw, 2.4rem);
    border: 1px solid rgba(136, 103, 36, 0.28);
    border-radius: 1rem;
    background:
        linear-gradient(135deg, rgba(255, 252, 246, 0.9), rgba(244, 237, 220, 0.72));
}

.story-ai-note h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 5vw, 2.15rem);
}

.story-ai-note p:last-child {
    margin: 0;
    font-size: 0.82rem;
}

.story-citation {
    margin-left: 0.12em;
    color: var(--wine);
    font-size: 0.72em;
    font-weight: 700;
    text-decoration: none;
    vertical-align: super;
}

.story-research-note {
    margin-block: 2rem;
    padding: clamp(1.25rem, 4vw, 1.8rem);
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 0.8rem;
    background: rgba(255, 252, 246, 0.72);
}

.story-research-note .eyebrow {
    margin-bottom: 0.65rem;
    color: var(--gold-dark);
    line-height: 1.5;
}

.story-research-note p:last-child {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.9;
}

.story-card-example {
    display: grid;
    margin-block: 2rem;
    padding: clamp(1.2rem, 4vw, 1.7rem);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: rgba(255, 252, 246, 0.66);
    gap: 1.5rem;
}

.story-card-example p:first-child {
    margin-top: 0;
}

.story-card-example p:last-child {
    margin-bottom: 0;
}

.story-card-example a {
    color: var(--wine);
    font-weight: 700;
}

.story-mini-card {
    position: relative;
    display: grid;
    width: 7rem;
    height: 11.2rem;
    margin-inline: auto;
    padding: 0.45rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--gold);
    border-radius: 0.35rem;
    background:
        radial-gradient(circle, rgba(227, 201, 128, 0.22) 1px, transparent 1.5px) 0 0 / 1rem 1rem,
        linear-gradient(150deg, #34223e, var(--night));
    color: var(--gold-light);
    text-align: center;
    box-shadow: 0 14px 24px rgba(36, 25, 45, 0.16);
}

.story-mini-card::before {
    position: absolute;
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid rgba(227, 201, 128, 0.4);
    border-radius: 50%;
    content: "";
}

.story-mini-card i,
.story-mini-card strong {
    position: relative;
    z-index: 1;
}

.story-mini-card i {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-style: normal;
}

.story-mini-card strong {
    align-self: end;
    font-family: var(--serif);
    font-size: 0.45rem;
    letter-spacing: 0.08em;
}

.story-ritual {
    display: grid;
    margin: 2rem 0;
    padding: 0;
    border-block: 1px solid var(--line);
    list-style: none;
}

.story-ritual li {
    display: grid;
    padding: 0.9rem 0;
    grid-template-columns: 2.1rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
}

.story-ritual li + li {
    border-top: 1px solid var(--line);
}

.story-ritual span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.68rem;
}

.story-ritual p {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
}

.story-closing {
    border-bottom: 0;
}

.story-final-quote {
    margin: clamp(2.5rem, 7vw, 4rem) 0 0;
    padding: clamp(2.2rem, 7vw, 4rem) 1.25rem;
    border-block: 1px solid rgba(136, 103, 36, 0.35);
    text-align: center;
}

.story-final-quote > span {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--gold-dark);
}

.story-final-quote p {
    margin: 0;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(1.45rem, 5vw, 2.25rem);
    line-height: 1.7;
}

.story-final-line {
    margin: 1.5rem 0 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 2;
}

.story-disclaimer {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 0.7rem;
    background: rgba(74, 53, 88, 0.055);
}

.story-disclaimer strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 0.82rem;
}

.story-disclaimer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.85;
}

.story-references {
    padding-top: clamp(4rem, 8vw, 6rem);
}

.story-references h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.65rem, 5vw, 2.35rem);
}

.story-references ol {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0;
    list-style: none;
}

.story-references li {
    display: grid;
    padding: 1.2rem 0;
    grid-template-columns: 2rem minmax(0, 1fr);
    border-top: 1px solid var(--line);
    gap: 0.7rem;
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

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

.story-references li > span {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    border: 1px solid rgba(136, 103, 36, 0.35);
    border-radius: 50%;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.62rem;
}

.story-references p,
.story-references cite,
.story-references a {
    display: block;
}

.story-references p {
    margin: 0 0 0.2rem;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.6;
}

.story-references cite {
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 0.78rem;
    line-height: 1.65;
}

.story-references a {
    margin-top: 0.55rem;
    color: var(--wine);
    font-size: 0.7rem;
}

.story-share {
    display: grid;
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.22);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 92% 8%, rgba(227, 201, 128, 0.16), transparent 12rem),
        var(--night);
    color: rgba(255, 252, 246, 0.74);
    box-shadow: 0 20px 48px rgba(36, 25, 45, 0.12);
    gap: 1.35rem;
}

.story-share-copy .eyebrow {
    color: var(--gold-light);
}

.story-share-copy h2 {
    margin-bottom: 0.85rem;
    color: var(--paper);
    font-size: clamp(1.65rem, 5vw, 2.35rem);
}

.story-share-copy > p:last-child {
    max-width: 31rem;
    margin: 0;
    color: rgba(255, 252, 246, 0.68);
    font-size: 0.82rem;
}

.story-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.story-share-button {
    display: inline-flex;
    min-height: 3rem;
    padding: 0.75rem 1.05rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 252, 246, 0.2);
    border-radius: 999px;
    color: var(--paper);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 750;
    gap: 0.65rem;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.story-share-button svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.story-share-x {
    background: #08070b;
}

.story-share-instagram {
    background: linear-gradient(125deg, #7a38a6, #c13584 48%, #e76b45);
}

.story-share-button:hover {
    border-color: rgba(227, 201, 128, 0.6);
    transform: translateY(-2px);
}

.story-share-button:disabled {
    cursor: wait;
    opacity: 0.64;
    transform: none;
}

.story-share-note,
.story-share-status {
    margin: 0;
    color: rgba(255, 252, 246, 0.5) !important;
    font-size: 0.66rem;
    line-height: 1.7 !important;
}

.story-share-status:not(:empty) {
    color: var(--gold-light) !important;
}

.story-share-download {
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
}

.story-next-step {
    margin-top: clamp(1rem, 4vw, 3rem);
    padding-top: clamp(3.5rem, 8vw, 5.5rem);
    overflow: hidden;
    border-block: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 15%, rgba(200, 164, 86, 0.14), transparent 24rem),
        rgba(255, 252, 246, 0.55);
}

.story-next-step-inner {
    display: grid;
    align-items: center;
    gap: 1.5rem;
}

.story-next-step figure {
    order: 2;
    width: min(16rem, 70vw);
    margin: 0 auto -4.5rem;
}

.story-next-step figure img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 24px rgba(55, 39, 62, 0.14));
}

.story-next-step h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 6vw, 3rem);
}

.story-next-step p:not(.eyebrow) {
    max-width: 39rem;
    color: var(--ink-soft);
}

.story-next-actions {
    display: flex;
    margin-top: 1.4rem;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.story-secondary-button {
    border-color: var(--line-strong);
    background: rgba(255, 252, 246, 0.64);
    color: var(--wine);
}

.story-secondary-button:hover {
    border-color: rgba(110, 45, 79, 0.32);
    background: var(--paper);
    transform: translateY(-2px);
}

.story-back-link {
    padding-block: 2.2rem;
}

.story-back-link a {
    color: var(--wine);
    font-weight: 700;
    text-decoration: none;
}

@media (min-width: 700px) {
    .story-index-hero,
    .story-article-hero {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.78fr);
    }

    .story-index-heading {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .story-card {
        grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
        min-height: 26rem;
    }

    .story-card-visual {
        min-height: 100%;
    }

    .story-index-note-inner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 2rem;
    }

    .story-card-example {
        grid-template-columns: 8rem minmax(0, 1fr);
    }

    .story-share {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .story-share-actions {
        justify-content: flex-end;
    }

    .story-share-note,
    .story-share-status,
    .story-share noscript {
        grid-column: 1 / -1;
    }

    .story-next-step-inner {
        grid-template-columns: minmax(15rem, 0.6fr) minmax(0, 1.4fr);
        gap: clamp(2rem, 7vw, 5rem);
    }

    .story-next-step figure {
        order: initial;
        width: min(20rem, 100%);
        margin-bottom: -5.5rem;
    }
}

@media (min-width: 960px) {
    .story-article-layout {
        grid-template-columns: 13rem minmax(0, 46rem);
        justify-content: center;
    }

    .story-toc {
        position: sticky;
        top: calc(var(--header-height) + 1.5rem);
    }

    .story-article-scene {
        min-height: 38rem;
    }
}

@media (max-width: 420px) {
    .story-article-scene {
        min-height: 29rem;
    }

    .story-direction-cards {
        display: none;
    }

    .story-next-actions .button {
        width: 100%;
        justify-content: center;
    }

    .story-share-button {
        width: 100%;
    }
}

/* Walking through 600 years of Tarot · Part 9 */
.thoth-history-title {
    max-width: 12em;
    font-size: clamp(1.85rem, 4.15vw, 3rem) !important;
    line-height: 1.35 !important;
}

.thoth-history-title small {
    display: block;
    margin-top: 0.7rem;
    color: var(--wine);
    font-family: var(--sans);
    font-size: 0.32em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.thoth-hero-scene {
    background:
        radial-gradient(circle at 50% 27%, rgba(221, 180, 83, 0.2), transparent 10rem),
        repeating-conic-gradient(from 0deg at 50% 38%, rgba(227, 201, 128, 0.035) 0 2deg, transparent 2deg 18deg),
        linear-gradient(150deg, #27383b, #211822 52%, #160f1d);
}

.thoth-history-article .history-card-fan img {
    height: 24rem;
    object-fit: cover;
}

.thoth-history-article .history-card-fan img:last-child {
    padding: 0.45rem;
    background: #f1eee3;
    object-fit: contain;
}

.thoth-name-pair,
.thoth-two-paths,
.thoth-visual-contrast,
.thoth-reading-doors {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    align-items: stretch;
    gap: 0.75rem;
}

.thoth-name-pair > span,
.thoth-two-paths article,
.thoth-visual-contrast article,
.thoth-reading-doors > span {
    display: grid;
    min-width: 0;
    padding: 1.35rem 1rem;
    align-content: center;
    border: 1px solid rgba(136, 103, 36, 0.28);
    border-radius: 0.85rem;
    background: rgba(255, 252, 246, 0.72);
    color: var(--ink);
    text-align: center;
}

.thoth-name-pair > span:last-child,
.thoth-two-paths article:last-child,
.thoth-visual-contrast article:last-child,
.thoth-reading-doors > span:last-child {
    border-color: rgba(227, 201, 128, 0.2);
    background: var(--night);
    color: var(--paper);
}

.thoth-name-pair small,
.thoth-two-paths small,
.thoth-visual-contrast span,
.thoth-reading-doors small {
    color: var(--gold-dark);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.thoth-name-pair > span:last-child small,
.thoth-two-paths article:last-child small,
.thoth-visual-contrast article:last-child span,
.thoth-reading-doors > span:last-child small {
    color: var(--gold-light);
}

.thoth-name-pair strong,
.thoth-two-paths strong,
.thoth-visual-contrast strong,
.thoth-reading-doors strong {
    margin-top: 0.45rem;
    color: inherit;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 3.8vw, 1.4rem);
    font-weight: 500;
    line-height: 1.55;
}

.thoth-name-pair > i,
.thoth-two-paths > i,
.thoth-visual-contrast > i,
.thoth-reading-doors > i {
    align-self: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-style: normal;
    text-align: center;
}

.thoth-visual-contrast article {
    min-height: 12rem;
}

.thoth-visual-contrast article:first-child {
    background:
        linear-gradient(rgba(255, 252, 246, 0.91), rgba(255, 252, 246, 0.91)),
        url("/images/history/waite-1909/five-of-cups.jpg") center 34% / cover;
}

.thoth-visual-contrast article:last-child {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 2.7rem, rgba(227, 201, 128, 0.36) 2.75rem 2.85rem, transparent 2.9rem),
        repeating-conic-gradient(from 20deg, rgba(119, 196, 192, 0.14) 0 10deg, transparent 10deg 35deg),
        linear-gradient(145deg, #17383b, #28192d 65%, #170f1d);
}

.thoth-visual-contrast small {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.64rem;
    letter-spacing: 0.05em;
}

.thoth-visual-contrast article:last-child small {
    color: rgba(255, 252, 246, 0.68);
}

.thoth-rights-note {
    border-color: rgba(32, 102, 105, 0.28);
    background: linear-gradient(135deg, rgba(230, 242, 238, 0.86), rgba(255, 252, 246, 0.85));
}

.thoth-rights-note a,
.thoth-history-article .history-context-note a {
    display: inline-block;
    margin-top: 0.7rem;
    color: var(--wine);
    font-size: 0.75rem;
    font-weight: 700;
}

.thoth-card-words,
.thoth-renamed-cards,
.thoth-afterlife-line {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    overflow: hidden;
    border: 1px solid rgba(136, 103, 36, 0.26);
    border-radius: 1rem;
    background: rgba(255, 252, 246, 0.7);
}

.thoth-card-words > span,
.thoth-renamed-cards > span,
.thoth-afterlife-line > span {
    display: grid;
    min-height: 6rem;
    padding: 1.2rem 0.75rem;
    align-content: center;
    border-bottom: 1px solid rgba(136, 103, 36, 0.18);
    color: var(--ink);
    text-align: center;
}

.thoth-card-words > span:last-child,
.thoth-renamed-cards > span:last-child,
.thoth-afterlife-line > span:last-child {
    border-bottom: 0;
}

.thoth-card-words > span:nth-child(even),
.thoth-renamed-cards > span:nth-child(even),
.thoth-afterlife-line > span:nth-child(even) {
    background: var(--night);
    color: var(--paper);
}

.thoth-card-words small,
.thoth-renamed-cards small,
.thoth-afterlife-line small {
    color: var(--gold-dark);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.thoth-card-words > span:nth-child(even) small,
.thoth-renamed-cards > span:nth-child(even) small,
.thoth-afterlife-line > span:nth-child(even) small {
    color: var(--gold-light);
}

.thoth-card-words strong,
.thoth-renamed-cards strong,
.thoth-afterlife-line strong {
    margin-top: 0.35rem;
    color: inherit;
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 500;
}

.thoth-crowley-figure .history-card-stage img,
.thoth-god-figure .history-card-stage img,
.thoth-rws-figure .history-card-stage img {
    max-height: 35rem;
    object-fit: contain;
}

.thoth-god-figure .history-card-stage {
    background: linear-gradient(145deg, #d7e9e1, #e8e2cc 60%, #b9d2ca);
}

.thoth-branch-diagram {
    display: grid;
    margin: clamp(2.4rem, 7vw, 4rem) 0;
    justify-items: center;
}

.thoth-branch-diagram > strong {
    position: relative;
    z-index: 2;
    display: grid;
    min-width: min(100%, 18rem);
    padding: 1.2rem;
    border: 1px solid rgba(227, 201, 128, 0.32);
    background: var(--night);
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
}

.thoth-branch-diagram > strong small {
    color: rgba(255, 252, 246, 0.62);
    font-family: var(--sans);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
}

.thoth-branch-diagram > div {
    position: relative;
    display: grid;
    width: 100%;
    margin-top: 2.3rem;
    gap: 0.85rem;
}

.thoth-branch-diagram > div::before {
    position: absolute;
    top: -2.3rem;
    left: 50%;
    width: 1px;
    height: 2.3rem;
    background: rgba(136, 103, 36, 0.58);
    content: "";
}

.thoth-branch-diagram article {
    display: grid;
    min-height: 9rem;
    padding: 1.3rem;
    align-content: center;
    border: 1px solid rgba(136, 103, 36, 0.25);
    background: rgba(255, 252, 246, 0.78);
    text-align: center;
}

.thoth-branch-diagram article:last-child {
    border-color: rgba(227, 201, 128, 0.2);
    background: var(--night);
    color: var(--paper);
}

.thoth-branch-diagram article small {
    color: var(--gold-dark);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

.thoth-branch-diagram article:last-child small {
    color: var(--gold-light);
}

.thoth-branch-diagram article b {
    margin: 0.35rem 0;
    color: inherit;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 6vw, 2.4rem);
    font-weight: 500;
}

.thoth-branch-diagram article span {
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.thoth-branch-diagram article:last-child span {
    color: rgba(255, 252, 246, 0.66);
}

@media (min-width: 700px) {
    .thoth-name-pair,
    .thoth-two-paths,
    .thoth-visual-contrast,
    .thoth-reading-doors {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .thoth-card-words {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .thoth-renamed-cards,
    .thoth-afterlife-line {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .thoth-card-words > span,
    .thoth-renamed-cards > span,
    .thoth-afterlife-line > span {
        border-right: 1px solid rgba(136, 103, 36, 0.18);
        border-bottom: 0;
    }

    .thoth-card-words > span:last-child,
    .thoth-renamed-cards > span:last-child,
    .thoth-afterlife-line > span:last-child {
        border-right: 0;
    }

    .thoth-branch-diagram > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thoth-branch-diagram > div::after {
        position: absolute;
        top: -1.2rem;
        right: 25%;
        left: 25%;
        height: 1px;
        background: rgba(136, 103, 36, 0.58);
        content: "";
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-card-visual img,
    .story-card-link span,
    .story-share-button {
        transition: none;
    }
}

/* Walking through 600 years of Tarot */
.history-hero {
    display: grid;
    padding-block: clamp(3rem, 8vw, 6.5rem);
    align-items: center;
    gap: clamp(3rem, 8vw, 6rem);
}

.history-hero-copy {
    min-width: 0;
}

.history-era {
    margin: 0 0 0.8rem;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
}

.history-hero h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.25rem, 7.6vw, 4.55rem);
    line-height: 1.25;
}

.history-title-break {
    display: none;
}

.history-progress {
    display: grid;
    max-width: 31rem;
    margin-top: 1.8rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.62rem;
    gap: 0.75rem;
}

.history-progress ol {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(11, 1fr);
    gap: 0.22rem;
    list-style: none;
}

.history-progress li {
    height: 2px;
    background: var(--line-strong);
}

.history-progress li.is-current {
    height: 4px;
    border-radius: 999px;
    background: var(--wine);
}

.history-hero-scene {
    position: relative;
    display: grid;
    min-height: clamp(29rem, 72vw, 40rem);
    margin: 0;
    padding: 2rem 1rem 4.8rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 16rem 16rem 1rem 1rem;
    background:
        radial-gradient(circle at 50% 30%, rgba(227, 201, 128, 0.2), transparent 10rem),
        repeating-linear-gradient(90deg, transparent 0 3.95rem, rgba(227, 201, 128, 0.035) 4rem),
        linear-gradient(160deg, #392b25, #211822 55%, #160f1d);
    box-shadow: var(--shadow);
}

.history-hero-scene::before {
    position: absolute;
    width: min(23rem, 76%);
    aspect-ratio: 1;
    border: 1px solid rgba(227, 201, 128, 0.15);
    border-radius: 50%;
    content: "";
}

.history-card-fan {
    position: relative;
    width: min(22rem, 82vw);
    height: 29rem;
}

.history-card-fan img {
    position: absolute;
    width: min(11.5rem, 46vw);
    height: auto;
    top: 2rem;
    left: 50%;
    border: 1px solid rgba(255, 245, 204, 0.34);
    border-radius: 0.28rem;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.45);
    transform-origin: 50% 90%;
}

.history-card-fan img:first-child {
    z-index: 1;
    transform: translateX(-84%) rotate(-13deg);
}

.history-card-fan img:nth-child(2) {
    z-index: 3;
    transform: translateX(-50%);
}

.history-card-fan img:last-child {
    z-index: 2;
    transform: translateX(-16%) rotate(13deg);
}

.history-hero-scene figcaption {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.9rem 1.2rem 1.05rem;
    border-top: 1px solid rgba(227, 201, 128, 0.17);
    background: rgba(20, 14, 29, 0.92);
    color: rgba(255, 252, 246, 0.66);
    font-size: 0.68rem;
    line-height: 1.65;
    text-align: center;
}

.history-hero-scene figcaption strong,
.history-hero-scene figcaption span {
    display: block;
}

.history-hero-scene figcaption strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.history-opening-statement {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: clamp(2rem, 6vw, 3.25rem) 1.3rem;
    border-block: 1px solid rgba(136, 103, 36, 0.35);
    text-align: center;
}

.history-opening-statement > span {
    display: block;
    margin-bottom: 1rem;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.history-opening-statement p {
    margin: 0;
    color: var(--ink) !important;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 5vw, 2rem);
    line-height: 1.8;
}

.history-opening-statement em {
    display: block;
    margin-top: 0.6rem;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(1.15rem, 4vw, 1.55rem);
    font-style: normal;
}

.history-pull-quote p {
    color: var(--paper);
}

.history-timeline {
    display: grid;
    margin-block: 2.2rem;
    padding: 1.15rem;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 0.9rem;
    background: rgba(255, 252, 246, 0.68);
    gap: 0.65rem;
}

.history-timeline div {
    padding: 0.95rem;
    border-radius: 0.6rem;
    background: var(--paper);
    text-align: center;
}

.history-timeline span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.history-timeline p {
    margin: 0.35rem 0 0;
    color: var(--ink) !important;
    font-family: var(--serif);
    font-size: 0.83rem;
    line-height: 1.65;
}

.history-timeline i {
    color: var(--gold-dark);
    font-style: normal;
    text-align: center;
    transform: rotate(90deg);
}

.history-suits {
    display: grid;
    margin-block: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.history-suits div {
    display: grid;
    min-height: 6.5rem;
    padding: 1rem;
    place-items: center;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: rgba(255, 252, 246, 0.7);
    gap: 0.35rem;
    text-align: center;
}

.history-suits strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.1rem;
}

.history-suits small {
    color: var(--muted);
    font-family: var(--serif);
    font-size: 0.55rem;
    letter-spacing: 0.12em;
}

.history-equation {
    display: flex;
    margin-block: 2rem;
    padding: clamp(1.25rem, 5vw, 2rem);
    align-items: baseline;
    justify-content: center;
    border-block: 1px solid rgba(136, 103, 36, 0.3);
    color: var(--ink);
    flex-wrap: wrap;
    font-family: var(--serif);
    gap: 0.35rem 0.6rem;
}

.history-equation span,
.history-equation strong {
    font-size: clamp(2rem, 8vw, 3.25rem);
    font-weight: 500;
}

.history-equation strong {
    color: var(--wine);
}

.history-equation b {
    color: var(--gold-dark);
    font-size: 1.35rem;
    font-weight: 400;
}

.history-equation small {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.62rem;
}

.history-equation-wide {
    gap: 0.35rem 0.45rem;
}

.history-name-list {
    margin-block: 2rem;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-left: 2px solid var(--gold);
    background: linear-gradient(90deg, rgba(200, 164, 86, 0.1), transparent);
    color: var(--wine) !important;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 5vw, 2rem);
    line-height: 1.75 !important;
}

.history-name-list-small {
    font-size: clamp(1.1rem, 4vw, 1.45rem);
}

.history-context-note {
    margin-block: 2rem;
    padding: clamp(1.35rem, 5vw, 2rem);
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 0.9rem;
    background:
        radial-gradient(circle at 92% 5%, rgba(227, 201, 128, 0.15), transparent 10rem),
        var(--night);
}

.history-context-note .eyebrow {
    margin-bottom: 0.7rem;
    color: var(--gold-light);
}

.history-context-note p:last-child {
    margin: 0;
    color: rgba(255, 252, 246, 0.78);
    font-family: var(--serif);
    font-size: 0.9rem;
    line-height: 1.95;
}

.history-context-note .story-citation {
    color: var(--gold-light);
}

.history-gallery-section > h3 {
    margin: 2rem 0 1rem;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.history-card-figure {
    display: grid;
    margin: clamp(3rem, 9vw, 5.5rem) 0 2rem;
    overflow: hidden;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 1rem;
    background: rgba(255, 252, 246, 0.72);
    box-shadow: 0 18px 46px rgba(36, 25, 45, 0.08);
}

.history-card-stage {
    position: relative;
    display: grid;
    min-height: 31rem;
    padding: 2.4rem 1rem;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(227, 201, 128, 0.17), transparent 11rem),
        linear-gradient(155deg, #3b2a28, var(--night));
}

.history-card-stage::before {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(227, 201, 128, 0.15);
    border-radius: 50%;
    content: "";
}

.history-card-stage > span {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    color: rgba(227, 201, 128, 0.72);
    font-family: var(--serif);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
}

.history-card-stage img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(15rem, 72%);
    height: auto;
    border: 1px solid rgba(255, 245, 204, 0.28);
    border-radius: 0.25rem;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.4);
}

.history-card-figure figcaption {
    display: grid;
    padding: 1.25rem;
    align-content: center;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.75;
    gap: 0.35rem;
}

.history-card-figure figcaption strong {
    color: var(--wine);
    font-family: var(--serif);
    font-size: 1.25rem;
}

.history-card-figure figcaption span,
.history-card-figure figcaption small {
    display: block;
}

.history-card-figure figcaption a {
    color: var(--wine);
}

.history-final-quote p {
    font-size: clamp(1.25rem, 4.8vw, 2rem);
}

.history-next-name {
    margin-block: 2rem;
    color: var(--wine) !important;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 6vw, 2.6rem);
    line-height: 1.45 !important;
}

.history-takeaway {
    margin-top: clamp(3rem, 8vw, 5rem);
    padding: clamp(1.6rem, 6vw, 3rem);
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(227, 201, 128, 0.18), transparent 12rem),
        var(--night);
}

.history-takeaway .eyebrow {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 0.14em;
}

.history-takeaway h2 {
    color: var(--paper);
    font-size: clamp(1.6rem, 5.5vw, 2.5rem);
}

.history-takeaway p {
    color: rgba(255, 252, 246, 0.7);
}

.history-takeaway strong {
    display: block;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(227, 201, 128, 0.18);
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.95rem;
    line-height: 1.9;
}

.history-source-intro {
    margin-bottom: 1.3rem;
    padding: 1.1rem;
    border-radius: 0.7rem;
    background: rgba(74, 53, 88, 0.055);
    color: var(--muted) !important;
    font-size: 0.72rem;
    line-height: 1.85 !important;
}

.history-series-nav {
    display: grid;
    margin-top: clamp(3.5rem, 9vw, 6rem);
    padding-block: 1.2rem;
    border-block: 1px solid var(--line);
    gap: 0.8rem;
}

.history-series-nav-item {
    position: relative;
    display: grid;
    min-height: 6.5rem;
    padding: 1rem;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: rgba(255, 252, 246, 0.62);
    gap: 0.25rem;
}

.history-series-nav-item small {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
}

.history-series-nav-item strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 0.88rem;
    line-height: 1.55;
}

.history-series-nav-item em {
    color: var(--muted);
    font-size: 0.62rem;
    font-style: normal;
}

.history-series-nav-item.is-disabled {
    opacity: 0.55;
}

.history-series-nav-count {
    align-self: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-align: center;
}

.marseille-place-line {
    display: grid;
    margin-block: 2.2rem;
    padding: 1rem;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 0.9rem;
    background: rgba(255, 252, 246, 0.68);
    gap: 0.65rem;
}

.marseille-place-line div {
    display: grid;
    min-height: 7rem;
    padding: 1rem;
    place-content: center;
    border-radius: 0.65rem;
    background: var(--paper);
    text-align: center;
}

.marseille-place-line span,
.marseille-place-line strong,
.marseille-place-line small {
    display: block;
}

.marseille-place-line span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
}

.marseille-place-line strong {
    margin-top: 0.15rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.marseille-place-line small {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.62rem;
}

.marseille-place-line i {
    align-self: center;
    color: var(--gold-dark);
    font-style: normal;
    text-align: center;
    transform: rotate(90deg);
}

.marseille-discovery {
    display: grid;
    margin-block: 2.2rem;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 0.9rem;
    background: var(--night);
}

.marseille-discovery p {
    display: grid;
    min-height: 8.5rem;
    margin: 0;
    padding: 1.25rem;
    place-content: center;
    border-bottom: 1px solid rgba(227, 201, 128, 0.16);
    text-align: center;
}

.marseille-discovery p:last-child {
    border-bottom: 0;
}

.marseille-discovery span,
.marseille-discovery strong,
.marseille-discovery small {
    display: block;
}

.marseille-discovery span {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.55rem;
    letter-spacing: 0.18em;
}

.marseille-discovery strong {
    margin-block: 0.25rem;
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(1.45rem, 5vw, 2.1rem);
    font-weight: 500;
}

.marseille-discovery small {
    color: rgba(255, 252, 246, 0.58);
    font-size: 0.62rem;
}

.marseille-key-quote p {
    font-size: clamp(1.1rem, 4.2vw, 1.65rem);
}

.marseille-card-grid {
    display: grid;
    margin: clamp(2.5rem, 8vw, 4.5rem) 0 2rem;
    gap: 1rem;
}

.marseille-card {
    display: grid;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 0.9rem;
    background: rgba(255, 252, 246, 0.72);
    box-shadow: 0 18px 40px rgba(36, 25, 45, 0.08);
}

.marseille-card .history-card-stage {
    min-height: 24rem;
    padding: 2.2rem 0.8rem 1.6rem;
}

.marseille-card .history-card-stage::before {
    width: 13rem;
    height: 13rem;
}

.marseille-card .history-card-stage img {
    width: min(13rem, 72%);
}

.marseille-card figcaption {
    display: grid;
    padding: 1rem;
    color: var(--muted);
    font-size: 0.65rem;
    line-height: 1.7;
    gap: 0.16rem;
}

.marseille-card figcaption strong,
.marseille-card figcaption span,
.marseille-card figcaption small,
.marseille-card figcaption a {
    display: block;
}

.marseille-card figcaption strong {
    color: var(--wine);
    font-family: var(--serif);
    font-size: 1.08rem;
}

.marseille-card figcaption span {
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}

.marseille-card figcaption a {
    margin-top: 0.25rem;
    color: var(--wine);
}

.marseille-pip-figure .history-card-stage img {
    width: min(15rem, 70%);
}

.marseille-pip-figure figcaption p {
    margin: 0.45rem 0;
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1.85;
}

.marseille-pip-figure figcaption .eyebrow {
    margin: 0 0 0.2rem;
    color: var(--gold-dark);
    font-size: 0.58rem;
}

.marseille-fool-rule {
    display: grid;
    margin-block: 2.2rem;
    padding: 1rem;
    align-items: stretch;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 0.9rem;
    background: rgba(255, 252, 246, 0.68);
    gap: 0.65rem;
}

.marseille-fool-rule p {
    display: grid;
    min-height: 8rem;
    margin: 0;
    padding: 1.2rem;
    place-content: center;
    border-radius: 0.65rem;
    background: var(--paper);
    text-align: center;
}

.marseille-fool-rule span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
}

.marseille-fool-rule strong {
    margin-top: 0.35rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 0.92rem;
    line-height: 1.75;
}

.marseille-fool-rule i {
    align-self: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.72rem;
    font-style: normal;
    text-align: center;
}

.game-rule-sheet {
    position: relative;
    display: grid;
    max-width: 34rem;
    min-height: 24rem;
    margin: clamp(2rem, 6vw, 3.5rem) auto;
    padding: clamp(2.5rem, 8vw, 4rem) 2rem;
    place-content: center;
    overflow: hidden;
    border: 1px solid rgba(136, 103, 36, 0.5);
    background:
        linear-gradient(rgba(252, 247, 233, 0.9), rgba(244, 234, 207, 0.9)),
        repeating-linear-gradient(0deg, transparent 0 1.65rem, rgba(78, 49, 33, 0.08) 1.7rem);
    box-shadow: 0 18px 44px rgba(41, 28, 22, 0.12);
    color: #3e281f;
    text-align: center;
}

.history-hero h1.game-history-title {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1.35;
}

.game-history-title .history-title-break {
    display: block;
}

.game-rule-sheet::before,
.game-rule-sheet::after {
    position: absolute;
    border: 1px solid rgba(136, 103, 36, 0.34);
    content: "";
    inset: 0.65rem;
    pointer-events: none;
}

.game-rule-sheet::after {
    inset: 1rem;
    border-style: double;
}

.game-rule-sheet span,
.game-rule-sheet strong,
.game-rule-sheet small {
    position: relative;
    z-index: 1;
    display: block;
}

.game-rule-sheet span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
}

.game-rule-sheet strong {
    margin-block: 1.5rem;
    font-family: var(--serif);
    font-size: clamp(1.9rem, 8vw, 3.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
}

.game-rule-sheet small {
    color: rgba(62, 40, 31, 0.62);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.game-portrait-figure .history-card-stage img {
    filter: sepia(0.12) contrast(1.03);
}

.game-trick-diagram,
.game-cosmos-line {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    gap: 0.75rem;
}

.game-trick-diagram div,
.game-cosmos-line div {
    display: grid;
    min-height: 9rem;
    padding: 1.4rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.24);
    background: rgba(255, 252, 246, 0.72);
    text-align: center;
}

.game-trick-diagram div.is-winner {
    border-color: rgba(136, 103, 36, 0.58);
    background: linear-gradient(145deg, rgba(239, 224, 176, 0.54), rgba(255, 252, 246, 0.82));
    box-shadow: inset 0 0 0 3px rgba(255, 252, 246, 0.7);
}

.game-trick-diagram span,
.game-cosmos-line span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.game-trick-diagram strong,
.game-cosmos-line strong {
    display: block;
    margin-block: 0.35rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.game-trick-diagram small,
.game-cosmos-line small {
    color: var(--muted);
    font-size: 0.68rem;
}

.game-trick-diagram > i,
.game-cosmos-line > i {
    align-self: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1rem;
    font-style: normal;
    text-align: center;
    transform: rotate(90deg);
}

.game-trump-scale {
    display: grid;
    margin: clamp(2rem, 6vw, 3.75rem) 0;
    gap: 1rem;
}

.game-trump-scale figure {
    display: grid;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.17);
    border-radius: 1rem;
    background: linear-gradient(150deg, #352723, #17101d);
    box-shadow: var(--shadow);
}

.game-trump-scale figure img {
    width: 100%;
    height: 30rem;
    padding: 1.5rem;
    object-fit: contain;
}

.game-trump-scale figcaption {
    display: grid;
    padding: 1rem 1.2rem 1.2rem;
    border-top: 1px solid rgba(227, 201, 128, 0.16);
    color: rgba(255, 252, 246, 0.64);
    text-align: center;
}

.game-trump-scale figcaption span {
    color: var(--gold-light);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.game-trump-scale figcaption strong {
    margin-block: 0.25rem;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: 1.15rem;
}

.game-trump-scale figcaption small,
.game-trump-scale figcaption a {
    color: rgba(255, 252, 246, 0.62);
    font-size: 0.64rem;
}

.game-trump-scale figcaption a {
    margin-top: 0.65rem;
}

.game-trump-scale > div {
    display: grid;
    min-height: 8rem;
    grid-template-columns: auto minmax(2rem, 1fr) auto minmax(2rem, 1fr) auto;
    align-items: center;
    color: var(--gold-dark);
    font-size: 0.62rem;
    gap: 0.55rem;
}

.game-trump-scale > div i {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.game-trump-scale > div strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 0.72rem;
    text-align: center;
}

.game-deck-equation,
.game-major-structure {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    align-items: stretch;
    gap: 0.65rem;
}

.game-deck-equation p,
.game-major-structure p {
    display: grid;
    min-height: 9rem;
    margin: 0 !important;
    padding: 1.25rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.22);
    background: rgba(255, 252, 246, 0.7);
    text-align: center;
}

.game-deck-equation p.is-result,
.game-major-structure p.is-fool {
    border-color: rgba(136, 103, 36, 0.52);
    background: rgba(239, 224, 176, 0.34);
}

.game-deck-equation span,
.game-major-structure span {
    color: var(--gold-dark);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.game-deck-equation strong,
.game-major-structure strong {
    display: block;
    color: var(--wine-dark);
    font-family: var(--serif);
    font-size: 2.75rem;
    line-height: 1.05;
}

.game-deck-equation small,
.game-major-structure small {
    color: var(--muted);
    font-size: 0.66rem;
}

.game-deck-equation > i,
.game-major-structure > i {
    align-self: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-style: normal;
    text-align: center;
}

.game-suit-ranks {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.16);
    border-radius: 1rem;
    background: linear-gradient(145deg, #342522, #1c1320);
    box-shadow: var(--shadow);
}

.game-suit-ranks div {
    display: grid;
    min-height: 10rem;
    padding: 1.5rem;
    place-content: center;
    border-bottom: 1px solid rgba(227, 201, 128, 0.15);
    text-align: center;
}

.game-suit-ranks div:last-child {
    border-bottom: 0;
}

.game-suit-ranks span {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.game-suit-ranks strong {
    margin-block: 0.6rem;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 5vw, 1.8rem);
}

.game-suit-ranks small {
    color: rgba(255, 252, 246, 0.62);
    font-size: 0.68rem;
}

.game-fool-focus {
    display: grid;
    margin: clamp(2rem, 6vw, 3.75rem) 0;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(145deg, #352723, #17101d);
    box-shadow: var(--shadow);
}

.game-fool-focus img {
    width: 100%;
    max-height: 38rem;
    padding: 1.5rem;
    object-fit: contain;
}

.game-fool-focus figcaption {
    display: grid;
    padding: 1.5rem;
    align-content: center;
    border-top: 1px solid rgba(227, 201, 128, 0.16);
    color: rgba(255, 252, 246, 0.65);
}

.game-fool-focus figcaption span {
    color: var(--gold-light);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.game-fool-focus figcaption strong {
    margin-block: 0.6rem;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 5vw, 2rem);
    line-height: 1.45;
}

.game-fool-focus figcaption small,
.game-fool-focus figcaption a {
    color: rgba(255, 252, 246, 0.62);
    font-size: 0.67rem;
}

.game-fool-focus figcaption a {
    margin-top: 1rem;
}

.game-excuse-quote span {
    letter-spacing: 0.24em;
}

.divination-history-article .history-card-fan img {
    height: 24rem;
    object-fit: cover;
}

.divination-history-article .history-card-fan img:nth-child(2) {
    object-position: 50% 38%;
}

.divination-history-article .history-card-fan img:last-child {
    object-position: 50% 18%;
}

.divination-pivot-diagram,
.divination-source-flow,
.divination-before-after,
.divination-publication-line,
.divination-centuries {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    gap: 0.7rem;
}

.divination-pivot-diagram div,
.divination-source-flow div,
.divination-before-after div,
.divination-publication-line div,
.divination-centuries div {
    display: grid;
    min-height: 9rem;
    padding: 1.35rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.24);
    background: rgba(255, 252, 246, 0.72);
    text-align: center;
}

.divination-pivot-diagram div:last-child,
.divination-source-flow div:last-child,
.divination-before-after div:last-child,
.divination-publication-line div:last-child,
.divination-centuries div:last-child {
    border-color: rgba(136, 103, 36, 0.55);
    background: linear-gradient(145deg, rgba(239, 224, 176, 0.52), rgba(255, 252, 246, 0.84));
}

.divination-pivot-diagram span,
.divination-source-flow span,
.divination-before-after span,
.divination-publication-line span,
.divination-centuries span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.divination-pivot-diagram strong,
.divination-source-flow strong,
.divination-before-after strong,
.divination-publication-line strong,
.divination-centuries strong {
    display: block;
    margin-block: 0.4rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.08rem;
    line-height: 1.6;
}

.divination-pivot-diagram small,
.divination-hieroglyph-timeline small,
.divination-two-paths small {
    color: var(--muted);
    font-size: 0.68rem;
}

.divination-pivot-diagram > i,
.divination-source-flow > i,
.divination-before-after > i,
.divination-publication-line > i,
.divination-centuries > i {
    align-self: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1rem;
    font-style: normal;
    text-align: center;
    transform: rotate(90deg);
}

.divination-portrait-figure .history-card-stage img {
    object-fit: cover;
    object-position: 50% 28%;
    filter: sepia(0.08) contrast(1.02);
}

.divination-hieroglyph-timeline {
    position: relative;
    display: grid;
    margin: clamp(2rem, 6vw, 3.75rem) 0;
    gap: 0.8rem;
}

.divination-hieroglyph-timeline div {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 10rem;
    padding: 1.5rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.26);
    border-radius: 50%;
    background: var(--paper);
    text-align: center;
}

.divination-hieroglyph-timeline div.is-first {
    border-color: rgba(136, 103, 36, 0.65);
    box-shadow: inset 0 0 0 5px rgba(239, 224, 176, 0.36);
}

.divination-hieroglyph-timeline span {
    color: var(--wine);
    font-family: var(--serif);
    font-size: 1.9rem;
    line-height: 1;
}

.divination-hieroglyph-timeline strong {
    margin-block: 0.65rem 0.35rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 0.92rem;
}

.divination-hieroglyph-timeline > i {
    width: 1px;
    min-height: 1.2rem;
    justify-self: center;
    background: var(--gold-dark);
    opacity: 0.55;
}

.history-feature-list {
    display: grid;
    margin: clamp(2rem, 6vw, 3rem) 0;
    padding: 0;
    counter-reset: divination-feature;
    list-style: none;
    gap: 0.65rem;
}

.history-feature-list li {
    display: grid;
    min-height: 5rem;
    padding: 1rem 1.1rem;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid rgba(136, 103, 36, 0.22);
    background: rgba(255, 252, 246, 0.7);
    color: var(--ink);
    font-family: var(--serif);
    gap: 0.9rem;
}

.history-feature-list li::before {
    display: grid;
    width: 2.1rem;
    aspect-ratio: 1;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.45);
    border-radius: 50%;
    color: var(--wine);
    content: counter(divination-feature, decimal-leading-zero);
    counter-increment: divination-feature;
    font-size: 0.6rem;
}

.divination-etteilla-figure {
    margin: clamp(2rem, 6vw, 4rem) 0;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(145deg, #352723, #17101d);
    box-shadow: var(--shadow);
}

.divination-etteilla-figure img {
    display: block;
    width: 100%;
    max-height: 48rem;
    padding: clamp(1rem, 4vw, 2rem);
    object-fit: contain;
}

.divination-etteilla-figure figcaption {
    display: grid;
    padding: 1.35rem 1.5rem 1.6rem;
    border-top: 1px solid rgba(227, 201, 128, 0.16);
    color: rgba(255, 252, 246, 0.64);
    text-align: center;
}

.divination-etteilla-figure figcaption span {
    color: var(--gold-light);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.divination-etteilla-figure figcaption strong {
    margin-block: 0.5rem;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 4vw, 1.4rem);
    line-height: 1.6;
}

.divination-etteilla-figure figcaption small,
.divination-etteilla-figure figcaption a {
    color: rgba(255, 252, 246, 0.62);
    font-size: 0.66rem;
}

.divination-etteilla-figure figcaption a {
    margin-top: 0.75rem;
}

.divination-two-paths {
    max-width: 44rem;
    margin: clamp(2rem, 6vw, 3.75rem) auto;
    text-align: center;
}

.divination-two-paths .root {
    width: min(15rem, 70%);
    margin: 0 auto 2.5rem;
    padding: 1.2rem;
    border: 1px solid rgba(136, 103, 36, 0.52);
    background: rgba(239, 224, 176, 0.42);
}

.divination-two-paths .root::after {
    display: block;
    width: 1px;
    height: 2.5rem;
    margin: 1rem auto -3.7rem;
    background: rgba(136, 103, 36, 0.58);
    content: "";
}

.divination-two-paths span {
    color: var(--gold-dark);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.divination-two-paths strong {
    display: block;
    margin-block: 0.25rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.1rem;
}

.divination-two-paths .branch {
    display: grid;
    gap: 0.75rem;
}

.divination-two-paths .branch p {
    min-height: 9rem;
    margin: 0 !important;
    padding: 1.35rem;
    border: 1px solid rgba(136, 103, 36, 0.28);
    background: rgba(255, 252, 246, 0.72);
}

.divination-belief-flow {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-block: 1px solid rgba(136, 103, 36, 0.36);
    color: var(--ink);
    font-family: var(--serif);
    gap: 0.65rem;
    text-align: center;
}

.divination-belief-flow span,
.divination-belief-flow strong {
    padding: 0.65rem 0.8rem;
}

.divination-belief-flow strong {
    background: var(--wine);
    color: #fffaf0;
    font-weight: 500;
}

.divination-belief-flow i {
    color: var(--gold-dark);
    font-style: normal;
}

.magic-history-title {
    font-size: clamp(2rem, 5vw, 3.25rem) !important;
    line-height: 1.35 !important;
}

.magic-history-article .history-card-fan img {
    height: 24rem;
    object-fit: cover;
}

.magic-history-article .history-card-fan img:nth-child(2) {
    object-position: 50% 30%;
}

.magic-history-article .history-card-fan img:last-child {
    padding: 0.55rem;
    background: #f8f5eb;
    object-fit: contain;
}

.magic-system-grid {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(227, 201, 128, 0.15);
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, #342522, #1c1320);
    box-shadow: var(--shadow);
}

.magic-system-grid span {
    min-height: 6rem;
    padding: 1rem;
    align-content: center;
    border-right: 1px solid rgba(227, 201, 128, 0.14);
    border-bottom: 1px solid rgba(227, 201, 128, 0.14);
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-align: center;
}

.magic-portrait-figure .history-card-stage img {
    object-fit: cover;
    object-position: 50% 22%;
    filter: sepia(0.12) contrast(1.04);
}

.magic-correspondence-cloud {
    display: grid;
    margin: clamp(2rem, 6vw, 3.75rem) auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.magic-correspondence-cloud span,
.magic-correspondence-cloud strong {
    display: grid;
    min-height: 7rem;
    padding: 1rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.26);
    border-radius: 50%;
    background: rgba(255, 252, 246, 0.72);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 0.82rem;
    font-weight: 500;
    text-align: center;
}

.magic-correspondence-cloud strong {
    border-color: rgba(136, 103, 36, 0.68);
    background: var(--wine);
    color: #fffaf0;
    font-size: 1.1rem;
}

.magic-kabbalah-note {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    border: 1px solid rgba(136, 103, 36, 0.42);
    border-left: 0.35rem solid var(--wine);
    background: linear-gradient(120deg, rgba(239, 224, 176, 0.42), rgba(255, 252, 246, 0.78));
}

.magic-kabbalah-note span,
.magic-kabbalah-note strong {
    display: block;
}

.magic-kabbalah-note span {
    margin-bottom: 0.55rem;
    color: var(--gold-dark);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.magic-kabbalah-note strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.05rem, 4vw, 1.45rem);
    line-height: 1.6;
}

.magic-kabbalah-note p {
    margin: 0.65rem 0 0 !important;
    color: var(--muted) !important;
}

.magic-creation-equation,
.magic-twenty-two-equation,
.magic-history-separation,
.magic-influence-line {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    gap: 0.7rem;
}

.magic-creation-equation p,
.magic-twenty-two-equation div,
.magic-history-separation div,
.magic-influence-line div {
    display: grid;
    min-height: 9rem;
    margin: 0 !important;
    padding: 1.3rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.25);
    background: rgba(255, 252, 246, 0.72);
    text-align: center;
}

.magic-twenty-two-equation div:last-child,
.magic-influence-line div:nth-of-type(2) {
    border-color: rgba(136, 103, 36, 0.58);
    background: linear-gradient(145deg, rgba(239, 224, 176, 0.55), rgba(255, 252, 246, 0.84));
}

.magic-creation-equation span,
.magic-twenty-two-equation span,
.magic-history-separation span,
.magic-influence-line span {
    color: var(--gold-dark);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.magic-creation-equation strong,
.magic-twenty-two-equation strong,
.magic-history-separation strong,
.magic-influence-line strong {
    display: block;
    margin-block: 0.35rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.55;
}

.magic-creation-equation strong,
.magic-twenty-two-equation strong {
    color: var(--wine);
    font-size: 3rem;
    line-height: 1;
}

.magic-creation-equation small,
.magic-twenty-two-equation small,
.magic-influence-line small {
    color: var(--muted);
    font-size: 0.68rem;
}

.magic-creation-equation > i,
.magic-twenty-two-equation > i,
.magic-history-separation > i,
.magic-influence-line > i {
    align-self: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-style: normal;
    text-align: center;
    transform: rotate(90deg);
}

.magic-alphabet-strip {
    display: flex;
    margin: clamp(2rem, 6vw, 3rem) 0;
    padding: 1.3rem;
    flex-wrap: wrap;
    justify-content: center;
    border-block: 1px solid rgba(136, 103, 36, 0.42);
    gap: 0.35rem;
}

.magic-alphabet-strip span {
    display: grid;
    width: 2.2rem;
    aspect-ratio: 1;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.22);
    background: rgba(255, 252, 246, 0.7);
    color: var(--wine-dark);
    font-family: serif;
    font-size: 1.25rem;
}

.magic-symbol-figure {
    margin: clamp(2rem, 6vw, 4rem) 0;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(145deg, #352723, #17101d);
    box-shadow: var(--shadow);
}

.magic-symbol-figure img {
    display: block;
    width: 100%;
    max-height: 38rem;
    padding: clamp(1rem, 5vw, 2.5rem);
    background: rgba(255, 252, 246, 0.94);
    object-fit: contain;
}

.magic-symbol-figure figcaption {
    display: grid;
    padding: 1.35rem 1.5rem 1.6rem;
    border-top: 1px solid rgba(227, 201, 128, 0.16);
    color: rgba(255, 252, 246, 0.64);
    text-align: center;
}

.magic-symbol-figure figcaption span {
    color: var(--gold-light);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.magic-symbol-figure figcaption strong {
    margin-block: 0.5rem;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 4vw, 1.4rem);
    line-height: 1.6;
}

.magic-symbol-figure figcaption small,
.magic-symbol-figure figcaption a {
    color: rgba(255, 252, 246, 0.62);
    font-size: 0.66rem;
}

.magic-symbol-figure figcaption a {
    margin-top: 0.75rem;
}

.magic-human-questions {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.magic-human-questions p {
    display: grid;
    min-height: 8rem;
    margin: 0 !important;
    padding: 1rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.23);
    border-radius: 50%;
    background: rgba(255, 252, 246, 0.72);
    color: var(--ink) !important;
    font-family: var(--serif);
    text-align: center;
}

.magic-possibility-scale {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    align-items: center;
    border-block: 1px solid rgba(136, 103, 36, 0.4);
    gap: 0.7rem;
    text-align: center;
}

.magic-possibility-scale span,
.magic-possibility-scale strong {
    padding: 0.85rem;
    color: var(--ink);
    font-family: var(--serif);
}

.magic-possibility-scale strong {
    background: var(--wine);
    color: #fffaf0;
    font-weight: 500;
}

.magic-possibility-scale i {
    width: 1px;
    height: 1.5rem;
    justify-self: center;
    background: linear-gradient(180deg, transparent, var(--gold-dark), transparent);
}

.magic-legacy-statement {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(227, 201, 128, 0.14);
    border-radius: 1rem;
    background: linear-gradient(145deg, #342522, #1c1320);
    box-shadow: var(--shadow);
    gap: 0.55rem;
}

.magic-legacy-statement span,
.magic-legacy-statement strong {
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(227, 201, 128, 0.22);
    color: rgba(255, 252, 246, 0.76);
    font-family: var(--serif);
    font-size: 0.82rem;
    font-weight: 500;
}

.magic-legacy-statement strong {
    border-color: var(--gold-light);
    background: rgba(227, 201, 128, 0.14);
    color: var(--gold-light);
    font-size: 1.1rem;
}

.dawn-history-title {
    font-size: clamp(2rem, 5vw, 3.25rem) !important;
    line-height: 1.35 !important;
}

.dawn-history-article .history-card-fan img {
    height: 24rem;
    object-fit: cover;
}

.dawn-history-article .history-card-fan img:first-child {
    padding: 1.25rem;
    background: #f2ead9;
    object-fit: contain;
}

.dawn-history-article .history-card-fan img:last-child {
    object-position: center top;
}

.dawn-founders {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
}

.dawn-founders > article {
    display: grid;
    margin: 0 0 0.8rem;
    padding: 1.25rem 1.35rem;
    position: relative;
    border: 1px solid rgba(136, 103, 36, 0.24);
    border-left: 4px solid var(--gold-dark);
    border-radius: 0.35rem 1rem 1rem 0.35rem;
    background: linear-gradient(90deg, rgba(227, 201, 128, 0.1), rgba(255, 252, 246, 0.72));
    box-shadow: var(--shadow-soft);
    gap: 0.55rem;
}

.dawn-founders > article:last-child {
    margin-bottom: 0;
}

.dawn-founders span,
.dawn-two-branches span,
.dawn-members span,
.dawn-women-callout > span,
.dawn-suit-elements span {
    color: var(--gold-dark);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.dawn-founders strong {
    display: block;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 500;
}

.dawn-founders p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.dawn-westcott-figure .history-card-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.dawn-grade-ladder {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
}

.dawn-grade-ladder > div {
    display: grid;
    padding: 1rem;
    border: 1px solid rgba(136, 103, 36, 0.27);
    background: rgba(255, 252, 246, 0.72);
    gap: 0.2rem;
}

.dawn-grade-ladder span {
    color: var(--wine);
    font-family: var(--serif);
    font-size: 1.55rem;
}

.dawn-grade-ladder strong {
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.76rem;
    letter-spacing: 0.09em;
}

.dawn-grade-ladder small {
    color: var(--muted);
}

.dawn-grade-ladder i {
    color: var(--gold-dark);
    font-style: normal;
}

.dawn-curriculum,
.dawn-one-card-many-worlds,
.dawn-dispersal {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(227, 201, 128, 0.14);
    border-radius: 1rem;
    background: linear-gradient(145deg, #342522, #1c1320);
    box-shadow: var(--shadow);
    gap: 0.55rem;
}

.dawn-curriculum span,
.dawn-curriculum strong,
.dawn-one-card-many-worlds span,
.dawn-one-card-many-worlds strong,
.dawn-dispersal span,
.dawn-dispersal strong,
.dawn-dispersal b {
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(227, 201, 128, 0.22);
    color: rgba(255, 252, 246, 0.78);
    font-family: var(--serif);
    font-size: 0.82rem;
    font-weight: 500;
}

.dawn-curriculum strong,
.dawn-one-card-many-worlds span,
.dawn-dispersal b {
    border-color: var(--gold-light);
    background: rgba(227, 201, 128, 0.14);
    color: var(--gold-light);
    font-size: 1.05rem;
}

.dawn-one-card-many-worlds i,
.dawn-dispersal i {
    color: var(--gold-light);
    font-style: normal;
}

.dawn-ritual-figure {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.18);
    border-radius: 1rem;
    background: #211820;
    box-shadow: var(--shadow);
}

.dawn-ritual-figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
}

.dawn-ritual-figure figcaption {
    padding: 1.5rem;
    border-top: 1px solid rgba(227, 201, 128, 0.15);
    color: rgba(255, 252, 246, 0.74);
}

.dawn-ritual-figure figcaption strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.18rem;
    font-weight: 500;
}

.dawn-ritual-figure figcaption p {
    margin: 0;
}

.dawn-correspondence-map {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 50% 50% 1rem 1rem;
    background: radial-gradient(circle at center, #4a2834, #211820 68%);
    box-shadow: var(--shadow);
    gap: 0.55rem;
}

.dawn-correspondence-map strong,
.dawn-correspondence-map span {
    display: grid;
    min-height: 4.2rem;
    padding: 0.7rem;
    place-items: center;
    border: 1px solid rgba(227, 201, 128, 0.2);
    color: rgba(255, 252, 246, 0.78);
    font-family: var(--serif);
    text-align: center;
}

.dawn-correspondence-map strong {
    grid-column: 1 / -1;
    border-color: var(--gold-light);
    color: var(--gold-light);
    font-size: 1.4rem;
    font-weight: 500;
}

.dawn-suit-elements {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(136, 103, 36, 0.3);
    border-radius: 1rem;
    background: rgba(255, 252, 246, 0.72);
    box-shadow: var(--shadow-soft);
}

.dawn-suit-elements > div {
    display: grid;
    min-height: 8.5rem;
    padding: 1rem;
    place-content: center;
    border-right: 1px solid rgba(136, 103, 36, 0.2);
    border-bottom: 1px solid rgba(136, 103, 36, 0.2);
    gap: 0.25rem;
    text-align: center;
}

.dawn-suit-elements > div:nth-child(2n) {
    border-right: 0;
}

.dawn-suit-elements > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.dawn-suit-elements strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
}

.dawn-suit-elements small {
    color: var(--wine);
}

.dawn-women-callout {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-left: 4px solid var(--wine);
    background: linear-gradient(90deg, rgba(111, 36, 55, 0.1), rgba(255, 252, 246, 0.45));
}

.dawn-women-callout strong {
    display: block;
    margin: 0.5rem 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 500;
}

.dawn-women-callout p {
    margin: 0;
}

.dawn-members {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
}

.dawn-members > article {
    display: grid;
    margin: 0 0 0.8rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(227, 201, 128, 0.16);
    border-radius: 0.8rem;
    background: linear-gradient(145deg, #342522, #1c1320);
    box-shadow: var(--shadow-soft);
    gap: 0.55rem;
}

.dawn-members > article:last-child {
    margin-bottom: 0;
}

.dawn-members strong {
    display: block;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 500;
}

.dawn-members p {
    margin: 0.35rem 0 0;
    color: rgba(255, 252, 246, 0.58);
    font-size: 0.92rem;
    line-height: 1.75;
}

.dawn-two-branches {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    text-align: center;
}

.dawn-two-branches .root {
    display: grid;
    width: min(100%, 20rem);
    margin: 0 auto 2.5rem;
    padding: 1.2rem;
    position: relative;
    border: 1px solid var(--gold-dark);
    background: #211820;
    gap: 0.25rem;
}

.dawn-two-branches .root::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 2.5rem;
    background: rgba(136, 103, 36, 0.6);
    content: "";
}

.dawn-two-branches .root strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.25rem;
}

.dawn-two-branches .root small {
    color: rgba(255, 252, 246, 0.65);
}

.dawn-two-branches .branches {
    display: grid;
    gap: 0.8rem;
}

.dawn-two-branches .branches p {
    display: grid;
    margin: 0;
    padding: 1.25rem;
    border: 1px solid rgba(136, 103, 36, 0.28);
    background: rgba(255, 252, 246, 0.72);
    gap: 0.25rem;
}

.dawn-two-branches .branches strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
}

.dawn-two-branches .branches small {
    color: var(--muted);
}

.dawn-lifespan {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    grid-template-columns: auto minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr) auto;
    align-items: center;
    border-block: 1px solid rgba(136, 103, 36, 0.4);
    color: var(--ink);
    font-family: var(--serif);
    gap: 0.6rem;
    text-align: center;
}

.dawn-lifespan i {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.dawn-lifespan strong {
    color: var(--wine);
    font-weight: 500;
}

.dawn-crossroads {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    align-items: center;
    border-radius: 1rem;
    background: radial-gradient(circle at center, #4a2834, #211820 72%);
    box-shadow: var(--shadow);
    gap: 1rem;
}

.dawn-crossroads > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.dawn-crossroads span {
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(227, 201, 128, 0.2);
    color: rgba(255, 252, 246, 0.76);
    font-family: var(--serif);
    font-size: 0.78rem;
}

.dawn-crossroads > strong {
    padding: 1rem;
    border: 1px solid var(--gold-light);
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-align: center;
}

.waite-history-title {
    font-size: clamp(2rem, 5vw, 3.3rem) !important;
    line-height: 1.35 !important;
}

.waite-history-article .history-card-fan img {
    height: 24rem;
    object-fit: cover;
    object-position: center top;
}

.waite-history-article .history-card-fan img:nth-child(2) {
    filter: sepia(0.15) contrast(1.04);
}

.waite-identity,
.waite-position,
.waite-final-balance {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(136, 103, 36, 0.28);
    border-radius: 1rem;
    background: rgba(255, 252, 246, 0.72);
    box-shadow: var(--shadow-soft);
    gap: 0.55rem;
}

.waite-identity span,
.waite-identity strong,
.waite-position span,
.waite-position b,
.waite-position strong,
.waite-final-balance span,
.waite-final-balance strong {
    padding: 0.7rem 0.85rem;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
}

.waite-identity span {
    border-bottom: 1px solid rgba(136, 103, 36, 0.35);
    color: var(--muted);
}

.waite-identity strong,
.waite-position strong,
.waite-final-balance strong {
    border: 1px solid var(--wine);
    background: rgba(111, 36, 55, 0.08);
    color: var(--wine);
    font-size: 1.05rem;
}

.waite-position b {
    color: var(--muted);
    font-size: 0.8rem;
}

.waite-position i,
.waite-final-balance i {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.78rem;
    font-style: normal;
}

.waite-life-line {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    grid-template-columns: auto minmax(1rem, 1fr) auto minmax(1rem, 1fr) auto;
    align-items: center;
    border-block: 1px solid rgba(136, 103, 36, 0.4);
    color: var(--ink);
    font-family: var(--serif);
    gap: 0.6rem;
    text-align: center;
}

.waite-life-line i {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.waite-life-line strong {
    color: var(--wine);
    font-weight: 500;
}

.waite-life-line small {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.68rem;
}

.waite-portrait-figure .history-card-stage img,
.waite-cups-figure .history-card-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.waite-tension,
.waite-deck-need,
.waite-card-transition,
.waite-name-equation,
.waite-two-layers {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    align-items: stretch;
    gap: 0.65rem;
    text-align: center;
}

.waite-tension span,
.waite-tension strong,
.waite-deck-need > div,
.waite-card-transition > div,
.waite-name-equation > div,
.waite-two-layers > div {
    display: grid;
    min-height: 6.5rem;
    padding: 1rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.28);
    background: rgba(255, 252, 246, 0.72);
    color: var(--ink);
    font-family: var(--serif);
    gap: 0.25rem;
}

.waite-tension strong,
.waite-two-layers > div:last-child {
    border-color: rgba(227, 201, 128, 0.25);
    background: linear-gradient(145deg, #342522, #1c1320);
    color: var(--gold-light);
    font-weight: 500;
}

.waite-tension i,
.waite-deck-need > i,
.waite-card-transition > i,
.waite-name-equation > i,
.waite-two-layers > i {
    align-self: center;
    color: var(--gold-dark);
    font-style: normal;
}

.waite-deck-need span,
.waite-card-transition span,
.waite-name-equation span,
.waite-two-layers span {
    color: var(--gold-dark);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.waite-deck-need strong,
.waite-card-transition strong,
.waite-name-equation strong,
.waite-two-layers strong {
    color: inherit;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 500;
}

.waite-card-transition small {
    color: var(--muted);
}

.waite-sand-columns {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    align-items: center;
    gap: 0.65rem;
}

.waite-sand-columns > div {
    display: grid;
    min-height: 7.5rem;
    padding: 1rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.27);
    background: linear-gradient(180deg, rgba(227, 201, 128, 0.13), rgba(255, 252, 246, 0.65));
    gap: 0.25rem;
    text-align: center;
}

.waite-sand-columns span {
    color: var(--gold-dark);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.waite-sand-columns strong {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
}

.waite-sand-columns > div:last-child strong {
    color: var(--wine);
    font-size: 1.3rem;
}

.waite-sand-columns i {
    justify-self: center;
    color: var(--gold-dark);
    font-style: normal;
    transform: rotate(90deg);
}

.waite-symbol-stream,
.waite-next-portrait {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(227, 201, 128, 0.16);
    border-radius: 1rem;
    background: radial-gradient(circle at center, #4a2834, #211820 72%);
    box-shadow: var(--shadow);
    gap: 0.55rem;
}

.waite-symbol-stream span,
.waite-next-portrait span,
.waite-next-portrait strong {
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(227, 201, 128, 0.2);
    color: rgba(255, 252, 246, 0.76);
    font-family: var(--serif);
    font-weight: 500;
}

.waite-next-portrait strong {
    flex-basis: 100%;
    border-color: var(--gold-light);
    color: var(--gold-light);
    font-size: 1.2rem;
    text-align: center;
}

.waite-symbol-questions {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding-left: 1.2rem;
    border-left: 3px solid var(--wine);
}

.waite-symbol-questions p {
    margin: 0;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(136, 103, 36, 0.2);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1rem, 3vw, 1.18rem);
}

.waite-symbol-questions p:last-child {
    border-bottom: 0;
}

.waite-magician-figure {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.18);
    border-radius: 1rem;
    background: #211820;
    box-shadow: var(--shadow);
}

.waite-magician-figure img {
    width: min(100%, 25rem);
    height: auto;
    margin: 0 auto;
}

.waite-magician-figure figcaption {
    padding: 1.5rem;
    border-top: 1px solid rgba(227, 201, 128, 0.15);
    color: rgba(255, 252, 246, 0.72);
}

.waite-magician-figure figcaption span {
    color: var(--gold-dark);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.waite-magician-figure figcaption strong {
    display: block;
    margin: 0.45rem 0;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
}

.waite-magician-figure figcaption p {
    margin: 0 0 0.8rem;
}

.smith-history-title {
    max-width: 12em;
    font-size: clamp(1.8rem, 4.35vw, 3.05rem) !important;
    line-height: 1.42 !important;
}

.smith-history-article .history-card-fan img {
    height: 24rem;
    object-fit: cover;
    object-position: center top;
}

.smith-history-article .history-card-fan img:first-child {
    object-position: 47% top;
}

.smith-history-article .history-card-fan img:nth-child(2) {
    filter: sepia(0.22) contrast(1.04);
}

.smith-name-mark {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: clamp(1.25rem, 5vw, 2rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(227, 201, 128, 0.18);
    border-radius: 1rem;
    background: radial-gradient(circle at 75% 50%, #4b2b3a, #211820 70%);
    box-shadow: var(--shadow);
    color: rgba(255, 252, 246, 0.62);
    font-family: var(--serif);
    gap: 0.45rem;
    letter-spacing: 0.08em;
    text-align: center;
}

.smith-name-mark span,
.smith-name-mark strong {
    padding: 0.75rem 0.35rem;
    border-bottom: 1px solid rgba(227, 201, 128, 0.16);
}

.smith-name-mark strong {
    border-color: var(--gold-light);
    color: var(--gold-light);
    font-size: 1.15rem;
}

.smith-name-mark small {
    grid-column: 1 / -1;
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
}

.smith-portrait-figure .history-card-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.smith-creative-fields,
.smith-stage-actions {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.35rem;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid rgba(136, 103, 36, 0.27);
    border-radius: 1rem;
    background: rgba(255, 252, 246, 0.7);
    gap: 0.55rem;
}

.smith-creative-fields span,
.smith-stage-actions span {
    padding: 0.62rem 0.78rem;
    border: 1px solid rgba(136, 103, 36, 0.23);
    border-radius: 99rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 0.82rem;
}

.smith-stage-actions {
    border-color: rgba(227, 201, 128, 0.16);
    background: radial-gradient(circle at center, #4a2834, #211820 72%);
    box-shadow: var(--shadow);
}

.smith-stage-actions span {
    border-color: rgba(227, 201, 128, 0.2);
    color: rgba(255, 252, 246, 0.8);
}

.smith-story-process,
.smith-music-flow,
.smith-collaboration,
.smith-deck-count {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    align-items: stretch;
    gap: 0.65rem;
    text-align: center;
}

.smith-story-process > span,
.smith-story-process > strong,
.smith-music-flow > span,
.smith-music-flow > strong,
.smith-collaboration > div,
.smith-deck-count > div {
    display: grid;
    min-height: 6.5rem;
    padding: 1rem;
    place-content: center;
    border: 1px solid rgba(136, 103, 36, 0.28);
    background: rgba(255, 252, 246, 0.72);
    color: var(--ink);
    font-family: var(--serif);
    gap: 0.28rem;
}

.smith-story-process > strong,
.smith-music-flow > strong,
.smith-collaboration > div:last-child,
.smith-deck-count > div:last-child {
    border-color: rgba(227, 201, 128, 0.24);
    background: linear-gradient(145deg, #3b2930, #1c1320);
    color: var(--gold-light);
    font-weight: 500;
}

.smith-story-process > i,
.smith-music-flow > i,
.smith-collaboration > i,
.smith-deck-count > i {
    align-self: center;
    color: var(--gold-dark);
    font-style: normal;
}

.smith-artwork-figure .history-card-stage img,
.smith-five-cups-figure .history-card-stage img {
    width: auto;
    max-width: 100%;
    height: min(35rem, 68vw);
    object-fit: contain;
}

.smith-moon-figure .history-card-stage img {
    height: min(38rem, 76vw);
}

.smith-cups-evolution {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    align-items: center;
    gap: 0.75rem;
}

.smith-cups-evolution > figure {
    display: grid;
    margin: 0;
    padding: 1rem;
    justify-items: center;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 0.8rem;
    background: rgba(255, 252, 246, 0.72);
    gap: 0.7rem;
}

.smith-cups-evolution > figure > span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.66rem;
    letter-spacing: 0.11em;
}

.smith-cups-evolution img {
    width: auto;
    height: 18rem;
    border: 1px solid rgba(136, 103, 36, 0.2);
    box-shadow: 0 14px 25px rgba(36, 25, 45, 0.16);
}

.smith-cups-evolution figcaption {
    display: grid;
    color: var(--ink);
    font-family: var(--serif);
    gap: 0.2rem;
    text-align: center;
}

.smith-cups-evolution figcaption small {
    color: var(--muted);
    font-family: var(--sans);
}

.smith-cups-evolution > i {
    justify-self: center;
    color: var(--gold-dark);
    font-style: normal;
    transform: rotate(90deg);
}

.smith-sola-note strong {
    color: var(--gold-light);
}

.smith-collaboration span,
.smith-collaboration small {
    color: var(--gold-dark);
    font-family: var(--sans);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smith-collaboration strong {
    color: inherit;
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 500;
}

.smith-collaboration small {
    color: var(--muted);
    letter-spacing: 0;
    text-transform: none;
}

.smith-collaboration > div:last-child span,
.smith-collaboration > div:last-child small {
    color: rgba(255, 252, 246, 0.65);
}

.smith-deck-count strong {
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(2rem, 7vw, 3.25rem);
    font-weight: 500;
}

.smith-deck-count span {
    color: var(--muted);
    font-family: var(--serif);
}

.smith-deck-count > div:last-child strong {
    color: var(--gold-light);
}

.smith-deck-count > div:last-child span {
    color: rgba(255, 252, 246, 0.68);
}

.smith-letter-quote {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: clamp(1.6rem, 6vw, 3rem);
    border: 1px solid rgba(227, 201, 128, 0.18);
    border-radius: 1rem;
    background: radial-gradient(circle at 20% 20%, #4d2a37, #201720 70%);
    box-shadow: var(--shadow);
    text-align: center;
}

.smith-letter-quote p {
    margin: 0;
    color: var(--gold-light) !important;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 5vw, 2.4rem);
    font-style: italic;
    line-height: 1.5 !important;
}

.smith-letter-quote footer {
    margin-top: 0.85rem;
    color: rgba(255, 252, 246, 0.62);
    font-size: 0.72rem;
}

.smith-name-recovery {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(136, 103, 36, 0.26);
    border-radius: 1rem;
    background: rgba(255, 252, 246, 0.72);
}

.smith-name-recovery > span,
.smith-name-recovery > strong {
    padding: 1.35rem 0.5rem;
    border-right: 1px solid rgba(136, 103, 36, 0.2);
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
    text-align: center;
}

.smith-name-recovery > strong {
    border-right: 0;
    background: var(--night);
    color: var(--gold-light);
}

.smith-name-recovery small {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.64rem;
}

.smith-name-recovery strong small {
    color: rgba(255, 252, 246, 0.62);
}

.smith-meaning-line {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    overflow: hidden;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 1rem;
}

.smith-meaning-line > span,
.smith-meaning-line > strong {
    display: grid;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(136, 103, 36, 0.18);
    background: rgba(255, 252, 246, 0.68);
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
    gap: 0.2rem;
}

.smith-meaning-line > strong {
    border-bottom: 0;
    background: var(--night);
    color: var(--gold-light);
}

.smith-meaning-line small {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.68rem;
}

.smith-meaning-line strong small {
    color: rgba(255, 252, 246, 0.62);
}

@media (min-width: 700px) {
    .history-hero {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
    }

    .history-hero-scene {
        min-height: 40rem;
    }

    .history-title-break {
        display: block;
    }

    .history-hero h1 span {
        white-space: nowrap;
    }

    .history-timeline {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }

    .history-timeline i {
        align-self: center;
        transform: none;
    }

    .history-suits {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .history-card-figure {
        grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
    }

    .history-card-figure-reverse .history-card-stage {
        order: 2;
    }

    .history-card-figure-reverse figcaption {
        order: 1;
    }

    .history-series-nav {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: stretch;
    }

    .history-series-nav-next {
        text-align: right;
    }

    .marseille-place-line {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }

    .marseille-place-line i {
        transform: none;
    }

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

    .marseille-discovery p {
        border-right: 1px solid rgba(227, 201, 128, 0.16);
        border-bottom: 0;
    }

    .marseille-discovery p:last-child {
        border-right: 0;
    }

    .marseille-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marseille-fool-rule {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .game-trick-diagram,
    .game-cosmos-line {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }

    .game-trick-diagram > i,
    .game-cosmos-line > i {
        transform: none;
    }

    .game-trump-scale {
        grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
        align-items: center;
    }

    .game-trump-scale > div {
        min-height: 18rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(2rem, 1fr) auto minmax(2rem, 1fr) auto;
    }

    .game-trump-scale > div i {
        width: 1px;
        height: 100%;
        justify-self: center;
        background: linear-gradient(180deg, transparent, var(--gold-dark), transparent);
    }

    .game-deck-equation {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .game-major-structure {
        grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr);
    }

    .game-suit-ranks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game-suit-ranks div {
        border-right: 1px solid rgba(227, 201, 128, 0.15);
        border-bottom: 0;
    }

    .game-suit-ranks div:last-child {
        border-right: 0;
    }

    .game-fool-focus {
        grid-template-columns: minmax(17rem, 0.85fr) minmax(0, 1.15fr);
    }

    .game-fool-focus figcaption {
        border-top: 0;
        border-left: 1px solid rgba(227, 201, 128, 0.16);
    }

    .divination-pivot-diagram,
    .divination-before-after,
    .divination-centuries {
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
    }

    .divination-source-flow,
    .divination-publication-line {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }

    .divination-pivot-diagram > i,
    .divination-source-flow > i,
    .divination-before-after > i,
    .divination-publication-line > i,
    .divination-centuries > i {
        transform: none;
    }

    .divination-hieroglyph-timeline {
        grid-template-columns: 1fr minmax(2rem, 0.4fr) 1fr minmax(2rem, 0.4fr) 1fr;
        align-items: center;
    }

    .divination-hieroglyph-timeline > i {
        width: 100%;
        min-height: 1px;
    }

    .history-feature-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .divination-etteilla-figure {
        display: grid;
        grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
    }

    .divination-etteilla-figure figcaption {
        align-content: center;
        border-top: 0;
        border-left: 1px solid rgba(227, 201, 128, 0.16);
    }

    .divination-two-paths .branch {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .divination-two-paths .branch::before {
        position: absolute;
        top: -1.25rem;
        right: 25%;
        left: 25%;
        height: 1px;
        background: rgba(136, 103, 36, 0.58);
        content: "";
    }

    .magic-system-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .magic-correspondence-cloud {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .magic-creation-equation,
    .magic-twenty-two-equation,
    .magic-history-separation {
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
    }

    .magic-influence-line {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }

    .magic-creation-equation > i,
    .magic-twenty-two-equation > i,
    .magic-history-separation > i,
    .magic-influence-line > i {
        transform: none;
    }

    .magic-symbol-figure {
        display: grid;
        grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
    }

    .magic-symbol-figure figcaption {
        align-content: center;
        border-top: 0;
        border-left: 1px solid rgba(227, 201, 128, 0.16);
    }

    .magic-human-questions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .magic-possibility-scale {
        grid-template-columns: 1fr minmax(2rem, 0.35fr) auto minmax(2rem, 0.35fr) 1fr;
    }

    .magic-possibility-scale i {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
    }

    .dawn-founders > article,
    .dawn-members > article {
        grid-template-columns: 9rem minmax(0, 1fr);
        align-items: start;
        gap: 1.4rem;
    }

    .dawn-grade-ladder {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    }

    .dawn-grade-ladder i {
        transform: rotate(90deg);
    }

    .dawn-ritual-figure {
        grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    }

    .dawn-ritual-figure figcaption {
        align-content: center;
        border-top: 0;
        border-left: 1px solid rgba(227, 201, 128, 0.15);
    }

    .dawn-correspondence-map {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-radius: 12rem 12rem 1rem 1rem;
    }

    .dawn-suit-elements {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dawn-suit-elements > div,
    .dawn-suit-elements > div:nth-child(2n) {
        border-right: 1px solid rgba(136, 103, 36, 0.2);
        border-bottom: 0;
    }

    .dawn-suit-elements > div:last-child {
        border-right: 0;
    }

    .dawn-two-branches .branches {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dawn-two-branches .branches::before {
        position: absolute;
        top: -1.25rem;
        right: 25%;
        left: 25%;
        height: 1px;
        background: rgba(136, 103, 36, 0.6);
        content: "";
    }

    .dawn-crossroads {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .waite-tension,
    .waite-deck-need,
    .waite-card-transition,
    .waite-two-layers {
        grid-template-columns: 1fr auto 1fr;
    }

    .waite-name-equation {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .waite-sand-columns {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .waite-sand-columns i {
        transform: none;
    }

    .waite-magician-figure {
        grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    }

    .waite-magician-figure figcaption {
        align-content: center;
        border-top: 0;
        border-left: 1px solid rgba(227, 201, 128, 0.15);
    }

    .smith-story-process,
    .smith-music-flow,
    .smith-deck-count {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .smith-collaboration {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .smith-cups-evolution {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }

    .smith-cups-evolution > i {
        align-self: center;
        transform: none;
    }

    .smith-cups-evolution img {
        height: 20rem;
    }

    .smith-meaning-line {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .smith-meaning-line > span,
    .smith-meaning-line > strong {
        min-height: 6.5rem;
        align-content: center;
        border-right: 1px solid rgba(136, 103, 36, 0.18);
        border-bottom: 1px solid rgba(136, 103, 36, 0.18);
    }

    .smith-meaning-line > :nth-child(3n) {
        border-right: 0;
    }

    .smith-meaning-line > :nth-last-child(-n + 3) {
        border-bottom: 0;
    }
}

@media (max-width: 420px) {
    .history-card-fan {
        height: 25rem;
    }

    .history-hero-scene {
        min-height: 31rem;
    }

    .history-card-stage {
        min-height: 27rem;
    }

    .history-equation {
        gap: 0.3rem;
    }

    .history-equation span,
    .history-equation strong {
        font-size: 1.75rem;
    }
}

/* Episode 9 uses a light rights notice inside the shared dark-note component. */
.thoth-history-article .history-context-note.thoth-rights-note {
    border-color: rgba(32, 102, 105, 0.32);
    background: linear-gradient(135deg, #e6f2ee, #fffaf0);
    color: var(--ink);
}

.thoth-history-article .history-context-note.thoth-rights-note .eyebrow {
    color: #206669;
}

.thoth-history-article .history-context-note.thoth-rights-note p,
.thoth-history-article .history-context-note.thoth-rights-note p:last-child {
    color: var(--ink);
}

.thoth-history-article .history-context-note.thoth-rights-note a {
    color: var(--wine);
}

/* Episode 9's other context note keeps the shared dark treatment. */
.thoth-history-article .history-context-note:not(.thoth-rights-note) > p:not(.eyebrow) {
    color: rgba(255, 252, 246, 0.84);
}

.thoth-history-article .history-context-note:not(.thoth-rights-note) > p:not(.eyebrow) strong {
    color: #fffaf0;
}

.thoth-history-article .history-context-note:not(.thoth-rights-note) > a {
    color: var(--gold-light);
}

/* Part 10: Tarot reaches the modern age. */
.modern-history-title {
    max-width: none;
    font-size: clamp(2.3rem, 3.7vw, 3.25rem);
    line-height: 1.18;
}

.modern-history-title-en {
    font-size: clamp(2.55rem, 4vw, 3.5rem);
}

.modern-hero-scene {
    width: 100%;
    min-width: 0;
    min-height: 40rem;
    padding: 1.8rem clamp(1.15rem, 2.5vw, 2rem) 5.1rem;
    grid-template-rows: auto minmax(20rem, 1fr) auto auto;
    gap: 0.75rem;
    background:
        radial-gradient(circle at 50% 42%, rgba(236, 205, 119, 0.2), transparent 11rem),
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(145deg, #163b4a, #1f5e68 46%, #171623);
    background-size: auto, 3rem 3rem, 3rem 3rem, auto;
}

.modern-hero-scene::before,
.modern-hero-scene::after {
    position: absolute;
    border: 1px solid rgba(236, 205, 119, 0.18);
    border-radius: 50%;
    content: "";
}

.modern-hero-scene::before {
    width: min(26rem, 88%);
    aspect-ratio: 1;
}

.modern-hero-scene::after {
    width: min(19rem, 64%);
    aspect-ratio: 1;
}

.modern-hero-kicker {
    position: relative;
    z-index: 3;
    display: flex;
    width: 72%;
    margin: 0.85rem auto 0;
    align-items: center;
    color: rgba(255, 252, 246, 0.72);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    gap: 0.65rem;
}

.modern-hero-kicker i {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(236, 205, 119, 0.18), rgba(236, 205, 119, 0.75), rgba(236, 205, 119, 0.18));
}

.modern-hero-card-fan {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(100%, 27rem);
    min-width: 0;
    min-height: 0;
    padding: 0.7rem 0.35rem 0.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 0.5rem;
}

.modern-hero-card {
    position: relative;
    width: 100%;
    padding: 0.32rem;
    border: 1px solid rgba(255, 246, 206, 0.52);
    border-radius: 0.38rem;
    background: #f3e9cf;
    box-shadow: 0 1.35rem 2.4rem rgba(4, 13, 19, 0.46);
    transform-origin: 50% 70%;
}

.modern-hero-card img {
    display: block;
    width: 100%;
    height: clamp(11.5rem, 21vw, 16.2rem);
    border-radius: 0.16rem;
    object-fit: cover;
    object-position: center;
}

.modern-hero-card > span {
    display: flex;
    padding: 0.42rem 0.28rem 0.18rem;
    align-items: baseline;
    justify-content: space-between;
    color: #372716;
    font-family: var(--serif);
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.modern-hero-card > span small {
    color: #8b6b22;
    font-size: 0.48rem;
}

.modern-hero-card-early {
    z-index: 1;
    transform: rotate(-5deg);
}

.modern-hero-card-middle {
    z-index: 3;
    transform: translateY(-0.65rem);
}

.modern-hero-card-late {
    z-index: 2;
    transform: rotate(5deg);
}

.modern-hero-years {
    position: relative;
    z-index: 4;
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 0.35rem;
}

.modern-hero-years span {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 3.65rem;
    padding: 0.45rem 0.18rem;
    border: 1px solid rgba(236, 205, 119, 0.25);
    background: rgba(9, 22, 29, 0.78);
    place-content: center;
    text-align: center;
}

.modern-hero-years span:not(:last-of-type)::after {
    position: absolute;
    width: 0.36rem;
    height: 1px;
    top: 50%;
    right: -0.36rem;
    background: rgba(236, 205, 119, 0.6);
    content: "";
}

.modern-hero-years span:nth-of-type(4) {
    border-color: rgba(236, 205, 119, 0.64);
    background: rgba(236, 205, 119, 0.14);
}

.modern-hero-years small {
    color: var(--gold-light);
    font-size: 0.46rem;
    letter-spacing: 0.13em;
}

.modern-hero-years strong {
    margin-top: 0.22rem;
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(0.48rem, 1.35vw, 0.67rem);
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
}

.modern-hero-years i {
    display: none;
}

.modern-hero-rings {
    position: relative;
    z-index: 4;
    display: flex;
    width: 100%;
    margin-top: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.modern-hero-rings b {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 252, 246, 0.18);
    border-radius: 999px;
    color: rgba(255, 252, 246, 0.76);
    font-size: 0.58rem;
    letter-spacing: 0.17em;
}

.modern-key-line,
.modern-evidence-balance {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(30, 93, 103, 0.2);
    border-radius: 0.9rem;
    background: rgba(232, 243, 239, 0.64);
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
}

.modern-key-line > span,
.modern-key-line > strong,
.modern-evidence-balance > span {
    display: grid;
    min-height: 7rem;
    padding: 1rem;
    place-content: center;
    color: var(--ink);
    font-family: var(--serif);
    text-align: center;
}

.modern-key-line > strong {
    background: #1f5e68;
    color: #fffaf0;
}

.modern-key-line > i,
.modern-evidence-balance > i {
    display: grid;
    padding-inline: 0.8rem;
    place-content: center;
    color: #8b6b22;
    font-style: normal;
}

.modern-access-list,
.modern-deck-voices,
.modern-network,
.modern-question-grid {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    gap: 0.7rem;
}

.modern-access-list,
.modern-question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modern-access-list span,
.modern-deck-voices span,
.modern-question-grid span {
    display: grid;
    min-height: 5rem;
    padding: 0.8rem;
    border: 1px solid rgba(30, 93, 103, 0.18);
    border-radius: 0.7rem;
    background: rgba(232, 243, 239, 0.58);
    place-content: center;
    color: var(--ink);
    font-family: var(--serif);
    text-align: center;
}

.modern-wide-figure {
    grid-template-columns: 1fr !important;
}

.modern-wide-figure .history-card-stage {
    min-height: 22rem;
    padding: 2.8rem 1rem 1rem;
    background: linear-gradient(145deg, #102b3d, #183e54 58%, #181827);
}

.modern-wide-figure .history-card-stage::before {
    width: 28rem;
    height: 28rem;
}

.modern-wide-figure .history-card-stage img {
    width: min(100%, 48rem);
    border-radius: 0.55rem;
    object-fit: cover;
}

.modern-wide-figure figcaption {
    padding: clamp(1.35rem, 5vw, 2.2rem);
}

.modern-jung-figure .history-card-stage {
    background: linear-gradient(145deg, #d5e4e1, #afc5c2 62%, #637d80);
}

.modern-jung-figure .history-card-stage img {
    width: min(21rem, 82%);
    border-color: rgba(255, 255, 255, 0.5);
    filter: sepia(0.08) contrast(1.04);
}

.modern-reaction-cloud {
    display: flex;
    margin: clamp(2rem, 6vw, 3rem) 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.modern-reaction-cloud span {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(136, 103, 36, 0.2);
    border-radius: 999px;
    background: rgba(255, 252, 246, 0.8);
    color: var(--wine);
    font-family: var(--serif);
}

.modern-fool-figure .history-card-stage {
    background: linear-gradient(145deg, #273f57, #172334 55%, #15131f);
}

.modern-fool-figure .history-card-stage img {
    width: min(18rem, 78%);
    max-height: 37rem;
    object-fit: contain;
}

.modern-history-article .history-context-note.modern-caution-note > p:not(.eyebrow),
.modern-history-article .history-context-note.modern-caution-note > p:not(.eyebrow) strong {
    color: rgba(255, 252, 246, 0.9);
}

.modern-evidence-balance > span {
    gap: 0.4rem;
}

.modern-evidence-balance small {
    color: #527176;
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.modern-evidence-balance strong {
    color: var(--ink);
    font-weight: 600;
}

.modern-evidence-balance > span:last-child {
    background: #1f5e68;
}

.modern-evidence-balance > span:last-child small,
.modern-evidence-balance > span:last-child strong {
    color: #fffaf0;
}

.modern-thought-flow {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.modern-thought-flow span {
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(30, 93, 103, 0.2);
    border-radius: 0.6rem;
    background: rgba(232, 243, 239, 0.66);
    color: var(--ink);
    font-family: var(--serif);
}

.modern-thought-flow i {
    color: #8b6b22;
    font-style: normal;
}

.modern-deck-voices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modern-network {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modern-network span {
    display: grid;
    min-height: 4.5rem;
    padding: 0.7rem;
    border: 1px solid rgba(227, 201, 128, 0.19);
    border-radius: 0.7rem;
    background: var(--night);
    place-content: center;
    color: var(--gold-light);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
}

.modern-network span:last-child {
    border-color: rgba(72, 160, 169, 0.65);
    background: #1f5e68;
    color: #fffaf0;
}

.modern-question-grid span {
    min-height: 6rem;
    border-color: rgba(136, 103, 36, 0.2);
    background: rgba(255, 250, 240, 0.84);
    color: var(--wine);
    font-size: 1.02rem;
}

.modern-history-article .history-takeaway.modern-takeaway h2,
.modern-history-article .history-takeaway.modern-takeaway p,
.modern-history-article .history-takeaway.modern-takeaway strong {
    opacity: 1;
}

.modern-history-article .history-takeaway.modern-takeaway p {
    color: rgba(255, 252, 246, 0.82);
}

.modern-human-wishes {
    display: grid;
    margin: clamp(2.5rem, 7vw, 4rem) 0;
    border: 1px solid rgba(30, 93, 103, 0.2);
    border-radius: 0.9rem;
    overflow: hidden;
}

.modern-human-wishes strong {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(30, 93, 103, 0.15);
    background: rgba(232, 243, 239, 0.62);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    line-height: 1.7;
    text-align: center;
}

.modern-human-wishes strong:last-child {
    border-bottom: 0;
}

@media (min-width: 760px) {
    .modern-hero-years {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .modern-access-list,
    .modern-question-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .modern-network {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .modern-human-wishes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .modern-human-wishes strong {
        border-right: 1px solid rgba(30, 93, 103, 0.15);
        border-bottom: 0;
    }

    .modern-human-wishes strong:last-child {
        border-right: 0;
    }
}

@media (max-width: 520px) {
    .modern-history-title-ja {
        font-size: clamp(2.1rem, 10vw, 2.7rem);
    }

    .modern-hero-scene {
        min-height: 37rem;
        padding-inline: 0.85rem;
    }

    .modern-hero-card {
        padding: 0.22rem;
    }

    .modern-hero-card > span {
        font-size: 0.52rem;
    }

    .modern-hero-card img {
        height: 11.5rem;
    }

    .modern-hero-years {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.28rem;
    }

    .modern-hero-years span {
        padding-inline: 0.08rem;
    }

    .modern-hero-years span:not(:last-of-type)::after {
        display: none;
    }

    .modern-key-line,
    .modern-evidence-balance {
        grid-template-columns: 1fr;
    }

    .modern-key-line > i,
    .modern-evidence-balance > i {
        min-height: 2.5rem;
        transform: rotate(90deg);
    }

    .modern-deck-voices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Walking through 600 years of Tarot — final part */
.finale-history-title {
    max-width: 100%;
    font-size: clamp(2.45rem, 5vw, 4.2rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.035em;
}

.finale-history-title span {
    white-space: normal !important;
}

.finale-history-article .story-article-lead {
    overflow-wrap: anywhere;
}

.finale-history-title-en {
    font-size: clamp(2.8rem, 5.5vw, 4.75rem) !important;
    line-height: 1.08 !important;
}

.finale-hero-scene {
    width: 100%;
    min-width: 0;
    min-height: 40rem;
    padding: 4.7rem clamp(1rem, 3vw, 1.6rem) 6.2rem;
    align-content: center;
    border-radius: 13rem 13rem 1rem 1rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(84, 159, 160, 0.26), transparent 15rem),
        radial-gradient(circle at 18% 16%, rgba(227, 201, 128, 0.16), transparent 9rem),
        linear-gradient(155deg, #183b43, #182735 48%, #1c1325 100%);
}

.finale-hero-scene::before {
    width: min(28rem, 86%);
    border-color: rgba(227, 201, 128, 0.22);
    box-shadow:
        0 0 0 3.2rem rgba(227, 201, 128, 0.035),
        0 0 0 6.4rem rgba(80, 157, 160, 0.035);
}

.finale-hero-kicker {
    position: absolute;
    z-index: 3;
    top: 2.7rem;
    right: 2rem;
    left: 2rem;
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    color: var(--gold-light) !important;
    font-family: var(--serif);
    font-size: 0.57rem !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    gap: 0.45rem;
}

.finale-hero-kicker i {
    width: 1.15rem;
    height: 1px;
    background: rgba(227, 201, 128, 0.45);
}

.finale-hero-journey {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    max-width: 25rem;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.finale-hero-frame {
    position: relative;
    display: grid;
    min-width: 0;
    padding: 0.45rem;
    overflow: hidden;
    border: 1px solid rgba(255, 245, 204, 0.34);
    border-radius: 0.45rem;
    background: rgba(13, 18, 28, 0.88);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
}

.finale-hero-frame img {
    display: block;
    width: 100%;
    height: 13rem;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 0.18rem;
}

.finale-hero-frame > span {
    display: flex;
    padding: 0.55rem 0.25rem 0.15rem;
    align-items: center;
    justify-content: space-between;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.finale-hero-frame small {
    color: var(--gold-light);
    font-size: 0.52rem;
    letter-spacing: 0.08em;
}

.finale-hero-frame-now {
    grid-column: 1 / -1;
    border-color: rgba(86, 179, 181, 0.58);
}

.finale-hero-frame-now img {
    height: 7.4rem;
    object-position: 50% 34%;
}

.finale-hero-question {
    position: absolute;
    z-index: 4;
    right: 1.4rem;
    bottom: 5.15rem;
    display: flex;
    align-items: center;
    color: #fffaf0;
    gap: 0.7rem;
}

.finale-hero-question > span {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border: 1px solid rgba(227, 201, 128, 0.62);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.45rem;
}

.finale-hero-question p {
    margin: 0;
    color: rgba(255, 250, 240, 0.78) !important;
    font-family: var(--serif);
    font-size: 0.5rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0.1em;
}

.finale-origin-figure .history-card-stage {
    background:
        radial-gradient(circle at 50% 42%, rgba(227, 201, 128, 0.2), transparent 11rem),
        linear-gradient(150deg, #4b3525, #251a20);
}

.finale-rws-figure .history-card-stage {
    background:
        radial-gradient(circle at 50% 42%, rgba(72, 160, 169, 0.2), transparent 11rem),
        linear-gradient(150deg, #1c4c55, #171522);
}

.finale-transition-line,
.finale-change-ribbon {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: 1.15rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(136, 103, 36, 0.24);
    border-radius: 0.8rem;
    background: rgba(255, 252, 246, 0.78);
    color: var(--ink);
    flex-wrap: wrap;
    font-family: var(--serif);
    gap: 0.65rem 0.9rem;
    text-align: center;
}

.finale-transition-line i,
.finale-change-ribbon i {
    color: var(--gold-dark);
    font-style: normal;
}

.finale-transition-line strong {
    color: var(--wine);
}

.finale-symbol-field,
.finale-question-cloud {
    display: flex;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: clamp(1.4rem, 4vw, 2rem);
    justify-content: center;
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 0.9rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(42, 123, 130, 0.3), transparent 12rem),
        var(--night);
    flex-wrap: wrap;
    gap: 0.65rem;
}

.finale-symbol-field span,
.finale-question-cloud span {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(227, 201, 128, 0.34);
    border-radius: 999px;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: 0.82rem;
}

.finale-change-ribbon span {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(30, 93, 103, 0.09);
    color: var(--ink);
}

.finale-chance-statement {
    display: grid;
    margin: clamp(2.5rem, 7vw, 4rem) 0;
    padding: clamp(2rem, 6vw, 3.2rem) 1rem;
    justify-items: center;
    border-block: 1px solid rgba(136, 103, 36, 0.34);
    color: var(--ink);
    text-align: center;
}

.finale-chance-statement > span {
    color: var(--gold-dark);
    font-size: 1.1rem;
}

.finale-chance-statement strong {
    margin-top: 0.8rem;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    line-height: 1.65;
}

.finale-chance-statement p {
    margin: 0.35rem 0 0;
    color: var(--ink) !important;
    font-family: var(--serif);
}

.finale-realisation-grid,
.finale-lens-grid,
.finale-people-list {
    display: grid;
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    gap: 0.7rem;
}

.finale-realisation-grid span {
    display: grid;
    min-height: 5.4rem;
    padding: 1rem;
    place-items: center;
    border: 1px solid rgba(30, 93, 103, 0.18);
    border-radius: 0.75rem;
    background: rgba(232, 243, 239, 0.7);
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.75;
    text-align: center;
}

.finale-people-list > p {
    position: relative;
    margin: 0 !important;
    padding: 1.15rem 1.15rem 1.15rem 4.4rem;
    border: 1px solid rgba(30, 93, 103, 0.18);
    border-radius: 0.75rem;
    background: rgba(232, 243, 239, 0.7);
    color: var(--ink) !important;
    font-family: var(--serif);
    line-height: 1.75 !important;
}

.finale-people-list > p > span {
    position: absolute;
    top: 1.15rem;
    left: 1rem;
    width: 2.65rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(136, 103, 36, 0.35);
    color: var(--gold-dark);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.finale-lens-grid span {
    display: grid;
    min-height: 9rem;
    padding: 1.2rem;
    place-content: center;
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 0.75rem;
    background: var(--night);
    text-align: center;
}

.finale-lens-grid small {
    color: var(--gold-light);
    font-size: 0.55rem;
    letter-spacing: 0.16em;
}

.finale-lens-grid strong {
    margin-top: 0.35rem;
    color: #fffaf0;
    font-family: var(--serif);
    font-size: 1.45rem;
}

.finale-lens-grid p {
    margin: 0.25rem 0 0;
    color: rgba(255, 250, 240, 0.74) !important;
    font-size: 0.7rem !important;
}

.finale-command-list {
    margin: 2rem 0;
    padding: 1.2rem;
    border-left: 3px solid var(--wine);
    background: rgba(119, 39, 70, 0.055);
}

.finale-command-list p {
    margin: 0.5rem 0 !important;
    color: var(--ink) !important;
    font-family: var(--serif);
}

.finale-history-article .finale-you-quote {
    border-color: rgba(200, 164, 86, 0.42);
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.72), transparent 56%),
        linear-gradient(120deg, #f5e4b6, #fbf2d8 50%, #f2dfac);
    box-shadow:
        0 12px 30px rgba(136, 103, 36, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.finale-history-article .finale-you-quote::before {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    color: rgba(136, 103, 36, 0.55);
    content: "✦";
    font-size: 0.7rem;
    transform: translateX(-50%);
}

.finale-history-article .finale-you-quote p,
.finale-history-article .finale-you-quote strong {
    position: relative;
    z-index: 1;
    color: var(--wine) !important;
    opacity: 1;
}

.finale-answer-space {
    margin: clamp(2rem, 6vw, 3.5rem) 0;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid rgba(30, 93, 103, 0.22);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(232, 243, 239, 0.92), rgba(255, 252, 246, 0.92));
}

.finale-answer-space p {
    color: var(--ink) !important;
}

.finale-answer-space strong {
    color: var(--wine);
}

.finale-history-article .history-takeaway.finale-takeaway h2,
.finale-history-article .history-takeaway.finale-takeaway p,
.finale-history-article .history-takeaway.finale-takeaway strong,
.finale-history-article .history-takeaway.finale-takeaway span {
    opacity: 1;
}

.finale-history-article .history-takeaway.finale-takeaway h2,
.finale-history-article .history-takeaway.finale-takeaway p {
    color: #fffaf0;
}

.finale-ways {
    display: grid;
    margin-top: 1.2rem;
    gap: 0.55rem;
}

.finale-ways span {
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(227, 201, 128, 0.2);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.045);
    color: #fffaf0;
    font-family: var(--serif);
    line-height: 1.6;
}

.finale-closing-section {
    margin-top: clamp(4rem, 10vw, 7rem);
}

.finale-app-figure .history-card-stage {
    min-height: 24rem;
    background:
        radial-gradient(circle at 50% 45%, rgba(72, 160, 169, 0.22), transparent 15rem),
        linear-gradient(145deg, #183d45, #171522);
}

.finale-app-figure .history-card-stage img {
    width: min(42rem, 94%);
    border-radius: 0.55rem;
}

.finale-last-line {
    display: grid;
    margin: clamp(3rem, 8vw, 5rem) 0;
    padding: clamp(2.5rem, 8vw, 5rem) 1.2rem;
    justify-items: center;
    border-block: 1px solid rgba(136, 103, 36, 0.4);
    text-align: center;
}

.finale-last-line > span {
    color: var(--gold-dark);
}

.finale-last-line p {
    margin: 0.9rem 0 0;
    color: var(--wine) !important;
    font-family: var(--serif);
    font-size: clamp(1.65rem, 5vw, 2.55rem) !important;
    line-height: 1.65 !important;
}

.finale-series-end {
    margin: 0 auto clamp(3rem, 8vw, 5rem) !important;
    color: var(--ink) !important;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 4vw, 1.7rem) !important;
    line-height: 1.9 !important;
    text-align: center;
}

.finale-series-end cite {
    color: var(--wine);
    font-style: normal;
}

@media (min-width: 700px) {
    .finale-history-article .history-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
    }

    .finale-realisation-grid,
    .finale-lens-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .finale-people-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .finale-ways {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .finale-app-figure {
        grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
    }
}

@media (max-width: 699px) {
    .finale-history-article .history-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .finale-history-article .history-hero-copy,
    .finale-history-article .finale-hero-scene {
        width: 100%;
        max-width: calc(100vw - 2rem);
    }

    .finale-history-article .story-article-lead {
        width: 100%;
        max-width: calc(100vw - 2rem);
    }

    .finale-history-title-ja {
        font-size: clamp(2.25rem, 10vw, 3rem) !important;
    }

    .finale-hero-scene {
        min-height: 39rem;
    }
}

@media (max-width: 420px) {
    .finale-history-title-ja {
        font-size: clamp(2rem, 9.4vw, 2.45rem) !important;
        line-height: 1.24 !important;
    }

    .finale-history-title-en {
        font-size: clamp(2.45rem, 13vw, 3.35rem) !important;
    }

    .finale-hero-scene {
        min-height: 36rem;
        padding-inline: 0.75rem;
    }

    .finale-hero-frame img {
        height: 10.7rem;
    }

    .finale-hero-frame-now img {
        height: 6rem;
    }

    .finale-hero-frame > span {
        font-size: 0.5rem;
    }

    .finale-hero-question {
        right: 0.85rem;
    }
}
