/* The game's own typography, artwork and menu colors. */
@font-face {
  font-family: "Caslon Antique";
  src: url("assets/fonts/CaslonAntique.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #24170e;
  --forest-deep: #120c08;
  --ink: #efdec0;
  --paper: #efdec0;
  --gold: #e4bf77;
  --muted: #c4b297;
  --serif: "Caslon Antique", Georgia, serif;
}

body { background: #160f0a; }
h2 { letter-spacing: 0; font-size: clamp(40px, 4.5vw, 64px); }
h2 em { font-style: normal; color: #d0a266; }
.site-header {
  background: linear-gradient(#130c08eb, #130c08ed), url("assets/wood-shelf.webp") center / cover;
  border-bottom: 2px solid #92602e;
  box-shadow: 0 4px 15px #0006;
}
.brand { font-size: 32px; letter-spacing: 0; gap: 12px; }
.brand-game-icon { width: 58px; height: 58px; flex-shrink: 0; filter: drop-shadow(0 2px 3px #0009); }
.brand small { font: 16px "Caslon Antique", Georgia, serif; text-transform: none; letter-spacing: .4px; padding-top: 2px; color: #d0a266; }
nav { font-family: var(--serif); font-size: 20px; gap: 30px; }
.nav-download { font-family: var(--serif); font-size: 20px; padding: 9px 18px; border-color: #ad7a3b; box-shadow: inset 0 0 0 2px #1a0e05, inset 0 0 0 3px #6e4823; }
.hero-copy { text-align: left; width: 650px; }
.hero .eyebrow { justify-content: flex-start; }
.hero h1 { font-variant: normal; letter-spacing: -1px; font-size: clamp(80px, 9vw, 132px); color: #f5d78c; text-shadow: 3px 4px 0 #1f0c04, 0 5px 20px #000a; -webkit-text-stroke: 1.2px #2a1207; paint-order: stroke fill; }
.hero-subtitle { font-family: var(--serif); color: #d9a263; font-size: 46px; line-height: 1.15; margin-top: 0; text-shadow: 2px 3px 0 #1a0d07; }
.hero-shade { background: linear-gradient(90deg, #130b06de, #130b0685 38%, #130b060a 74%), linear-gradient(0deg, #100905b5, transparent 30%); }
.hero .ornament { justify-content: flex-start; margin: 22px 0; }
.hero-lead { font-family: Georgia, serif; font-size: 18px; }
.hero-actions { justify-content: flex-start; gap: 30px; }
.hero-actions .button { background: #1b100977; color: #f0d7a2; border: 1px solid #b2844459; box-shadow: inset 0 0 0 3px #281a1166; font-family: var(--serif); font-size: 25px; font-weight: 400; padding: 12px 20px; text-shadow: 1px 2px 0 #100703; }
.hero-actions .button:hover { color: #ffca4d; background: #3b2416a0; }
.hero-clouds { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.cloud { position: absolute; opacity: .65; width: 32%; height: auto; animation: cloud-drift 55s ease-in-out infinite alternate; }
.cloud-one { left: 55%; top: 28%; }
.cloud-two { left: 73%; top: 51%; width: 28%; animation-duration: 70s; animation-direction: alternate-reverse; }
@keyframes cloud-drift { from { transform: translateX(-30px); } to { transform: translateX(55px); } }
.paper { background: #21160e; color: #efdec0; }
.story { background: linear-gradient(90deg, #180f09f5, #180f09ed 45%, #180f09c9), url("assets/archive.webp") center / cover; }
.section-kicker { color: #cc9f61; }
.story-copy h2 { font-size: clamp(40px, 4vw, 57px); }
.story-copy h2 em, .gallery-section h2 em { color: #d2a76b; }
.story-copy p:not(.eyebrow) { color: #d7c6aa; font-size: 15px; }
.dropcap:first-letter { color: #e4bf77; }
.text-link { color: #e0bd7c; border-color: #8d602f; }
.text-link:hover { color: #ffcd69; }
.story-frame { background: #2c190b; border: 5px ridge #98672f; box-shadow: 0 15px 45px #0008; padding: 4px; transform: rotate(1deg); }
.story-art figcaption { font-family: var(--serif); font-size: 30px; color: #e7c78b; transform: none; text-shadow: 1px 2px 0 #100703; }
.story-art figcaption span { color: #c5b297; }
.art-stamp { color: #d3ac70; border-color: #a17b43; outline-color: #a17b43; }
.game-notes { border-color: #996c3555; }
.game-notes .icon { color: #d0a369; }
.game-notes strong { color: #edcf92; font-size: 23px; }
.game-notes p { color: #c1ae91; font-size: 12px; }
.trailer-section { background: radial-gradient(ellipse at 50% 50%, #3b2113, #120c08 80%); }
.trailer-section h2 { color: #f3d597; }
.trailer-theater { position: relative; width: 100%; aspect-ratio: 1220 / 725; background: url("assets/trailer-frame.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 15px 25px #0006); }
.trailer-theater .video-frame { position: absolute; left: 8.8%; top: 19.6%; width: 83%; padding: 0; border: 0; box-shadow: none; }
.video-start { inset: 0; width: 100%; height: 100%; }
.video-start>span:last-child { font-size: 32px; color: #f0d59a; text-shadow: 2px 2px 0 #190c04; }
.play-disc { background: #211409a6; border-color: #d4a35b; color: #f5cd83; }
.video-start:hover .play-disc { background: #57381ccf; }
.video-caption { color: #b8a181; }
.world-copy h2 { font-size: clamp(50px, 6vw, 82px); text-shadow: 2px 3px 0 #170a04; }
.world-copy>p:last-child { font-family: Georgia, serif; }
.world-shade { background: linear-gradient(90deg, #1c1008df, #1c10084a 75%), linear-gradient(0deg, #110905c0, transparent 50%); }
.gallery-section { background: radial-gradient(ellipse at 50% 0, #332113, #170f0a 70%); border-top: 2px solid #815a2d; }
.gallery-section h2 { font-size: clamp(42px, 4.5vw, 60px); }
.gallery-section .section-heading>p { color: #c8b496; }
.gallery-instruction { color: #d8b477; }
.gallery-item>a { background: #29180c; border: 5px ridge #9f753c; padding: 3px; box-shadow: 0 10px 20px #0005; }
.gallery-item figcaption { color: #e2c28a; font-size: 21px; }
.gallery-item figcaption>span { color: #b99055; }
.image-expand { background: #241408c9; border-color: #b18445; }
.download-section { background: linear-gradient(#1a100af0, #1a100af5), url("assets/archive.webp") center / cover; border-top: 2px solid #815a2d; }
.download-inner h2 { font-size: clamp(49px, 5vw, 70px); }
.download-inner>p:not(.eyebrow) { color: #ccb899; }
.button-gold, .button-green { background: linear-gradient(#53351e, #2e1c0e); border: 2px ridge #b78946; color: #efdab0; box-shadow: inset 0 0 0 3px #1a0d07; font-family: var(--serif); font-size: 23px; font-weight: 400; text-shadow: 1px 2px 0 #170a04; }
.button-gold:hover, .button-green:hover { background: linear-gradient(#684726, #3b2514); color: #ffce60; }
.release-note { color: #bca788; }
.site-footer { background: #100a06; border-color: #8f633650; }
.footer-main .brand { font-size: 28px; }
.footer-main>p { color: #bca788; font-family: Georgia, serif; }
.footer-bottom { color: #b5a186; border-color: #82623445; }
.footer-bottom a { color: #c5ad88; }
.download-dialog { background: radial-gradient(ellipse at 50% 0, #3a2516, #1b110b); color: #efdab0; border: 6px ridge #ad7c38; outline-color: #6a4825; }
.dialog-panel h2 { font-size: 39px; letter-spacing: 0; }
.dialog-book { color: #d2a76b; }
.lightbox-panel figcaption { font-size: 25px; }
.lightbox-panel figure>img { border: 5px ridge #97662f; }

@media (max-width: 1100px) {
  .hero-copy { width: 560px; }
  .hero h1 { font-size: 108px; }
  .hero-subtitle { font-size: 41px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { font-size: 22px; padding: 12px 16px; }
  .game-notes strong { font-size: 21px; }
}
@media (max-width: 800px) {
  .brand { font-size: 27px; }
  .brand small { font-size: 14px; }
  .brand-game-icon { width: 50px; height: 50px; }
  nav { font-size: 18px; gap: 22px; }
  .nav-download { font-size: 18px; }
  .hero-copy { width: 500px; }
  .hero h1 { font-size: 94px; }
  .hero-subtitle { font-size: 36px; }
  .story-copy h2 { font-size: 40px; }
  .story-copy p:not(.eyebrow) { font-size: 14px; }
  .story-art figcaption { font-size: 26px; }
  .game-notes p { font-size: 11px; }
  .game-notes strong { font-size: 19px; }
  .gallery-item figcaption { font-size: 20px; }
  .video-start>span:last-child { font-size: 27px; }
}
@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .brand { font-size: 26px; gap: 8px; }
  .brand small { font-size: 13px; letter-spacing: 0; }
  .brand-game-icon { width: 45px; height: 45px; }
  .nav-download { font-size: 17px; gap: 7px; padding: 9px 10px; }
  .hero-copy { width: 100%; text-align: center; }
  .hero h1 { font-size: clamp(54px, 17vw, 92px); -webkit-text-stroke: .8px #2a1207; }
  .hero-subtitle { font-size: clamp(27px, 8vw, 38px); margin-top: 4px; }
  .hero .eyebrow, .hero .ornament { justify-content: center; }
  .hero-shade { background: linear-gradient(90deg, #170d07b0, #170d0738), linear-gradient(0deg, #100905ea, #10090560 60%, #10090528); }
  .hero-actions { justify-content: center; gap: 12px; }
  .hero-actions .button { font-size: 19px; padding: 12px 10px; gap: 8px; }
  .hero-lead { font-size: 16px; }
  .cloud { width: 65%; opacity: .4; }
  .cloud-one { left: 37%; top: 23%; }
  .cloud-two { left: 65%; top: 49%; }
  .story-copy h2 { font-size: 44px; }
  .game-notes strong { font-size: 24px; }
  .game-notes p { font-size: 12px; }
  .trailer-section h2 { font-size: 44px; }
  .trailer-theater { aspect-ratio: auto; background: none; padding: 8px; border: 5px ridge #b38241; background-color: #29180c; }
  .trailer-theater .video-frame { position: relative; inset: auto; width: 100%; }
  .video-start>span:last-child { font-size: 23px; }
  .world-copy h2 { font-size: 56px; }
  .gallery-section h2 { font-size: 44px; }
  .gallery-item figcaption { font-size: 23px; }
  .download-inner h2 { font-size: 52px; }
  .download-inner .button { font-size: 21px; }
  .footer-main .brand { font-size: 24px; }
  .footer-main .brand small { font-size: 12px; }
  .footer-main .brand-game-icon { width: 40px; height: 40px; }
  .dialog-panel h2 { font-size: 35px; }
  .lightbox-panel figcaption { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) { .cloud { animation: none; } }

.language-switch { display: inline-flex; flex-shrink: 0; align-self: center; border: 1px solid #a5793b; padding: 3px; gap: 2px; }
.language-switch[hidden] { display: none; }
.language-switch button { border: 0; background: transparent; color: #e6c790; font: 17px "Caslon Antique", Georgia, serif; padding: 6px 9px; min-height: 32px; }
.language-switch button[aria-pressed="true"] { background: #d2aa69; color: #22150a; }
.language-switch button:hover { background: #b1854644; }
.language-switch button[aria-pressed="true"]:hover { background: #e2bd7e; }
.hero .eyebrow .eyebrow-label { width: auto; height: auto; border: 0; }
.section-kicker .kicker-label { width: auto; height: auto; background: none; opacity: 1; }
.hero-meta .genre-label, .hero-meta .game-languages { color: inherit; margin: 0; }
.gallery-item figcaption .gallery-label { font: inherit; color: inherit; margin: 0; letter-spacing: 0; }
@media (max-width: 1100px) { nav { gap: 20px; } .header-inner { gap: 20px; } }
@media (max-width: 800px) { .header-inner { gap: 15px; } nav { gap: 16px; } .language-switch button { padding: 5px 7px; } }
@media (max-width: 560px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-block: 10px; }
  .language-switch { grid-column: 1 / -1; justify-self: end; }
  .language-switch button { min-height: 30px; padding: 4px 12px; }
}
