/* Lucius (2012) – 1970s gothic: sepia, oxblood, aged paper. Unlayered, so it overrides base.css layers. */
:root {
  --bg: #120c09;
  --bg-2: #1b120e;
  --surface: #221813;
  --text: #eadfcf;
  --muted: #b9a893;
  --accent: #a82a1c;
  --accent-2: #d9a84e;
  --radius: 2px;
  --rule: color-mix(in srgb, var(--accent-2) 35%, transparent);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body: Georgia, "Iowan Old Style", "Times New Roman", serif;
}
body { font-size: 1.125rem; background: radial-gradient(120% 60% at 50% 0, #1d130e, var(--bg)) fixed; }
h1, h2, h3 { font-weight: 400; letter-spacing: .06em; }
h2 { text-transform: uppercase; }
.eyebrow { font-family: var(--font-display); font-style: italic; text-transform: none; letter-spacing: .08em; font-size: 1rem; font-weight: 400; }

/* header */
.site-header { background: color-mix(in srgb, #0c0705 88%, transparent); border-bottom: 1px solid var(--rule); }
.site-header .brand { font-family: var(--font-display); letter-spacing: .4em; text-transform: uppercase; text-decoration: none; font-size: 1.15rem; color: var(--accent-2); }
.site-header nav a { color: var(--muted); font-family: var(--font-display); font-style: italic; }
.site-header nav a:hover { color: var(--accent-2); }

/* hero: portrait on the right, text on the left over dark gradient */
.hero { min-height: min(92svh, 56rem); align-items: center; }
.hero > img.hero-bg { object-position: 88% 25%; filter: sepia(.25) contrast(1.05); }
.hero::after { background: linear-gradient(90deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 70%, transparent) 42%, transparent 75%), linear-gradient(to top, var(--bg) 2%, transparent 30%); }
.hero .wrap { max-width: var(--max); }
.hero .hero-text { position: relative; display: grid; gap: .85rem; max-width: 34rem; justify-items: start; }
.hero h1 { position: relative; width: 100%; margin: 0; font-size: clamp(3.5rem, 12vw, 8rem); line-height: 1; }
.hero h1 .logo-title { display: block; width: 100%; height: auto; margin: 0 0 -15.5% 0; pointer-events: none; filter: brightness(1.7) contrast(1.1) drop-shadow(0 0 22px rgba(232,176,74,.4)) drop-shadow(0 4px 24px #000); }
.hero h1 small { display: block; position: relative; z-index: 2; margin-top: .75rem; font-size: .22em; letter-spacing: .858em; margin-right: -.858em; white-space: nowrap; color: var(--accent-2); text-shadow: 0 2px 14px #000; }
.hero p.lead { position: relative; z-index: 2; font-style: italic; color: var(--text); font-size: 1.3rem; line-height: 1.65; margin: -.1rem 0 .4rem 0; text-shadow: 0 2px 12px #000; }
.hero .btn-row { position: relative; z-index: 2; }

.btn { border-radius: 0; font-family: var(--font-display); letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover { background: #c1362a; border-color: #c1362a; }
.btn.ghost { background: transparent; color: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent-2) 15%, transparent); }

/* section ornament */
.section h2 { text-align: center; margin-inline: auto; }
.section h2::after { content: "✠"; display: block; color: var(--accent); font-size: .55em; margin-top: .6rem; letter-spacing: 0; }
.section .eyebrow { text-align: center; display: block; }

.story { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.story p + p { margin-top: 1.1em; }
.story p:first-of-type::first-letter { font-family: var(--font-display); float: left; font-size: 4.2rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--accent-2); }
.story p { max-width: none; }
.framed { border: 1px solid var(--accent-2); outline: 1px solid var(--rule); outline-offset: 6px; margin: 6px; }
.framed img { width: 100%; filter: sepia(.2); }
figcaption { color: var(--muted); font-style: italic; font-size: .95rem; padding: .6rem .25rem 0; }

.band { background: var(--bg-2); border-block: 1px solid var(--rule); }
.grid.features { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: f; }
.card { border-radius: 0; background: var(--surface); border: 1px solid var(--rule); position: relative; counter-increment: f; }
.card::before { content: counter(f, upper-roman); font-family: var(--font-display); color: var(--accent-2); font-size: 1.1rem; letter-spacing: .15em; display: block; margin-bottom: .5rem; }
.card p { color: var(--muted); }

.gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.gallery button { all: unset; display: block; cursor: zoom-in; aspect-ratio: 16 / 9; overflow: clip; border: 1px solid var(--rule); }
.gallery button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15); transition: transform .4s, filter .4s; }
.gallery button:hover img { transform: scale(1.05); filter: none; }

dialog.lightbox { border: 1px solid var(--accent-2); background: #0c0705; color: var(--text); padding: .75rem; max-width: min(96vw, 1400px); width: 96vw; margin: auto; }
dialog.lightbox::backdrop { background: rgb(0 0 0 / .88); }
dialog.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
dialog.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .75rem; flex-wrap: wrap; }
dialog.lightbox .lb-bar p { color: var(--muted); font-style: italic; flex: 1 1 12rem; }
dialog.lightbox button { font: inherit; background: transparent; color: var(--accent-2); border: 1px solid var(--accent-2); padding: .4rem 1rem; cursor: pointer; }
dialog.lightbox button:hover { background: color-mix(in srgb, var(--accent-2) 15%, transparent); }

.trailer { position: relative; max-width: 56rem; margin-inline: auto; }
.trailer .video, .trailer button.play { display: block; width: 100%; }
.trailer button.play { all: unset; position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; cursor: pointer; border: 1px solid var(--accent-2); outline: 1px solid var(--rule); outline-offset: 6px; overflow: clip; }
.trailer button.play img { width: 100%; height: 100%; object-fit: cover; }
.trailer button.play:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.trailer .play-icon { position: absolute; inset: 0; margin: auto; width: 5rem; height: 5rem; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 4px rgb(0 0 0 / .4); }
.trailer .play-icon::before { content: ""; border-left: 1.6rem solid #fff; border-block: 1rem solid transparent; margin-left: .4rem; }
.trailer .video { border: 1px solid var(--accent-2); }
.more-videos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; gap: .5rem 2rem; justify-content: center; flex-wrap: wrap; }
.more-videos a { color: var(--accent-2); }

.facts-wrap { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.facts { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); align-content: start; }
.facts dt { font-family: var(--font-display); font-style: italic; text-transform: none; letter-spacing: .05em; font-size: .95rem; }
.facts dd { font-size: 1.1rem; }
.sysreq { background: var(--surface); border: 1px solid var(--rule); padding: 1.25rem 1.5rem; }
.sysreq h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: .75rem; }
.sysreq h4 { margin: 1rem 0 .25rem; color: var(--accent-2); font-weight: 400; font-style: italic; }
.sysreq dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .15rem 1rem; font-size: .95rem; }
.sysreq dt { color: var(--muted); } .sysreq dd { margin: 0; }

.buy { text-align: center; background: linear-gradient(var(--bg) 0, color-mix(in srgb, var(--bg) 55%, transparent) 50%, var(--bg) 100%), url("../img/manor-960.webp") center / cover; }
@media (min-width: 60rem) { .buy { background-image: linear-gradient(var(--bg) 0, color-mix(in srgb, var(--bg) 55%, transparent) 50%, var(--bg) 100%), url("../img/manor.webp"); } }
.buy .btn-row, .contact .btn-row { justify-content: center; }
.buy p, .contact p { margin-inline: auto; }
.contact ul { list-style: none; padding: 0; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 1.25rem 0 0; }
.contact a { color: var(--accent-2); }
.site-footer { background: #0c0705; }
.site-footer a { color: var(--accent-2); }
.site-header .brand img { height: 1.6rem; width: auto; filter: brightness(2.4) contrast(1.1); }
.trailer { max-width: 56rem; margin: 0 auto 2.5rem; }
.trailer h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.hero .hero-text { grid-template-columns: minmax(0, 1fr); }
/* Official Steam widget shown through a small window: only the price block and Buy button. */
.widget-mini { width: 229px; height: 32px; overflow: hidden; border-radius: 3px; background: transparent; box-shadow: none; border: 0; outline: none; }
.widget-mini .steam-widget { display: block; width: 450px; max-width: none; height: 190px; margin: -153px 0 0 -209px; border: 0; outline: none; color-scheme: normal; background: transparent; }
.site-header .widget-mini { flex: none; }
