body {
  background: linear-gradient(#f9f3ff 35%, #eef2ff 85%);
  color: #2c1b43;
}
.holiday-actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.holiday-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(505px, 53vw, 750px);
  overflow: hidden;
  background: #201635;
  color: #fffafc;
}
.holiday-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; z-index: -2; }
.holiday-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #201433 0%, #201433eb 22%, #20143368 49%, transparent 73%);
}
.holiday-hero-inner { width: min(100%, 1310px); margin: auto; padding: 55px clamp(20px, 6vw, 90px); }
.holiday-label { font: 700 .875rem/1.4 system-ui,sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.holiday-hero .holiday-label { color: #ffd2e5; margin: 0; }
.holiday-hero h1 { margin: 12px 0 18px; color: inherit; font: 500 clamp(58px, 8.3vw, 120px)/.86 Georgia, serif; letter-spacing: -.055em; }
.holiday-hero-inner > p:not(.holiday-label) { width: min(100%, 370px); font: 400 clamp(1.0625rem, 1.6vw, 1.375rem)/1.55 system-ui,sans-serif; }
.holiday-actions { flex-wrap: wrap; margin-top: 28px; gap: 12px; }
.holiday-button { background: #ffd5e7; border: 1px solid #ffd5e7; color: #401b43; border-radius: 999px; padding: 13px 20px; font: 700 .9375rem/1.35 system-ui,sans-serif; text-decoration: none; }
.holiday-button-outline { background: #2a1b41; border-color: #f2d6f2; color: #fff7fc; }
.holiday-button:hover { text-decoration: underline; }
.holiday-collection { max-width: 1310px; margin: auto; padding: clamp(46px, 6vw, 88px) clamp(18px, 4vw, 52px) 20px; text-align: center; }
.holiday-collection .holiday-label { color: #8f245c; }
.holiday-collection h2 { margin: 10px 0; color: #352047; font: 500 clamp(32px, 4.9vw, 63px)/1.04 Georgia,serif; letter-spacing: -.035em; }
.holiday-intro { max-width: 900px; text-wrap: balance; margin: 16px auto 34px; font: 400 1rem/1.6 system-ui,sans-serif; }
.holiday-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px, 2vw, 25px); }
.holiday-card { --card-ink: #84254c; --card-bg: #fce9f1; text-align: left; overflow: hidden; border-radius: 19px; border: 1px solid #e8dce9; background: white; box-shadow: 0 12px 34px #4a275b13; }
.holiday-card.hanukkah { --card-ink: #263a8b; --card-bg: #eef0ff; }
.holiday-card.christmas { --card-ink: #8d263a; --card-bg: #fceedf; }
.holiday-card.kwanzaa { --card-ink: #285239; --card-bg: #ebf2e5; }
.holiday-art { display: block; padding: clamp(8px, 1.5vw, 18px); background: var(--card-bg); }
.holiday-art img { display: block; width: 100%; height: auto; box-shadow: 0 3px 12px #3b2a3a30; border-radius: 3px; }
.holiday-card-copy { padding: 16px clamp(10px, 1.7vw, 21px) 20px; }
.holiday-card-copy p { margin: 7px 0 12px; font: 400 1rem/1.5 system-ui,sans-serif; }
.holiday-card-copy .holiday-card-label { margin: 0 0 6px; color: var(--card-ink); font: 700 .875rem/1.3 system-ui,sans-serif; }
.holiday-card-copy h3 { margin: 0; color: #32213e; font: 700 clamp(21px, 2vw, 29px)/1.14 Georgia,serif; }
.holiday-card-copy a { color: var(--card-ink); font: 700 .875rem/1.3 system-ui,sans-serif; text-underline-offset: 4px; }
.holiday-art:focus-visible { outline-offset: -4px; }
@media (max-width: 830px) {
  .holiday-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .holiday-hero { align-items: end; min-height: 0; }
  .holiday-scene { position: static; grid-area: 1/1; height: auto; aspect-ratio: 1.25; object-position: right center; }
  .holiday-hero::before { display: none; }
  .holiday-hero-inner { padding-top: 24px; padding-bottom: 36px; background: linear-gradient(#302042,#201433); }
  .holiday-hero h1 br { display: none; }
  .holiday-hero h1 { font-size: clamp(45px, 11vw, 63px); }
}
.library-actions { justify-content: center; }

.storybook-library {
  background: linear-gradient(135deg, #fff3f7, #f2ecff 58%, #eaf5ff);
  border: 1px solid #e9d9ef;
}

.storybook-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 3vw, 32px);
  max-width: 760px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.storybook-shelf a {
  display: grid;
  gap: 12px;
  color: #38234e;
  font: 700 clamp(.9375rem, 2vw, 1.125rem)/1.25 Georgia, serif;
  text-decoration: none;
}

.storybook-shelf a:hover,
.storybook-shelf a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.storybook-shelf img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e4d3e6;
  border-radius: 7px;
  box-shadow: 0 9px 20px #3f265a24;
}

.learning-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.learning-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e8dce9;
  border-radius: 18px;
  box-shadow: 0 8px 26px #4a275b12;
}

.learning-card a {
  display: block;
  height: 100%;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}

.learning-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 17px 17px 0 0;
}

.learning-card-copy {
  padding: 17px 18px 20px;
}

.learning-card-copy h3 {
  margin: 0 0 7px;
  color: #38234e;
  font: 700 clamp(20px, 2.4vw, 28px)/1.12 Georgia, serif;
}

.learning-card-copy p {
  margin: 0;
}

.learning-card a:hover h3,
.learning-card a:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 830px) {
  .learning-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .learning-card-grid { grid-template-columns: 1fr; }
}

.shop-home-link { margin: 0 0 24px; }

#storybook-library .storybook-intro {
  max-width: 60rem;
  text-wrap: balance;
}

#learn .future-leaders-title {
  text-align: center;
}

body > footer > nav[aria-label="Site information"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.25rem;
}

#learn .life-skills-title {
  font-size: min(1.5rem, 6.4vw);
}
