/* Anion journal — colours and typography shared with Origins Of Omyt. */
:root {
    color-scheme: dark;
    --background: #0e100e;
    --surface: #1b1d19;
    --line: #48453a;
    --text: #c5bfb2;
    --heading: #ded7c9;
    --muted: #aaa497;
    --gold: #d0a15a;
    --bronze: #b9833e;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Verdana, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
::selection { background: #79613c; color: #fff5df; }
a { color: var(--gold); text-decoration: none; text-underline-offset: 5px; }
a:hover { color: #e4bd7c; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 2px; }
h1, h2, h3 { margin: 0; color: var(--heading); font-family: var(--serif); font-weight: 400; line-height: 1.18; text-wrap: balance; }
p { margin: 0 0 1em; }
strong { color: var(--heading); font-weight: 400; }
img { display: block; max-width: 100%; }
.site-wrap { width: min(1180px, calc(100% - 96px)); margin: 0 auto; }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 10px 18px; z-index: 20; background: var(--surface); border: 1px solid var(--gold); }
.skip-link:focus { top: 14px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 116px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 15px; color: var(--heading); }
.brand-mark { display: block; width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
.brand-name { font: 25px/1.15 var(--serif); letter-spacing: .17em; }
.brand-name > span { display: block; margin-top: 7px; font: 9px/1.4 var(--sans); letter-spacing: .075em; color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 12px; }
.site-header nav a { color: var(--muted); padding: 8px 0; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--heading); }
.site-header nav a[aria-current] { position: relative; }
.site-header nav a[aria-current]::after { position: absolute; bottom: -32px; left: 0; right: 0; height: 2px; background: var(--bronze); content: ''; }
.site-header nav a.game-link { color: var(--gold); border: 1px solid #62533d; border-radius: 4px; padding: 8px 14px; }
.game-link span { margin-left: 12px; }
.eyebrow { color: var(--gold); font-size: 10px; font-weight: 400; letter-spacing: .18em; line-height: 1.7; text-transform: uppercase; }
.tiny-diamond { display: inline-block; width: 5px; height: 5px; margin-right: 11px; border: 1px solid var(--gold); transform: rotate(45deg); vertical-align: 2px; }
.journal-intro { padding: 57px 0 34px; }
.journal-intro h1 { font-size: clamp(38px, 4.1vw, 54px); letter-spacing: -.025em; margin: 15px 0 17px; }
.journal-intro > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.85; }
.featured-post { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 390px; overflow: hidden; border: 1px solid #5d533f; border-radius: 8px; background: #151914; }
.featured-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 67% 52%; z-index: -2; }
.featured-post::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,17,14,.97) 0%, rgba(13,17,14,.88) 32%, rgba(13,17,14,.55) 56%, rgba(13,17,14,.04) 100%); z-index: -1; }
.featured-content { width: 60%; padding: 37px 43px 40px; }
.featured-label { margin: 0 0 26px; font-size: 9px; letter-spacing: .19em; text-transform: uppercase; color: #d4ad72; }
.featured-content h2 { font-size: clamp(29px, 3.2vw, 42px); max-width: 480px; margin: 13px 0 17px; letter-spacing: -.018em; }
.featured-content h2 a { color: #e3dccf; }
.featured-content h2 a:hover { color: #edd7b2; }
.featured-summary { max-width: 450px; color: #b9b5a8; font-size: 12px; line-height: 1.9; margin-bottom: 24px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 10px; color: var(--muted); line-height: 1.6; }
.category { color: var(--gold); }
.meta-dot { color: #797465; }
.reading-time { display: inline-flex; align-items: center; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 11px 18px; border: 1px solid #c18f4b; border-radius: 4px; background: var(--bronze); color: #14160f; font-size: 11px; font-weight: 700; line-height: 1.6; }
.button:hover { background: #cca058; border-color: #cca058; color: #10120d; }
.button span { font-size: 18px; line-height: 1; font-weight: 400; }
.journal-columns { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 76px; margin-top: 57px; align-items: start; padding-bottom: 67px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.section-heading h2 { font-size: 24px; }
.section-heading > span { font-size: 10px; color: var(--muted); }
.entry { padding: 26px 0 28px; border-bottom: 1px solid #30332b; }
.entry h3 { margin: 11px 0 12px; font-size: 25px; letter-spacing: -.01em; }
.entry h3 a { display: flex; justify-content: space-between; align-items: start; gap: 24px; color: var(--heading); }
.entry h3 a:hover { color: var(--gold); }
.entry h3 a > span { color: #8f7e60; font-family: var(--sans); font-size: 19px; padding-top: 3px; }
.entry > p { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 580px; margin-bottom: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 11px; }
.text-link:hover { text-decoration: underline; }
.about-panel { padding: 25px 25px 23px; border: 1px solid #454336; border-top: 2px solid #8e6c3c; border-radius: 4px; background: var(--surface); scroll-margin-top: 26px; }
.about-panel .eyebrow { font-size: 9px; letter-spacing: .14em; margin-bottom: 16px; }
.about-panel h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.015em; }
.small-rule { width: 30px; height: 1px; margin: 22px 0; background: #957342; }
.about-panel > p:not(.eyebrow) { font-size: 11px; line-height: 1.95; color: #b8b2a5; }
.about-panel .about-signature { margin-top: 22px; margin-bottom: 20px; }
.about-signature span { display: block; color: var(--gold); font-family: var(--serif); font-size: 18px; margin-top: 6px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0 30px; border-top: 1px solid var(--line); font-size: 10px; color: #9c978b; }
.site-footer p { margin: 0; }
.footer-separator { color: #6b675b; padding: 0 9px; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 28px; color: var(--muted); font-size: 10px; }
.pagination > span:last-child { text-align: right; }
.empty-journal { padding: 30px 0; color: var(--muted); font-size: 12px; }
.empty-state { padding: 110px 0 135px; min-height: 65vh; }
.empty-state h1 { font-size: clamp(36px, 5vw, 60px); margin: 15px 0 22px; }
.empty-state .button { margin-top: 15px; }
.article-page { padding-top: 30px; }
.back-link { color: var(--muted); }
.article-heading { max-width: 800px; margin: 45px auto 35px; }
.article-heading h1 { font-size: clamp(36px, 4.4vw, 56px); margin: 20px 0 24px; letter-spacing: -.025em; }
.article-summary { max-width: 730px; font-size: 17px; color: #bdb7ab; line-height: 1.75; }
.article-author { margin-top: 20px; font-size: 10px; color: var(--muted); }
.article-art { margin: 32px 0 48px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.article-art img { width: 100%; height: 325px; object-fit: cover; object-position: 65% 56%; }
.article-body { max-width: 730px; margin: 40px auto 65px; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.article-body > p { margin-bottom: 1.6em; }
.article-body h2 { font-size: 29px; margin: 1.6em 0 .75em; }
.article-body h3 { font-size: 23px; margin: 1.5em 0 .75em; }
.article-body strong { font-weight: 700; }
.article-body a { text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 1.6em; padding-left: 24px; }
.article-body li { padding-left: 6px; margin-bottom: .45em; }
.article-body blockquote { border-left: 2px solid #9e7a43; padding: 7px 0 7px 24px; margin: 28px 0; color: #c7b08b; font-family: var(--serif); font-size: 22px; line-height: 1.65; }
.article-body blockquote p { margin: 0; }
.article-body code { background: #22251e; border: 1px solid #454336; border-radius: 3px; padding: 2px 5px; color: #d9bd8e; font-size: .88em; }
.article-body pre { padding: 20px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font-size: 13px; line-height: 1.7; }
.article-body pre code { padding: 0; border: 0; background: none; }
.article-body figure { margin: 30px 0; }
.article-body figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.article-body hr { margin: 35px 0; border: 0; border-top: 1px solid var(--line); }
.more-entries { margin-bottom: 65px; }
.more-entries .section-heading h2 { font-size: 23px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-top: 26px; }
.related-entry h3 { margin-top: 12px; font-size: 24px; }
.related-entry h3 a { color: var(--heading); }
.related-entry h3 a:hover { color: var(--gold); }
.related-entry h3 span { color: var(--gold); padding-left: 8px; white-space: nowrap; }
@media (min-width: 1600px) { .site-wrap { width: min(1240px, calc(100% - 120px)); } .featured-post { min-height: 420px; } }
@media (max-width: 1000px) {
    .site-wrap { width: calc(100% - 56px); }
    .journal-columns { gap: 38px; grid-template-columns: minmax(0,1fr) 265px; }
    .featured-content { width: 68%; padding: 34px; }
    .featured-post { min-height: 375px; }
    .site-header nav { gap: 22px; }
}
@media (max-width: 760px) {
    .site-wrap { width: calc(100% - 40px); }
    .site-header { min-height: 102px; gap: 14px; }
    .brand-name { font-size: 22px; }
    .brand-name > span { font-size: 8px; letter-spacing: .02em; }
    .brand { gap: 10px; }
    .brand-mark { width: 64px; height: 64px; }
    .site-header nav { gap: 19px; font-size: 11px; }
    .site-header nav a[aria-current]::after { bottom: -26px; }
    .site-header nav a.game-link { border: 0; padding: 8px 0; }
    .game-link span { margin-left: 5px; }
    .journal-intro { padding-top: 38px; padding-bottom: 24px; }
    .journal-intro > p:last-child { font-size: 12px; }
    .featured-content { width: 78%; padding: 30px; }
    .featured-content h2 { font-size: 36px; }
    .featured-art { object-position: 70% center; }
    .featured-post::after { background: linear-gradient(90deg, rgba(13,17,14,.95), rgba(13,17,14,.76) 55%, rgba(13,17,14,.3)); }
    .journal-columns { grid-template-columns: 1fr; margin-top: 38px; gap: 38px; padding-bottom: 42px; }
    .about-panel { max-width: none; padding: 25px; }
    .about-panel h2 br { display: none; }
    .about-panel h2 br::after { content: ' '; }
    .about-panel h2 { max-width: 350px; }
    .about-panel > p:not(.eyebrow) { font-size: 12px; max-width: 540px; }
    .site-footer { align-items: start; font-size: 9px; }
    .article-heading { margin-top: 30px; }
    .article-heading h1 { font-size: 43px; }
    .article-summary { font-size: 15px; }
    .article-art img { height: 260px; }
    .article-body { font-size: 14px; }
    .article-body h2 { font-size: 27px; }
}
@media (max-width: 520px) {
    .site-header { flex-wrap: wrap; padding-top: 23px; padding-bottom: 16px; gap: 19px; }
    .site-header nav { width: 100%; justify-content: start; gap: 26px; }
    .site-header nav .game-link { margin-left: auto; }
    .site-header nav a[aria-current]::after { bottom: -17px; }
    .brand-name > span { font-size: 8px; letter-spacing: .08em; }
    .brand-mark { width: 64px; height: 64px; }
    .journal-intro h1 { font-size: 37px; }
    .eyebrow { font-size: 9px; letter-spacing: .12em; }
    .desktop-break { display: none; }
    .featured-post { min-height: 440px; align-items: end; }
    .featured-art { object-position: 65% center; }
    .featured-post::after { background: linear-gradient(0deg, rgba(13,17,14,.98), rgba(13,17,14,.9) 50%, rgba(13,17,14,.16)); }
    .featured-content { width: 100%; padding: 26px 23px; }
    .featured-label { margin-bottom: 22px; }
    .featured-content h2 { font-size: 33px; }
    .featured-summary { font-size: 11px; line-height: 1.85; }
    .post-meta { font-size: 9px; gap: 7px; }
    .featured-post .reading-time { display: none; }
    .section-heading h2 { font-size: 23px; }
    .entry h3 { font-size: 25px; }
    .site-footer { flex-direction: column; gap: 13px; }
    .footer-separator { padding: 0 5px; }
    .article-heading h1 { font-size: 37px; }
    .article-heading .post-meta .reading-time { display: none; }
    .article-art { margin-bottom: 30px; }
    .article-art img { height: 210px; }
    .article-body { margin-top: 30px; }
    .related-grid { grid-template-columns: 1fr; gap: 25px; }
    .related-entry + .related-entry { padding-top: 23px; border-top: 1px solid #30332b; }
    .more-entries .section-heading h2 { font-size: 22px; }
    .pagination { gap: 6px; font-size: 9px; }
    .pagination .text-link { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
