.tales-hero { position: relative; min-height: min(780px, calc(100vh - 118px)); display: grid; align-items: end; overflow: hidden; background: var(--forest-deep); }
.tales-hero > img, .tales-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.tales-hero > img { object-fit: cover; object-position: center; }
.tales-hero-shade { background: linear-gradient(90deg, rgba(13,40,29,.95) 0%, rgba(13,40,29,.68) 37%, rgba(13,40,29,.06) 72%); }
.tales-hero-copy { position: relative; z-index: 2; width: min(720px, 100%); padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 8vw, 7.5rem); color: #fff; }
.tales-hero-copy h1 { margin: .45rem 0 1.2rem; font-size: clamp(4rem, 8vw, 8rem); }
.tales-hero-copy p:not(.eyebrow) { max-width: 600px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.tales-intro { max-width: 1040px; margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 1.25rem; text-align: center; }
.tales-intro h2, .tales-close h2 { margin: .4rem 0 1.2rem; color: var(--forest); font-size: clamp(3rem, 6vw, 6.5rem); line-height: .98; letter-spacing: -.045em; }
.tales-intro > p:last-child { max-width: 760px; margin: 1.5rem auto 0; color: #505b51; font-size: 1.15rem; }
.tales { display: grid; gap: 0; }
.tale { display: grid; grid-template-columns: 1.18fr .82fr; min-height: 720px; background: #fffaf0; }
.tale:nth-child(even) { grid-template-columns: .82fr 1.18fr; background: #f2ead9; }
.tale:nth-child(even) .tale-art { order: 2; }
.tale-art { min-height: 620px; overflow: hidden; }
.tale-art img { width: 100%; height: 100%; object-fit: cover; }
.tale-copy { align-self: center; max-width: 760px; padding: clamp(3rem, 7vw, 7rem); }
.tale-number { color: var(--coral); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.tale-copy h2 { margin: .5rem 0 1.5rem; color: var(--forest); font-family: Georgia, serif; font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: 1.02; letter-spacing: -.035em; }
.tale-copy p { color: #4a554d; font-size: 1.06rem; }
.tale-moral { display: block; margin-top: 2rem; padding: 1.3rem 1.4rem; border-left: 4px solid var(--gold); color: var(--forest); background: rgba(239,179,62,.15); font-family: Georgia, serif; font-size: 1.15rem; font-style: italic; }
.tales-close { padding: clamp(5rem, 10vw, 9rem) 1.25rem; color: #fff; background: radial-gradient(circle at 50% 0%, rgba(216,95,72,.32), transparent 36%), var(--plum); text-align: center; }
.tales-close h2 { color: #fff; }
.tales-close > p:not(.eyebrow) { max-width: 660px; margin: 0 auto 2rem; color: #f6e9ef; font-size: 1.12rem; }
.hattie-copy .button { margin-top: 1.25rem; }


@media (max-width: 900px) {
  .tales-hero { min-height: 720px; }
  .tales-hero-shade { background: linear-gradient(0deg, rgba(13,40,29,.96) 0%, rgba(13,40,29,.58) 60%, rgba(13,40,29,.08) 100%); }
  .tales-hero-copy { padding-bottom: 4rem; }
  .tale, .tale:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .tale:nth-child(even) .tale-art { order: 0; }
  .tale-art { min-height: 420px; }
}

@media (max-width: 560px) {
  .tales-hero { min-height: 690px; }
  .tales-hero > img { object-position: 58% center; }
  .tales-hero-copy h1 { font-size: clamp(3.6rem, 18vw, 5.5rem); }
  .tale-art { min-height: 300px; }
  .tale-copy { padding: 3.5rem 1.3rem; }
}

/* Storybook layouts keep the complete artwork visible. */
.tales-hero { min-height: 580px; }
.tales-hero-copy { width: min(740px, 65%); padding: 4rem clamp(1.4rem, 6vw, 6rem); }
.tales-hero-copy h1 { font-size: clamp(3.5rem, 6.3vw, 6.5rem); line-height: 1.03; }
.tales-hero-copy p:not(.eyebrow) { max-width: 460px; }
.tales-intro { padding-block: 4rem; }
.tales-intro h2, .tales-close h2 { font-size: clamp(2.6rem, 4.5vw, 4.5rem); }
.tale, .tale:nth-child(even) { grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 0; padding: clamp(2rem, 4vw, 4rem); gap: clamp(2rem, 4vw, 4rem); }
.tale-art { min-height: 0; border-radius: 6px; box-shadow: 0 12px 35px rgba(23,59,43,.12); }
.tale-art img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.tale-copy { padding: .5rem 0; max-width: 600px; }
.tale-copy h2 { font-size: clamp(2rem, 3vw, 3.3rem); }
.tale-copy p { font-size: 1rem; }
.tale-moral { margin-top: 1.5rem; font-size: 1.05rem; }
.tales-close { padding-block: 4.5rem; }
@media (max-width: 900px) {
  .tales-hero-copy { width: 100%; }
  .tales-hero { min-height: 580px; }
  .tale, .tale:nth-child(even) { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.5rem 1.4rem; }
  .tale:nth-child(even) .tale-art { order: 0; }
  .tale-copy { max-width: 680px; margin-inline: auto; }
  .tale-art { min-height: 0; }
}
@media (max-width: 560px) {
  .tales-hero { display: flex; flex-direction: column; min-height: 0; }
  .tales-hero > img { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
  .tales-hero-shade { display: none; }
  .tales-hero-copy { padding: 2rem 1.4rem 2.5rem; }
  .tales-hero-copy h1 { font-size: 3.2rem; }
  .tales-intro { padding: 3rem 1.4rem; }
}

