:root {
  --christmas-gold: #e5bd84;
  --christmas-velvet: #301720;
}

body:not(.christmas-entry) {
  background: radial-gradient(ellipse at 10% 0, #30201a, transparent 40rem),
              radial-gradient(ellipse at 100% 10rem, #17251c, transparent 48rem),
              #100d0e;
}

body:not(.christmas-entry) .nav {
  background: linear-gradient(110deg, #27131a, #361821 55%, #211419);
  border-bottom-color: #947554;
}

.nav::before, footer::before {
  display: block;
  height: clamp(3.8rem, 6.5vw, 5.5rem);
  background: url('/assets/christmas/velvet-garland.webp') center / auto 140% repeat-x;
  border-bottom: 1px solid #63402e;
  pointer-events: none;
  content: "";
}

.hero-area {
  position: relative;
  isolation: isolate;
  background: #2b131c;
}

.hero-area::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #170d13c4, transparent 33%),
              url('/assets/christmas/velvet-gallery.webp') center 43% / cover no-repeat;
  content: "";
}

.hero-area .hero {
  gap: 5%;
  min-height: 720px;
}

.hero-area .hero > :first-child {
  padding: clamp(1.35rem, 3.8vw, 3.3rem);
  background: linear-gradient(115deg, #1e1017f2, #29131cd9);
  border: 1px solid #bd886c8c;
  box-shadow: 0 14px 55px #13080c8f;
}

.hero-area .hero h1 { font-size: clamp(3rem, 8.2vw, 7.3rem); }

.hero-area .hero-image img {
  box-shadow: 0 24px 55px #090508d9, 0 0 0 1px #deab756e;
}

.page-intro .eyebrow, .hero .eyebrow, .section-head .eyebrow {
  color: var(--christmas-gold);
}

.section { border-top-color: #83553f; }

.book-card .cover {
  background: linear-gradient(150deg, #351723, #1c211b);
  border: 1px solid #704b41;
}
.book-card:hover .cover { background: #492433; }

.btn:not(.primary):hover { background: var(--christmas-velvet); }

footer {
  background: linear-gradient(115deg, #26141b, #361722 70%);
  border-top-color: #947554;
  padding-top: 0;
}

footer::before {
  height: clamp(4.75rem, 8vw, 7rem);
  margin: 0 0 2rem;
}

@media (max-width: 720px) {
  .hero-area .hero {
    min-height: auto;
    padding-top: clamp(11rem, 54vw, 17rem);
    gap: 2.4rem;
  }

  .hero-area::before {
    height: clamp(15rem, 72vw, 23rem);
    background: linear-gradient(0deg, #2b131c, transparent 45%),
                url('/assets/christmas/velvet-gallery.webp') center top / cover no-repeat;
  }

  .hero-area .hero > :first-child { margin-inline: 0; }
  .hero-area .hero h1 { font-size: clamp(3.3rem, 15vw, 5.6rem); }
}

.background-music-toggle {
  bottom: max(1rem, calc(env(safe-area-inset-bottom) + .75rem));
  background: #24191c;
  border-color: #b28d60;
}

.christmas-entry {
  background: #130e0e;
  color: #fff1db;
}

.christmas-entrance {
  display: grid;
  min-height: 100svh;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  align-items: end;
  justify-items: center;
}

.christmas-entrance picture,
.christmas-entrance picture img,
.christmas-entrance::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.christmas-entrance picture { z-index: -2; }
.christmas-entrance picture img { object-fit: cover; object-position: center 52%; }

.christmas-entrance::before {
  z-index: -1;
  background: linear-gradient(180deg, #120c0c06 35%, #140c0b64 59%, #140c0bf0 86%, #130e0e);
  content: "";
}

.christmas-welcome {
  padding: clamp(2rem, 6vh, 5rem) 1.25rem max(4.3rem, calc(env(safe-area-inset-bottom) + 3.3rem));
  text-align: center;
  width: 100%;
}

.christmas-welcome .eyebrow { color: #ffe1ad; }

.christmas-welcome h1 {
  margin: .3rem 0 .6rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
  text-wrap: balance;
  text-shadow: 0 3px 26px #000;
}

.christmas-welcome p {
  margin: 0 auto 1.4rem;
  color: #efdeca;
}

.christmas-welcome .btn {
  gap: .85rem;
  background: #411b27;
  border-color: #d2a875;
  color: #fff0da;
}
.christmas-welcome .btn:hover { background: #572736; }

@media (max-width: 600px) {
  .christmas-entrance {
    grid-template-rows: minmax(300px, 57svh) auto;
  }

  .christmas-entrance picture, .christmas-entrance::before {
    height: max(300px, 57svh);
  }

  .christmas-entrance picture img { object-position: 62% 50%; }

  .christmas-entrance::before {
    background: linear-gradient(180deg, transparent 67%, #130e0e);
  }

  .christmas-welcome { grid-row: 2; align-self: start; padding-top: .4rem; }
}
