/* Lore Reloaded: The Record (navy and gold archive) */
:root {
    --gold: #E4BB69;
    --gold-hi: #F3D69B;
    --gold-line: rgba(228, 187, 105, 0.22);
    --gold-line-2: rgba(228, 187, 105, 0.35);
    --navy: #0B1529;
    --deep: #070D1A;
    --deepest: #060B17;
    --panel: #0D1830;
    --panel-2: #0A1326;
    --panel-hi: #101D38;
    --text: #F2EFE8;
    --text-2: #E9E6DD;
    --body: #C9C5BA;
    --soft: #B9B6AD;
    --muted: #8F8C84;
    --rule: rgba(242, 239, 232, 0.15);
    --canon: #5ED3C1;
    --commentary: #F0A43A;
    --theory: #B9A3FF;
    --serif: var(--gh-font-heading, 'Cinzel', Georgia, serif);
    --sans: var(--gh-font-body, 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif);
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
    --reading: 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--deep); color: var(--text-2); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
.site { min-height: 100vh; background: radial-gradient(ellipse 90% 40% at 50% 0%, #13213F 0%, var(--navy) 40%, var(--deep) 100%); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 4px; font: 700 14px/1.2 var(--sans); letter-spacing: 0.08em; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hi); color: var(--navy); }
.btn-line { border-color: rgba(242, 239, 232, 0.35); color: var(--text); background: transparent; font-weight: 600; }
.btn-line:hover { border-color: var(--gold); color: var(--text); }
.pill { border-radius: 999px; min-height: 44px; padding: 0 18px; font-size: 13px; font-weight: 600; }

/* Header */
.site-header { border-bottom: 1px solid var(--gold-line); position: relative; z-index: 5; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; color: var(--gold); }
.wordmark-top { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: 0.04em; }
.wordmark-sub { font-family: var(--serif); font-weight: 600; font-size: 11px; letter-spacing: 0.42em; }
.wordmark img { max-height: 46px; width: auto; }
.site-nav .nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.site-nav .nav a { color: var(--body); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.site-nav .nav a:hover, .site-nav .nav-current a { color: var(--text); border-bottom-color: var(--gold); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lore-plus-link { display: inline-flex; align-items: center; min-height: 44px; }
.lore-plus-link img { height: 50px; width: auto; }

/* Banner hero (home) */
.banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--gold-line); background: var(--deepest) url(../images/starfield.jpg) center / cover no-repeat; }
.banner-inner { position: relative; text-align: center; padding: 88px 24px 80px; display: flex; flex-direction: column; align-items: center; }
.banner-word { font-family: var(--serif); font-weight: 700; font-size: clamp(64px, 11vw, 120px); line-height: 1; letter-spacing: 0.04em; color: var(--gold); }
.banner-sub { display: flex; align-items: center; gap: 22px; margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 2.2vw, 24px); letter-spacing: 0.42em; color: var(--gold); }
.banner-sub::before, .banner-sub::after { content: ""; width: clamp(40px, 9vw, 120px); height: 1px; background: rgba(228, 187, 105, 0.45); }
.banner-tag { margin-top: 34px; font-family: var(--sans); font-weight: 600; font-size: clamp(14px, 1.6vw, 18px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.banner-line { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.banner-intro { margin-top: 26px; max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--body); }
.banner .btn-row { margin-top: 30px; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page head (The Record, tags) */
.page-head { padding-top: 72px; padding-bottom: 40px; }
.page-title { margin-top: 16px; font-family: var(--serif); font-weight: 700; font-size: clamp(48px, 8vw, 92px); line-height: 1; letter-spacing: 0.03em; color: var(--text); }
.page-lead { margin-top: 20px; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--body); }
.search-box { margin-top: 36px; width: 100%; min-height: 52px; padding: 0 18px; display: flex; align-items: center; background: var(--panel); border: 1px solid var(--gold-line-2); border-radius: 4px; color: var(--muted); font: 15px var(--mono); text-align: left; cursor: pointer; }
.search-box:hover { border-color: var(--gold); }
.tabs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid rgba(228, 187, 105, 0.3); }
.tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(228, 187, 105, 0.25); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--panel); color: var(--body); font: 600 13px var(--mono); letter-spacing: 0.1em; text-decoration: none; }
.tab:hover { color: var(--text); }
.tab.is-current { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Key to the record */
.key { display: flex; flex-wrap: wrap; gap: 24px; padding: 28px; border: 1px solid var(--gold-line); background: var(--panel-2); }
.key-intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.key-intro .eyebrow { font-size: 12px; letter-spacing: 0.22em; }
.key-title { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--text); }
.key-intro p { font-size: 15px; color: var(--soft); }
.key-grid { flex: 3 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.key-card { padding: 18px; background: var(--panel); border: 1px solid rgba(242, 239, 232, 0.1); display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.55; color: #D6D3CA; }
.claim-tag { align-self: flex-start; display: inline-block; padding: 5px 10px; border: 1.5px solid currentColor; font: 600 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.claim-canon { color: var(--canon); background: rgba(94, 211, 193, 0.1); }
.claim-commentary { color: var(--commentary); background: rgba(240, 164, 58, 0.1); }
.claim-theory { color: var(--theory); background: rgba(185, 163, 255, 0.1); }

/* Sections */
.section { padding-top: 0; padding-bottom: 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.section-title { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: 0.06em; color: var(--text); }
.section-note { font: 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
a.section-note:hover { color: var(--gold); }

/* Featured entry */
.featured { position: relative; display: flex; flex-wrap: wrap; border: 1px solid var(--gold-line-2); background: linear-gradient(180deg, var(--panel-hi) 0%, var(--navy) 100%); }
.featured-media { flex: 1 1 460px; min-height: 280px; border-right: 1px solid rgba(228, 187, 105, 0.2); background: repeating-linear-gradient(135deg, #0F1B33 0 14px, #12203C 14px 28px); display: block; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { flex: 1 1 420px; padding: 32px 36px 40px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.file-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.featured-title { font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--text); }
.featured-title a { color: inherit; text-decoration: none; }
.meta-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font: 13px var(--mono); }
.meta-grid div { border-top: 1px solid var(--rule); padding-top: 8px; }
.meta-grid dt { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.meta-grid dd { margin: 4px 0 0; color: var(--text-2); }
.featured-excerpt { font-size: 16px; line-height: 1.6; color: var(--body); }
.stamp { position: absolute; transform: rotate(-8deg); border: 2px solid rgba(228, 187, 105, 0.55); padding: 6px 12px; font: 600 12px var(--mono); letter-spacing: 0.24em; color: rgba(228, 187, 105, 0.7); pointer-events: none; }
.featured .stamp { right: 24px; bottom: 22px; }

/* Entry cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--gold-line); transition: border-color .15s; }
.card:hover { border-color: rgba(228, 187, 105, 0.6); }
.card-file { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--gold-line); font: 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.card-file .franchise { color: #A9A69D; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, #0F1B33 0 12px, #12203C 12px 24px); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.card-subject { font: 11px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.card-title { font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--text); }
.card-excerpt { font-size: 14px; line-height: 1.55; color: var(--soft); }
.card.is-restricted { background: linear-gradient(180deg, #14223F 0%, var(--panel) 100%); border-color: var(--gold); }
.card.is-restricted .card-file { border-bottom-color: rgba(228, 187, 105, 0.4); }
.card-badge { position: absolute; right: 12px; top: 12px; width: 34%; max-width: 120px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.card-unlock { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; border-radius: 4px; }

/* Dispatches */
.dispatch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dispatch { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; text-decoration: none; background: var(--panel-2); border: 1px solid var(--gold-line); border-left: 3px solid var(--gold); transition: border-color .15s; }
.dispatch:hover { border-color: rgba(228, 187, 105, 0.6); }
.dispatch-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font: 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.dispatch-meta .franchise { color: #A9A69D; }
.dispatch-title { font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--text); }
.dispatch-excerpt { font-size: 14px; line-height: 1.55; color: var(--soft); }

/* Newsletter band */
.signup-band { border-top: 1px solid var(--gold-line); background: var(--panel-2); }
.signup-inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.signup-copy { flex: 1 1 360px; }
.signup-title { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--text); }
.signup-form { flex: 1 1 420px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-row input { flex: 1 1 240px; min-height: 50px; padding: 0 16px; background: var(--panel); border: 1px solid var(--gold-line-2); border-radius: 4px; color: var(--text); font: 15px var(--sans); }
.signup-row input::placeholder { color: var(--muted); }
.signup-row .btn { min-height: 50px; }
.form-msg { display: none; margin-top: 10px; font-size: 14px; }
.signup-form.success .form-success { display: block; color: var(--canon); }
.signup-form.error .form-error { display: block; color: #FF8A7A; }
.signup-form.loading .btn { opacity: .6; }

/* Footer */
.site-footer { background: var(--panel-2); }
.footer-inner { padding-top: 20px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid rgba(242, 239, 232, 0.1); font: 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links .nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fine-print { padding-bottom: 32px; font-size: 12px; line-height: 1.6; color: #6F6C66; }

/* Entry page */
.crumbs { padding-top: 32px; font: 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs span { margin: 0 8px; }
.casefile { margin-top: 20px; border: 1px solid var(--gold-line-2); background: linear-gradient(180deg, var(--panel-hi) 0%, var(--navy) 100%); }
.casefile-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--gold-line); font: 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.casefile-body { position: relative; padding: 28px 24px 28px; }
.casefile-title { max-width: 860px; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.15; color: var(--text); }
.casefile .stamp { right: 20px; top: 26px; }
.casefile .meta-grid { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.casefile-media { margin-top: 24px; }
.casefile-media img { width: 100%; border: 1px solid var(--gold-line); }
.entry-layout { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; padding-bottom: 64px; }
.entry-main { flex: 999 1 560px; min-width: 0; }
.entry-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.summary { padding: 20px; border: 1px solid var(--gold-line-2); background: var(--panel-2); margin-bottom: 32px; }
.summary .eyebrow { font-size: 11px; }
.summary p { margin-top: 12px; font-family: var(--reading); font-size: 19px; line-height: 1.6; color: var(--text-2); }
.side-box { padding: 16px; border: 1px solid var(--gold-line); background: var(--panel); }
.side-box .eyebrow { font-size: 11px; }
.side-list { list-style: none; margin: 12px 0 0; padding: 0; }
.side-list li { border-top: 1px solid var(--rule); padding: 10px 0; }
.side-list a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.35; display: block; }
.side-list a:hover { color: var(--gold); }
.side-file { display: block; font: 10px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.side-box.plus { border-color: var(--gold); background: linear-gradient(180deg, #14223F 0%, var(--panel) 100%); }
.side-box.plus img { width: 96px; margin-bottom: 12px; }
.side-box.plus p { font-size: 14px; color: var(--body); }

/* Entry body (Ghost content) */
.gh-content { font-family: var(--reading); font-size: 19px; line-height: 1.7; color: var(--text-2); }
.gh-content > * + * { margin-top: 1.1em; }
.gh-content h2 { margin-top: 1.8em; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--text); }
.gh-content h3 { margin-top: 1.6em; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--text); }
.gh-content a { color: var(--gold); }
.gh-content blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 2px solid var(--gold); font-style: italic; color: var(--text); }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.gh-content figure { margin-left: 0; margin-right: 0; }
.gh-content figcaption { margin-top: 8px; font: 12px var(--mono); letter-spacing: 0.1em; color: var(--muted); text-align: center; }
.gh-content code { font-family: var(--mono); font-size: .85em; }
.gh-content .kg-embed-card { width: 100%; }
.gh-content .kg-embed-card iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--gold-line); }

/* Claim blocks: Callout cards. Green = canon fact, yellow = producer commentary, purple = argued theory.
   Write the claim, then a final line starting "CITED:" */
.gh-content .kg-callout-card { display: block; margin: 1.6em 0 0; padding: 18px 0 16px; background: none !important; border: 0; border-top: 1px solid var(--rule); border-radius: 0; }
.gh-content .kg-callout-emoji { display: none; }
.gh-content .kg-callout-text { font-family: var(--reading); font-size: 19px; line-height: 1.6; color: var(--text-2); }
.gh-content .kg-callout-card-green::before, .gh-content .kg-callout-card-yellow::before, .gh-content .kg-callout-card-purple::before { display: inline-block; margin-bottom: 12px; padding: 4px 8px; border: 1.5px solid currentColor; font: 600 11px var(--mono); letter-spacing: 0.16em; }
.gh-content .kg-callout-card-green::before { content: "CANON FACT"; color: var(--canon); background: rgba(94, 211, 193, 0.1); }
.gh-content .kg-callout-card-yellow::before { content: "PRODUCER COMMENTARY"; color: var(--commentary); background: rgba(240, 164, 58, 0.1); }
.gh-content .kg-callout-card-purple::before { content: "ARGUED THEORY"; color: var(--theory); background: rgba(185, 163, 255, 0.1); }
.gh-content .kg-callout-text em:last-child, .gh-content .kg-callout-text code { display: block; margin-top: 10px; font: normal 12px var(--mono); letter-spacing: 0.14em; color: var(--muted); }

/* Ghost editor widths (required) */
.kg-width-wide { position: relative; width: min(1040px, 100vw - 48px); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }

/* Pagination */
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 40px; font: 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pagination a { color: var(--gold); text-decoration: none; }

/* Plain pages */
.page-body { padding-top: 56px; padding-bottom: 72px; max-width: 760px; }
.error-page { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

@media (max-width: 700px) {
    .header-inner { justify-content: center; }
    .site-nav .nav { gap: 18px; justify-content: center; }
    .header-actions { width: 100%; justify-content: center; }
    .banner-inner { padding: 64px 20px 56px; }
    .featured-media { border-right: 0; border-bottom: 1px solid rgba(228, 187, 105, 0.2); min-height: 0; aspect-ratio: 16 / 9; }
    .featured-body { padding: 24px 20px 64px; }
    .featured-title { font-size: 26px; }
    .casefile .stamp { position: static; display: inline-block; margin-bottom: 16px; }
    .card-grid { grid-template-columns: 1fr; }
    .gh-content { font-size: 18px; }
}

/* Lore+ sheen and vault */
.sheen, .sheen-card .card-media { position: relative; overflow: hidden; }
.sheen::after, .sheen-card .card-media::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(105deg, transparent 0%, rgba(255, 240, 200, 0) 20%, rgba(255, 240, 200, 0.55) 50%, rgba(255, 240, 200, 0) 80%, transparent 100%); transform: skewX(-18deg); pointer-events: none; opacity: 0; }
.sheen:hover::after, .sheen:focus-visible::after, .sheen-card:hover .card-media::after, .sheen-card:focus-visible .card-media::after { opacity: 1; animation: sheen-sweep .9s ease-out forwards; }
@keyframes sheen-sweep { from { left: -60%; } to { left: 130%; } }
.lore-plus-link { border-radius: 6px; transition: transform .2s ease, filter .2s ease; }
.lore-plus-link:hover, .lore-plus-link:focus-visible { transform: translateY(-1px); filter: drop-shadow(0 0 10px rgba(228, 187, 105, 0.45)); }
.lore-plus-link.is-soon { cursor: default; }
.soon-tip { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); padding: 2px 8px; background: var(--deep); border: 1px solid var(--gold-line); color: var(--gold); font: 10px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.lore-plus-link.is-soon:hover .soon-tip, .lore-plus-link.is-soon:focus-visible .soon-tip { opacity: 1; }
.card-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(7, 13, 26, 0.72); color: var(--gold); font: 600 15px var(--serif); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transition: opacity .25s; z-index: 1; }
.sheen-card:hover .card-hover, .sheen-card:focus-visible .card-hover { opacity: 1; }
.sheen-card .card-media::after { z-index: 2; }
.sheen-card { transition: border-color .15s, box-shadow .25s; }
.sheen-card:hover, .sheen-card:focus-visible { box-shadow: 0 0 0 1px var(--gold), 0 8px 28px rgba(228, 187, 105, 0.18); }
.vault-sealed .card-media { background: radial-gradient(ellipse at 50% 40%, #1C2E52 0%, #0F1B33 60%, #0B1529 100%); }
.vault-sealed .card-badge { position: absolute; right: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42%; max-width: 160px; }
.vault-title { display: flex; align-items: center; gap: 12px; }
.vault-title img { height: 34px; width: auto; }
@media (prefers-reduced-motion: reduce) {
    .sheen:hover::after, .sheen:focus-visible::after, .sheen-card:hover .card-media::after, .sheen-card:focus-visible .card-media::after { animation: none; opacity: 0; }
}

/* 2.4.0: Lore+ badge never cropped inside cards */
.card-media img.card-badge { height: auto; object-fit: contain; }

/* 2.4.0: menu button (phones only) */
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--gold-line-2); border-radius: 4px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }
.site-header.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 2.4.0: phone layout. Everything here only applies under 700px wide; desktop is untouched. */
@media (max-width: 700px) {
    .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .wordmark { order: 1; }
    .wordmark-top { font-size: 22px; }
    .wordmark-sub { font-size: 9px; }
    .header-actions { display: contents; }
    .lore-plus-link { order: 2; margin-left: auto; min-height: 44px; }
    .lore-plus-link img { height: 34px; }
    .soon-tip { display: none; }
    .menu-toggle { order: 3; display: inline-flex; }
    .site-nav { order: 4; width: 100%; display: none; }
    .header-actions .pill { order: 5; display: none; flex: 1 1 0; }
    .site-header.is-open .site-nav { display: block; }
    .site-header.is-open .header-actions .pill { display: inline-flex; }
    .site-nav .nav { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--gold-line); }
    .site-nav .nav li { border-bottom: 1px solid var(--gold-line); }
    .site-nav .nav a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 0; }

    .banner-inner { padding: 40px 20px 44px; }
    .banner-word { font-size: 60px; }
    .banner-sub { font-size: 14px; gap: 14px; }
    .banner-tag { margin-top: 22px; font-size: 13px; letter-spacing: 0.14em; }
    .banner-line { font-size: 11px; letter-spacing: 0.16em; }
    .banner-intro { margin-top: 18px; font-size: 16px; line-height: 1.6; }
    .banner .btn-row { margin-top: 22px; }

    .vault .card-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-right: -24px; padding-right: 24px; -webkit-overflow-scrolling: touch; }
    .vault .card-grid > .card { flex: 0 0 82%; scroll-snap-align: start; }
    .vault-sealed .card-media { aspect-ratio: 16 / 8; }
}
