/* Lantern light, parchment and woodland warmth, inspired by the author's current site. */
:root {
  --forest: #263f30;
  --deep: #172d23;
  --cream: #f8f1e3;
  --paper: #fffaf0;
  --gold: #946b32;
  --ink: #343d2e;
  --muted: #6c6958;
  --line: #dfd3bb;
}
body {
  background-color: var(--cream);
  background-image: radial-gradient(ellipse at 0 25%, #ba873115, transparent 45%), radial-gradient(ellipse at 100% 70%, #c38f3110, transparent 40%);
}
.welcome-bar { background: #263c2c; color: #f2dfb4; }
.site-header { background: #faf4e8; border-color: #d9c9a9; box-shadow: 0 3px 20px #51370e08; }
.icon-button:hover { background: #ede2cc; }
.button.primary { background: var(--forest); box-shadow: 0 5px 15px #4b351318; }
.button.primary:hover { background: #3b553b; }
.button.secondary { background: #fffbf044; border-color: #b9a47d; }
.button.secondary:hover { background: #ede1c8; }
.text-link { border-color: #ae9567; }
.eyebrow { color: #7b603b; }

/* A readable welcome sits over the quiet side of the woodland scene. */
.hearth-hero { display: block; min-height: 660px; background: #18271c; isolation: isolate; }
.hearth-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hearth-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #102017ed 0%, #122118d9 25%, #1322196b 48%, #13221900 72%), linear-gradient(0deg, #101b14a6, transparent 25%); }
.hearth-hero .hero-copy { background: none; padding: 57px 5% 47px; max-width: 1320px; margin: auto; color: #fff4dc; }
.hearth-hero .eyebrow { color: #e6c27e; font-size: 9px; letter-spacing: 2px; margin-bottom: 24px; }
.hearth-hero .eyebrow::before { background: #deb572; }
.hearth-hero h1 { font-size: clamp(56px, 5.1vw, 75px); line-height: 1.02; letter-spacing: -1px; max-width: 550px; margin-bottom: 22px; text-shadow: 0 3px 25px #0d1e19a6; }
.hearth-hero h1 em { color: #efd095; font-style: italic; }
.hearth-hero .hero-description { color: #eee2c9; max-width: 365px; font-size: 14px; line-height: 1.85; margin-bottom: 26px; text-shadow: 0 1px 6px #0b1a10; }
.hearth-hero .hero-actions { gap: 13px; }
.hearth-hero .button { font-size: 11px; gap: 16px; min-height: 47px; }
.hearth-hero .button.primary { background: #e8c17b; color: #283321; box-shadow: 0 4px 22px #e6ad4b22; }
.hearth-hero .button.primary:hover { background: #f3d296; }
.hearth-hero .button.secondary { color: #fff1d2; background: #17291f88; border-color: #d1b67e9c; }
.hearth-hero .button.secondary:hover { background: #40503a; }
.hearth-hero :is(a, button):focus-visible { outline-color: #f4d69c; }
.hearth-gifts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.hearth-gifts button { color: #efddb8; border: 1px solid #d5b57b55; border-radius: 30px; padding: 6px 12px; background: #14251d99; font-size: 10px; min-height: 34px; transition: background .2s, border-color .2s; }
.hearth-gifts button:hover { background: #465137; border-color: #e9c784; }
.hearth-hero .hero-footnote { color: #d7caac; font-size: 9px; letter-spacing: .4px; margin: 21px 0 0; }
.hearth-tree-link { position: absolute; z-index: 3; bottom: 27px; right: 5%; display: flex; align-items: center; gap: 15px; color: #ffefcf; text-align: left; padding: 14px 18px; border: 1px solid #e0bd7659; border-radius: 4px; background: #1a291bdf; box-shadow: 0 5px 25px #15190e44; }
.hearth-tree-link:hover { background: #35442bdc; }
.hearth-tree-heart { font: 32px Georgia, serif; color: #e8c17b; }
.hearth-tree-link strong { display: block; font: 25px var(--serif); }
.hearth-tree-link small { display: block; font-size: 8px; letter-spacing: 1px; color: #dfcda8; margin-top: 4px; }
.hearth-tree-link > span:last-child { font-size: 20px; margin-left: 9px; }

/* The original site's welcome, given room to feel personal. */
.welcome-note { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9%; align-items: center; padding-top: 65px; padding-bottom: 61px; }
.welcome-note .eyebrow { margin-bottom: 18px; font-size: 9px; }
.welcome-note h2 { font-size: 49px; margin-bottom: 20px; }
.welcome-opening { font: 25px/1.5 var(--serif); color: #79613d; margin: 0; }
.welcome-opening em { color: #44563b; }
.welcome-story { border-left: 1px solid #bea57380; padding-left: 35px; }
.welcome-story p { font-size: 13px; line-height: 1.9; color: #6a6250; margin-bottom: 16px; }
.welcome-story .welcome-closing { font: 24px/1.4 var(--serif); color: #415333; margin-bottom: 0; margin-top: 21px; }
.welcome-closing span { color: #9b763b; margin-left: 7px; }
.values-strip { background: #efe2c9; border-top: 1px solid #dcc9a3; border-bottom: 1px solid #dcc9a3; color: #655b43; }
.values-strip i { color: #9a7134; }
.cover-note { color: #736950; }
.book-visual { border: 1px solid #decba6; background: radial-gradient(ellipse at 50% 25%, #fff7de, #ead9b7 68%, #dfc99d); box-shadow: inset 0 0 35px #a57d1e10; }
.book-visual.visual-inverness { background: radial-gradient(ellipse at 50% 25%, #fff3df, #ead5c2 72%, #ddc4ad); border-color: #dbc4b0; }
.book-visual.visual-lumi { background: radial-gradient(ellipse at 50% 25%, #f8efed, #e6dce7 72%, #d5c9da); border-color: #d3c4d3; }
.characters-section { background: linear-gradient(130deg, #ece7d7, #f6efdf); border-radius: 8px; }
.character-card { background: #f5eddb; border-color: #d9c8a7; box-shadow: 0 4px 15px #7a571108; }
.character-card:hover { box-shadow: 0 8px 22px #7a571116; }
.character-card.inverness { background: #f5e7da; border-color: #e2cdb9; }
.character-card.lumi { background: #eee6ec; border-color: #dad0da; }
.character-card.hermes { background: #efe4ca; border-color: #d8c6a0; }
.world-banner { border: 1px solid #8d7d4e; box-shadow: 0 10px 35px #5c491522; background: #293f2d; }
.world-banner p { color: #e0d9bd; }
.world-banner .eyebrow { color: #dfc386; }
.world-banner-art::before { background: linear-gradient(90deg, #293f2d, transparent 40%); }
.heartmail-invitation { background: #eee1c62e; border-color: #ceba91; padding-left: 24px; padding-right: 24px; }
.author-line > span { color: #705b36; }
.author-line > p { color: #776e56; }
.page-intro h1 { color: #31442e; }
.catalog-search, .sort-select { border-color: #d6c5a6; background-color: #fffaf0; }
.filter-button { border-color: #caba99; background: #fff8e966; }
.filter-button.active { background: #3c5036; border-color: #3c5036; }
.lore-card { box-shadow: 0 3px 16px #72541d08; }
.map-canvas { border: 1px solid #9e8353; box-shadow: 0 10px 35px #5a431423; }
.heartmail-intro h1 em { color: #807041; }
.heartmail-station { border: 1px solid #a48c58; box-shadow: 0 10px 35px #6a491e24; }
.heartmail-preview { background: #e8dcc2; }
footer { background: radial-gradient(ellipse at center top, #e9d6aa55, transparent 65%), #f2e8d4; border-color: #c9b68e; }
footer > p { color: #766748; }
footer > div { color: #6b634e; }
.social-links .social-link { background: #fff9eacc; border-color: #c6b28b; }
.social-link:hover { background: #e8d8b7; border-color: #a38a57; }

@media (min-width: 1500px) {
  .hearth-hero { min-height: 705px; }
  .hearth-hero .hero-copy { padding-top: 70px; padding-bottom: 65px; }
}
@media (max-width: 1050px) and (min-width: 601px) {
  .hearth-hero { min-height: 630px; }
  .hearth-hero .hero-copy { padding-top: 55px; padding-left: 5%; }
  .hearth-scene { object-position: 55% center; }
  .hearth-hero h1 { font-size: 63px; max-width: 450px; }
  .hearth-hero .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .hearth-hero .hero-description { max-width: 325px; font-size: 13px; }
  .hearth-hero::before { background: linear-gradient(90deg, #102017f2, #122118d9 35%, #13221955 68%, #13221922); }
  .hearth-tree-link { right: 3%; bottom: 23px; padding: 12px; gap: 9px; }
  .hearth-tree-link strong { font-size: 22px; }
  .welcome-note { gap: 5%; }
  .welcome-note h2 { font-size: 43px; }
  .welcome-story { padding-left: 24px; }
}
@media (max-width: 600px) {
  .hearth-hero { min-height: 850px; padding-bottom: 225px; }
  .hearth-scene { object-position: 68% center; }
  .hearth-hero::before { background: linear-gradient(180deg, #122218ef, #122218d9 38%, #12221844 70%, #12221822), linear-gradient(90deg, #13221966, transparent 85%); }
  .hearth-hero .hero-copy { padding: 39px 6% 20px; width: 100%; }
  .hearth-hero .eyebrow { font-size: 7px; letter-spacing: 1.5px; gap: 9px; margin-bottom: 23px; }
  .hearth-hero .eyebrow::before { width: 19px; }
  .hearth-hero h1 { font-size: clamp(49px, 13.5vw, 66px); line-height: 1.06; letter-spacing: -.7px; margin-bottom: 20px; }
  .hearth-hero .hero-description { font-size: 12px; max-width: 310px; line-height: 1.85; margin-bottom: 23px; }
  .hearth-hero .hero-actions { gap: 9px; }
  .hearth-hero .button { font-size: 10px; padding: 13px 14px; gap: 11px; min-height: 45px; }
  .hearth-gifts { margin-top: 23px; gap: 8px; }
  .hearth-gifts button { font-size: 9px; padding: 6px 10px; }
  .hearth-hero .hero-footnote { font-size: 8px; line-height: 1.6; max-width: 290px; margin-top: 20px; }
  .hearth-tree-link { left: 6%; right: 6%; bottom: 24px; justify-content: flex-start; gap: 12px; padding: 13px 16px; }
  .hearth-tree-link strong { font-size: 24px; }
  .hearth-tree-link > span:last-child { margin-left: auto; }
  .welcome-note { display: block; padding: 40px 6% 42px; }
  .welcome-note .eyebrow { font-size: 8px; }
  .welcome-note h2 { font-size: 43px; margin-bottom: 18px; }
  .welcome-opening { font-size: 24px; }
  .welcome-story { border-left: 0; border-top: 1px solid #bea57380; padding: 24px 0 0; margin-top: 25px; }
  .welcome-story p { font-size: 12px; }
  .welcome-story .welcome-closing { font-size: 24px; }
  .world-banner-art::before { background: linear-gradient(180deg, #293f2d, transparent 35%); }
  .heartmail-invitation { padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hearth-gifts button { transition: none; }
}

/* Official front covers retain the complete original image and its aspect ratio. */
.book-visual > .official-book-cover {
  display: block;
  width: auto;
  height: 82%;
  max-width: 84%;
  object-fit: contain;
  transform: rotate(-3deg);
  filter: drop-shadow(8px 10px 8px #382b2838);
  border-radius: 2px 4px 4px 2px;
}
.detail-art > .official-book-cover {
  display: block;
  width: 200px;
  height: auto;
  max-width: 82%;
  margin: 24px 0;
  transform: rotate(-2deg);
  filter: drop-shadow(7px 9px 8px #382b2830);
  border-radius: 2px 4px 4px 2px;
}
