/* October homepage concept: a wide title banner and two clear free entry points. */
body[data-page="home"] { background: #ead9b3; }
body[data-page="home"] .site-header { position: relative; }
body[data-page="home"] .nav { width: min(1360px, 94vw); }
body[data-page="home"] .nav-links a { font-size: .73rem; }
body[data-page="home"] .nav-cta { white-space: nowrap; }

.home-hero { position: relative; isolation: isolate; min-height: min(730px, calc(100svh - 72px)); display: grid; place-items: center; padding: 42px 3vw 58px; overflow: hidden; background: #25190f; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('../img/map.webp') center 44% / cover; filter: saturate(.55) sepia(.15) brightness(.55); transform: scale(1.025); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #170d09d9 0%, #170d0960 25%, #170d0955 65%, #170d09d9 100%); }
.home-hero-panel { position: relative; width: min(1290px, 94vw); padding: 27px clamp(22px, 6vw, 86px) 29px; text-align: center; color: #332014; border: 1px solid #c29b5d; outline: 1px solid #d6b679; outline-offset: 7px; background: linear-gradient(#f5e7cbe8, #e5cca0ee), url('../img/parchment-texture.webp') center / 560px; box-shadow: 0 30px 80px #090604bd, inset 0 0 75px #8d5b292f; }
.home-hero-panel::before { content: ""; position: absolute; inset: 13px; border: 1px solid #8c643940; pointer-events: none; }
.home-hero-kicker { margin: 0; color: #7c3021; font: 600 .7rem/1.5 'Cinzel', Georgia, serif; letter-spacing: .24em; text-transform: uppercase; }
.home-hero-title { margin: 4px auto 0; width: min(500px, 72%); line-height: 0; }
.home-hero-title img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent), linear-gradient(transparent, black 5%, black 95%, transparent); mask-composite: intersect; }
.home-hero-rule { display: flex; align-items: center; gap: 15px; width: min(600px, 80%); margin: -4px auto 9px; color: #a06f30; font-size: .75rem; }
.home-hero-rule::before, .home-hero-rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, #a87c41); }
.home-hero-rule::after { transform: rotate(180deg); }
.home-hero-tagline { margin: 0; color: #6a221b; font: 600 clamp(.95rem, 1.8vw, 1.3rem)/1.5 'Cinzel', Georgia, serif; letter-spacing: .22em; text-transform: uppercase; }
.home-hero-copy { max-width: 660px; margin: 11px auto 0; color: #3e2b20; font-size: clamp(1.17rem, 2vw, 1.42rem); line-height: 1.4; }
.home-hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
body[data-page="home"] .home-hero-actions .btn { min-width: 255px; font-size: .76rem; padding: 17px 24px; }
.home-hero-actions .btn-light { background: #f9f1dc; }
.home-hero-note { margin: 10px 0 0; color: #6c5036; font: 500 .72rem/1.5 'Cinzel', Georgia, serif; letter-spacing: .03em; }
.home-hero-contact { margin: 10px 0 0; color: #59402c; font: 500 .78rem/1.5 'Cinzel', Georgia, serif; }
.home-hero-contact a { color: #67251f; font: 700 .86rem/1.5 Georgia, serif; letter-spacing: 0; text-transform: lowercase; text-decoration: underline; text-underline-offset: 3px; }
.home-hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #edd8a6; font: 600 .68rem 'Cinzel', Georgia, serif; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.home-hero-scroll span { display: block; font: 1.4rem Georgia, serif; line-height: 1.2; }

.home-chapter { padding: 78px 0 90px; background: linear-gradient(#f4e7c9e8, #e8d4abe8), url('../img/parchment-texture.webp') center / 560px; }
.home-chapter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, .95fr); align-items: center; gap: clamp(35px, 6vw, 90px); }
.home-section-kicker { margin: 0 0 14px; color: #843322; font: 700 .7rem 'Cinzel', Georgia, serif; letter-spacing: .19em; text-transform: uppercase; }
.home-chapter h2, .home-free h2, .home-deluxe h2, .home-world h2 { margin: 0 0 20px; font: 600 clamp(2rem, 3.3vw, 3.5rem)/1.12 'Cinzel', Georgia, serif; color: #3f2417; text-wrap: balance; }
.home-chapter p:not(.home-section-kicker), .home-deluxe p:not(.home-section-kicker) { font-size: 1.25rem; line-height: 1.55; }
.home-chapter .text-link, .home-world .text-link { color: #742921; font: 700 .76rem 'Cinzel', Georgia, serif; letter-spacing: .04em; text-underline-offset: 6px; }
.home-chapter-art { margin: 0; position: relative; }
.home-chapter-art img { width: 100%; display: block; filter: drop-shadow(0 25px 30px #29180b57); }
.home-chapter-art figcaption { text-align: center; color: #6c543a; font-size: .93rem; font-style: italic; }

.home-free { padding: 82px 0 98px; background: #271810; color: #f7e8ca; }
.home-free-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.home-free h2 { color: #fff0d1; }
.home-free-heading p:last-child { color: #dfc9a7; font-size: 1.24rem; }
.home-paths { display: grid; grid-template-columns: minmax(0, 900px); justify-content: center; gap: 28px; max-width: 1080px; margin: 0 auto; }
.home-path { overflow: hidden; border: 1px solid #a57e49; background: #f0dfbc; color: #352215; box-shadow: 0 18px 45px #0e080651; }
.home-path img { display: block; height: 390px; }
.home-path.home-path--online img { width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-path.home-path--print img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; object-position: center; }
.home-online-shot { display: flex; align-items: center; justify-content: center; height: 680px; overflow: hidden; cursor: zoom-in; background: #291d15; }
.home-online-shot:focus-visible { outline: 3px solid #c29136; outline-offset: -3px; }
.home-path-body { padding: 31px 34px 35px; }
.home-path .home-section-kicker { margin-bottom: 10px; }
.home-path h3 { margin: 0 0 12px; font: 600 1.55rem 'Cinzel', Georgia, serif; }
.home-path p { margin: 0 0 18px; font-size: 1.15rem; line-height: 1.45; }
.home-path .btn { margin-top: 8px; }
.home-path-note { display: block; margin-top: 14px; color: #6e523a; font-size: .95rem; }
.home-downloads { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.home-downloads a { color: #742921; font: 700 .73rem 'Cinzel', Georgia, serif; text-underline-offset: 5px; }

.home-deluxe { padding: 94px 0; background: linear-gradient(130deg, #eee0be 10%, #dcc29a 100%); }
.home-deluxe-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.home-deluxe-copy { max-width: 520px; }
.home-deluxe-copy .status { display: inline-block; border: 1px solid #9f713d; padding: 6px 10px; margin: 0 0 18px; color: #743023; font: 700 .67rem 'Cinzel', Georgia, serif; letter-spacing: .1em; text-transform: uppercase; }
.home-deluxe-copy .btn { margin-top: 9px; }
.home-film { position: relative; overflow: hidden; min-height: 390px; border: 8px solid #d8b776; outline: 1px solid #79552f; background: #1d120b; box-shadow: 0 25px 55px #40271254; }
.home-film-poster { position: absolute; inset: 0; background: linear-gradient(#120b0765,#120b078a), url('../img/box-corrected-medieval-coins.png') center / contain no-repeat; background-color: #1d120b; }
.home-film-label { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; color: #fff0d3; }
.home-film-label span:first-child { font-size: 3.3rem; line-height: 1; }
.home-film-label strong { font: 600 1.15rem 'Cinzel', Georgia, serif; }
.home-film-label span:last-child { font-size: 1rem; }
.home-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.home-photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.home-photo-strip img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border: 1px solid #8f6c41; background: #34231b; }
.home-photo-strip img:first-child { object-position: center 70%; }
.home-photo-strip img:nth-child(2) { object-position: center 52%; }
.home-photo-strip img:last-child { object-position: center 82%; }

.home-world { padding: 50px 0; background: #4a1814; color: #f7ead1; }
.home-world .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-world h2 { margin: 0; color: #f8e8c4; font-size: clamp(1.45rem, 2.5vw, 2.4rem); }
.home-world-links { display: flex; gap: 20px; flex-wrap: wrap; }
.home-world .text-link { color: #f1cf87; white-space: nowrap; }
body[data-page="home"] .footer { background: #1f130e; }
body[data-page="home"] .edit-floating { position: static; display: block; margin: 18px 4vw 18px auto; }
body[data-page="home"] .custom-zone.is-empty { display: none; }

@media (max-width: 850px) {
  .home-chapter-grid, .home-deluxe-grid { grid-template-columns: 1fr; }
  .home-chapter-art { width: min(560px, 100%); margin: auto; }
  .home-deluxe-copy { max-width: 700px; }
}
@media (max-width: 620px) {
  .home-hero { min-height: 0; padding: 48px 0 74px; }
  .home-hero-panel { width: 91vw; padding: 31px 18px 30px; outline-offset: 4px; }
  .home-hero-panel::before { inset: 8px; }
  .home-hero-title { width: 100%; margin-top: 12px; }
  .home-hero-rule { margin-top: 1px; }
  .home-hero-kicker { font-size: .55rem; letter-spacing: .15em; }
  .home-hero-tagline { letter-spacing: .11em; }
  .home-hero-copy { font-size: 1.13rem; }
  .home-hero-actions { gap: 10px; }
  body[data-page="home"] .home-hero-actions .btn { width: 100%; min-width: 0; }
  .home-hero-scroll { bottom: 20px; }
  .home-chapter, .home-free, .home-deluxe { padding: 64px 0; }
  .home-paths { grid-template-columns: 1fr; }
  .home-online-shot, .home-path.home-path--online img { height: 315px; }
  .home-path.home-path--online img { width: 100%; object-fit: cover; object-position: center 56%; }
  .home-path.home-path--print img { height: auto; }
  .home-path-body { padding: 26px 24px 30px; }
  .home-film { min-height: 260px; }
  .home-photo-strip img { height: auto; }
  .home-world .wrap { display: block; }
  .home-world-links { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .home-hero-scroll { animation: none; } }
