/* HISTORY credits and viewing guide. Shared brand, typography and controls are in site.css. */
.history-page { --history-border: #dce8df; }
.history-page .eyebrow { margin: 0 0 12px; color: var(--green-dark); font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.history-hero { padding: clamp(42px, 6vw, 78px) 0 48px; background: linear-gradient(130deg, #fff 62%, #f0f8f3); }
.history-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.history-hero h1 { font-size: clamp(48px, 5.65vw, 76px); font-weight: 900; line-height: .99; letter-spacing: -.055em; text-transform: uppercase; }
.history-hero .lede { font-size: 18px; line-height: 1.6; margin: 24px 0 16px; max-width: 560px; }
.history-credit-name { font-size: 13px; max-width: 380px; }
.history-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.history-posters { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; padding: 25px 0; }
.history-poster { display: block; min-width: 0; border: 1px solid #e2e5e5; border-radius: 13px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-3deg); transition: transform .2s; }
.history-poster:nth-child(2) { margin-top: 72px; transform: rotate(3deg); }
.history-poster:hover { transform: translateY(-5px) rotate(0); }
.history-poster__image { position: relative; background: #071b98; aspect-ratio: 1 / 1.2; }
.history-poster__art { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.history-poster__logo { position: absolute; bottom: 9%; left: 10%; width: 80%; height: auto; }
.history-poster__caption { display: block; padding: 15px 16px; font-size: 11px; color: var(--grey); }
.history-poster__caption b { display: block; color: var(--charcoal); font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
.history-jumps { display: flex; gap: 36px; padding-top: 23px; padding-bottom: 23px; border-bottom: 1px solid var(--line-soft); }
.history-jumps a { color: var(--charcoal); font-family: var(--display); font-size: 14px; font-weight: 600; }
.history-jumps a:hover { color: var(--green-dark); }
.history-jumps span { color: var(--green-dark); margin-right: 8px; font-size: 12px; }
.history-section-heading { max-width: 750px; margin-bottom: 30px; }
.history-section-heading h2, .history-story h2, .history-next h2 { font-size: clamp(30px, 3.7vw, 46px); font-weight: 800; line-height: 1.12; margin-bottom: 20px; }
.history-section-heading p { margin-bottom: 14px; }
.history-small, .history-availability { font-size: 13px; line-height: 1.6; }
.history-inline { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.history-clip { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--mint); border: 1px solid var(--mint-line); border-radius: 12px; margin: 30px 0 48px; }
.history-clip__icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; color: var(--green-dark); background: #fff; border-radius: 50%; }
.history-clip h3 { font-size: 21px; margin-bottom: 7px; }
.history-clip p { font-size: 14px; margin: 0; }
.history-clip .btn { margin-left: auto; flex: none; }
.history-show + .history-show { margin-top: 48px; }
.history-show__heading { display: flex; gap: 24px; align-items: end; justify-content: space-between; padding-bottom: 22px; border-bottom: 2px solid var(--green); margin-bottom: 22px; }
.history-show__heading .eyebrow { font-size: 10px; margin-bottom: 8px; }
.history-show__heading h3 { font-size: clamp(23px, 2.8vw, 31px); max-width: 620px; }
.history-show__heading .link { flex: none; font-size: 13px; }
.history-episodes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; padding: 0; margin: 0; }
.history-episode { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--history-border); border-radius: 12px; background: #fff; }
.history-episode__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; font-size: 11px; margin-bottom: 17px; }
.history-episode__meta span { font-weight: 700; color: var(--green-dark); }
.history-episode h4 { font-size: 23px; line-height: 1.22; margin-bottom: 11px; }
.history-episode > p:not(.history-episode__meta) { font-size: 14px; }
.history-episode .history-episode__note { font-size: 11px; padding-left: 10px; border-left: 2px solid var(--coral); }
.history-episode__links { margin-top: auto; padding-top: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.history-episode__links .link { font-size: 13px; }
.history-source { color: var(--grey); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.history-watch { background: var(--cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.history-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.history-service { display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: 12px; background: #fff; border: 1px solid var(--line-soft); }
.history-service__type { color: var(--green-dark); font-size: 11px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; margin-bottom: 12px; }
.history-service h3 { font-size: 27px; margin-bottom: 17px; }
.history-service > p:not(.history-service__type) { font-size: 14px; }
.history-service > div { margin-top: auto; padding-top: 10px; display: grid; gap: 14px; }
.history-service .link { font-size: 13px; }
.history-availability { max-width: 860px; margin: 24px 0 0; }
.history-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.history-story h2 { max-width: 470px; }
.history-story .hand { color: #c65e50; font-size: 23px; line-height: 1.3; margin-top: 23px; max-width: 310px; }
.history-story__copy { font-size: 16px; }
.history-story__copy .link { font-size: 14px; margin-top: 6px; }
.history-next { background: var(--mint); text-align: center; }
.history-next p:not(.eyebrow) { max-width: 650px; margin: 0 auto; }
.history-next .history-actions { justify-content: center; }
@media (max-width: 900px) {
  .history-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .history-hero h1 { font-size: clamp(48px, 8.5vw, 74px); }
  .history-hero__copy { max-width: 650px; }
  .history-posters { max-width: 560px; gap: 28px; margin: 0 auto; width: 100%; }
  .history-poster:nth-child(2) { margin-top: 36px; }
  .history-poster__image { aspect-ratio: 1; }
  .history-services { grid-template-columns: 1fr; }
  .history-service { padding: 26px; }
  .history-service > p:not(.history-service__type) { max-width: 650px; }
  .history-story__grid { grid-template-columns: 1fr; gap: 24px; }
  .history-story h2 { max-width: 620px; }
}
@media (max-width: 640px) {
  .history-hero { padding-top: 36px; padding-bottom: 28px; }
  .history-hero h1 { font-size: clamp(43px, 10.8vw, 64px); }
  .history-hero .lede { font-size: 16px; }
  .history-posters { padding: 12px 5px; gap: 16px; }
  .history-poster__caption { padding: 12px; font-size: 10px; }
  .history-poster__caption b { font-size: 12px; }
  .history-jumps { gap: 13px; justify-content: space-between; padding-top: 17px; padding-bottom: 17px; }
  .history-jumps a { font-size: 11px; }
  .history-jumps span { display: block; margin-bottom: 3px; }
  .history-clip { flex-wrap: wrap; gap: 16px; padding: 22px; }
  .history-clip__icon { width: 44px; height: 44px; }
  .history-clip > div { flex: 1; min-width: 180px; }
  .history-clip .btn { margin-left: 0; }
  .history-clip h3 { font-size: 19px; }
  .history-show__heading { align-items: start; flex-direction: column; gap: 14px; }
  .history-episodes { grid-template-columns: 1fr; gap: 14px; }
  .history-episode { padding: 22px; }
  .history-episode h4 { font-size: 22px; }
  .history-actions .btn { flex: 1 1 180px; }
}
