/* Pacific Current Media | Creative History (a separate, modular companion to the homepage) */
.history-page {
  --history-navy: #152735;
  --history-forest: #294b43;
  --history-mint: #b8cdbb;
  --history-cream: #f6f1e9;
  background: var(--history-cream);
  color: var(--history-navy);
}
.history-page ::selection { background: #c5dabc; color: #142b2d; }
.history-page a:focus-visible { outline: 2px solid #a8ccab; outline-offset: 5px; }
.history-page .container { width: min(calc(100% - 100px), 1360px); }
.history-page .skip-link { position: absolute; z-index: 1000; top: -100px; left: 20px; padding: 12px 18px; background: #c5dabc; color: #122535; }
.history-page .skip-link:focus { top: 16px; }

/* Shared family of navigation styles, matching the homepage without changing it */
.history-page .topbar {
  top: 0; z-index: 90;
  padding: 19px max(50px, calc((100vw - 1360px)/2));
  background: rgba(13, 30, 34, .97);
  color: #eff5e6;
  border-bottom: 1px solid rgba(233, 244, 217, .20);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.history-page .brand { display: flex; align-items: center; gap: 13px; font-size: 12px; letter-spacing: .145em; }
.history-page .brand-type { display: block; color: #f0f4e6; }
.history-page .brand-type > span { color: #b6d99a; }
.history-page .brand-icon { position: relative; width: 31px; height: 31px; border: 1px solid #a4d49e; border-radius: 50%; display: inline-block; flex: none; overflow: hidden; transform: rotate(-25deg); }
.history-page .brand-icon span { display: block; width: 34px; height: 13px; border-top: 1px solid #c5e6a4; border-radius: 50%; position: absolute; left: -3px; }
.history-page .brand-icon span:nth-child(1) { top: 9px; }
.history-page .brand-icon span:nth-child(2) { top: 15px; }
.history-page .brand-icon span:nth-child(3) { top: 21px; }
.history-page .nav { gap: clamp(15px, 2.4vw, 36px); }
.history-page .nav a { font-size: 11px; letter-spacing: .13em; color: #d6e1d4; transition: color .25s ease; }
.history-page .nav a:hover, .history-page .nav a[aria-current="page"] { color: #d4eda8; text-decoration: none; }
.history-page .nav .nav-contact { display: inline-flex; align-items: center; gap: 18px; padding: 10px 13px 10px 17px; border: 1px solid rgba(216, 245, 172, .58); color: #f3f7e8; }
.history-page .nav .nav-contact:hover { background: rgba(208, 231, 188, .14); }
.history-page .nav .nav-contact span { font-size: 17px; line-height: 1; }

/* A compact chapter heading, not a second homepage hero */
.history-page .history-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, #122436 0%, #203c46 58%, #355c4a 100%);
  color: #f8f4e9;
}
.history-page .history-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 88% 10%, rgba(154, 195, 151, .20) 0%, transparent 41%),
              radial-gradient(ellipse at 0% 100%, rgba(20, 38, 57, .7) 0%, transparent 58%);
}
.history-page .history-hero-inner { position: relative; z-index: 1; padding-top: clamp(54px, 6vw, 86px); padding-bottom: 44px; }
.history-page .history-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 30px;
  color: #d1e2d5; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 750;
}
.history-page .history-dot { display: inline-block; flex: none; width: 7px; height: 7px; background: #c3dda7; border-radius: 50%; box-shadow: 0 0 0 4px rgba(195, 221, 167, .14); }
.history-page .history-hero h1 { position: relative; max-width: 990px; margin: 0; font-size: clamp(79px, 10.7vw, 156px); line-height: .8; font-weight: 850; letter-spacing: -.09em; text-transform: uppercase; }
.history-page .history-hero h1 span { color: #c6ddba; }
.history-page .history-hero-foot { margin-top: 45px; padding-top: 18px; border-top: 1px solid rgba(233, 240, 226, .35); display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.history-page .history-hero-foot p { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.5; color: #e5e9df; }
.history-page .history-hero-foot > span { flex: none; color: #b9cdbf; font-size: 10px; font-weight: 750; letter-spacing: .17em; }
.history-page .history-arrow { font-size: 18px; vertical-align: middle; margin-left: 15px; }
.history-page .history-hero-arc { position: absolute; width: 600px; height: 600px; right: -245px; top: -295px; border: 1px solid rgba(216, 231, 215, .18); border-radius: 50%; pointer-events: none; }
.history-page .history-hero-arc::after { content: ''; position: absolute; inset: 70px; border: 1px solid rgba(216, 231, 215, .12); border-radius: 50%; }

/* Repeatable project module. One project at a time. */
.history-page .history-project { padding: clamp(55px, 6.1vw, 90px) 0 clamp(90px, 9vw, 140px); }
.history-page .project-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #9eaea8; padding-top: 20px; margin-bottom: 20px; }
.history-page .project-meta p { margin: 0; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .15em; color: #536b68; }
.history-page .project-meta p:first-child span { color: #406c5f; margin-right: 13px; }
.history-page .meta-divider { margin: 0 7px; color: #acb9b5; }
.history-page .project-headline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 39px; }
.history-page .project-headline h2 { margin: 0; font-size: clamp(67px, 8.2vw, 124px); font-weight: 850; line-height: .94; letter-spacing: -.092em; color: #182d39; }
.history-page .project-headline h2 span { color: #4b7967; }
.history-page .project-headline-mark { font-size: 52px; font-weight: 300; line-height: 1; color: #5a8070; align-self: end; }
.history-page .project-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(45px, 6vw, 92px); align-items: start; }
.history-page .project-poster { margin: 0; min-width: 0; }
.history-page .project-poster img { display: block; width: 100%; height: auto; border: 1px solid rgba(25, 42, 48, .1); box-shadow: 17px 20px 0 rgba(30, 61, 64, .08), 0 25px 55px rgba(17, 31, 41, .13); }
.history-page .project-details { min-width: 0; }
.history-page .project-summary { border-top: 2px solid #355b56; padding-top: 21px; }
.history-page .project-summary p { font-size: clamp(16px, 1.38vw, 19px); line-height: 1.69; color: #3d4c4e; letter-spacing: -.015em; margin: 0 0 20px; }
.history-page .project-summary p:last-child { margin-bottom: 0; }
.history-page .project-summary em { color: #223e4a; }
.history-page .project-fellowship { margin: 29px 0 36px; display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 12px; padding: 18px 20px; background: #e7e9df; border-left: 3px solid #668675; }
.history-page .project-fellowship-icon { color: #476e5c; font-size: 22px; line-height: 1; }
.history-page .project-fellowship p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #34484a; }
.history-page .project-fellowship strong { font-weight: 750; color: #1e3843; }
.history-page .project-trailer { margin-top: 4px; }
.history-page .trailer-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 11px; }
.history-page .trailer-topline h3 { margin: 0; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; color: #233b47; }
.history-page .trailer-topline span { font-size: 10px; color: #678078; font-weight: 750; text-transform: uppercase; letter-spacing: .17em; }
.history-page .trailer-frame { background: #101b2b; position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border: 1px solid rgba(30, 50, 59, .18); }
.history-page .trailer-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.history-page .trailer-link { display: inline-flex; align-items: center; gap: 15px; border-bottom: 1px solid #789888; padding: 11px 0 7px; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #365e52; }
.history-page .trailer-link:hover { color: #152e41; border-bottom-color: #152e41; }
.history-page .trailer-link span { font-size: 17px; }
.history-page .project-availability { padding: 20px 0 0; margin: 19px 0 0; border-top: 1px solid #c0cbc4; color: #505f5e; font-size: 15px; line-height: 1.5; }

/* A small sign-off with no fake additional project cards */
.history-page .history-footer { padding: 31px 0; background: #182733; color: #e8ede6; }
.history-page .history-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.history-page .footer-back { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.history-page .footer-back:hover { color: #c6e0bb; }
.history-page .footer-back > span { font-size: 19px; }
.history-page .history-footer p { margin: 0; color: #a8b9b1; font-size: 11px; letter-spacing: .06em; }

@media (max-width: 950px) {
  .history-page .container { width: min(calc(100% - 60px), 1360px); }
  .history-page .topbar { padding: 17px 30px; }
  .history-page .nav { gap: 17px; }
  .history-page .nav a { font-size: 10px; }
  .history-page .history-hero h1 { font-size: clamp(71px, 11.5vw, 110px); }
  .history-page .project-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 38px; }
  .history-page .project-headline h2 { font-size: clamp(63px, 8.9vw, 94px); }
  .history-page .project-summary p { font-size: 16px; line-height: 1.6; }
}
@media (max-width: 700px) {
  .history-page .container { width: calc(100% - 40px); }
  .history-page .topbar { padding: 16px 20px; gap: 14px; }
  .history-page .brand { font-size: 10px; gap: 9px; letter-spacing: .10em; }
  .history-page .brand-icon { width: 27px; height: 27px; }
  .history-page .nav { gap: 13px; }
  .history-page .nav a:nth-child(2) { display: none; }
  .history-page .nav .nav-contact { padding: 9px 10px; gap: 7px; font-size: 9px; }
  .history-page .history-hero-inner { padding-top: 62px; padding-bottom: 28px; }
  .history-page .history-eyebrow { margin-bottom: 25px; font-size: 9px; letter-spacing: .13em; }
  .history-page .history-hero h1 { font-size: clamp(59px, 12.8vw, 95px); }
  .history-page .history-hero-foot { margin-top: 30px; }
  .history-page .history-hero-foot p { font-size: 14px; max-width: 310px; }
  .history-page .history-hero-foot > span { display: none; }
  .history-page .history-project { padding: 60px 0 86px; }
  .history-page .project-headline { margin-bottom: 26px; }
  .history-page .project-headline h2 { font-size: clamp(56px, 11.5vw, 90px); }
  .history-page .project-headline-mark { display: none; }
  .history-page .project-layout { grid-template-columns: 1fr; gap: 42px; }
  .history-page .project-poster { width: min(100%, 490px); margin-inline: auto; }
  .history-page .project-summary p { font-size: 17px; }
  .history-page .history-footer-inner { align-items: start; flex-direction: column; gap: 23px; }
}
@media (max-width: 430px) {
  .history-page .brand { font-size: 9px; }
  .history-page .nav > a:nth-child(3) { display: none; }
  .history-page .history-hero h1 { font-size: clamp(52px, 13.5vw, 64px); }
  .history-page .project-meta p { font-size: 9px; }
  .history-page .project-meta p:last-child { text-align: right; }
  .history-page .project-headline h2 { font-size: clamp(51px, 12vw, 64px); }
  .history-page .project-fellowship { padding: 17px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .history-page { scroll-behavior: auto; }
}


/* The second chapter mirrors the first, with a contrasting warm background. */
.history-page .history-project--cracked {
  border-top: 1px solid #c7d0c9;
  background: linear-gradient(145deg, #f4eee6 0%, #f7f1e8 55%, #efe5dc 100%);
}
.history-page .history-project--reverse .project-layout {
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
}
.history-page .history-project--reverse .project-poster { grid-column: 2; grid-row: 1; }
.history-page .history-project--reverse .project-details { grid-column: 1; grid-row: 1; }
.history-page .history-project--reverse .project-poster img {
  box-shadow: -17px 20px 0 rgba(74, 72, 63, .08), 0 25px 55px rgba(17, 31, 41, .14);
}
.history-page .history-project--cracked .project-headline h2 span { color: #85664f; }
.history-page .history-project--cracked .project-headline-mark { color: #927965; }
.history-page .history-project--cracked .project-summary { border-top-color: #6f665f; }
.history-page .history-project--cracked .project-trailer { margin-top: clamp(30px, 4vw, 56px); }
.history-page .history-project--cracked .project-availability { margin-top: 23px; }
@media (max-width: 950px) and (min-width: 701px) {
  .history-page .history-project--reverse .project-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 38px; }
}
@media (max-width: 700px) {
  .history-page .history-project--reverse .project-layout { grid-template-columns: 1fr; }
  .history-page .history-project--reverse .project-poster,
  .history-page .history-project--reverse .project-details { grid-column: 1; grid-row: auto; }
  .history-page .history-project--reverse .project-poster { order: -1; }
  .history-page .history-project--cracked .project-trailer { margin-top: 32px; }
}


/* Three understated chapter colors sampled from the homepage's coast / timber / navy palette. */
.history-page .history-project--queer {
  background: linear-gradient(155deg, #eef3eb 0%, #eaf1eb 58%, #e3ede8 100%);
}
.history-page .history-project--minister {
  border-top: 1px solid #d4dadc;
  background: linear-gradient(155deg, #eef2f5 0%, #e9eff3 54%, #e6ecf1 100%);
}
.history-page .history-project--minister .project-headline h2 span { color: #825763; }
.history-page .history-project--minister .project-headline-mark { color: #7e6872; }
.history-page .history-project--minister .project-meta { border-top-color: #a6b3bd; }
.history-page .history-project--minister .project-summary { border-top-color: #6c6872; }
.history-page .project-directors {
  margin: 20px 0 0; color: #334550; font-size: 13px; font-weight: 750;
  line-height: 1.65; letter-spacing: .012em;
}
.history-page .project-premiere {
  margin: clamp(34px, 5vw, 62px) 0 23px;
  display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 15px;
  padding: 21px 23px; border-left: 3px solid #8d6873;
  background: rgba(251, 249, 247, .66);
}
.history-page .project-premiere-icon { color: #925968; font-size: 22px; line-height: 1; }
.history-page .project-premiere h3 {
  margin: 0 0 9px; color: #6d515b; font-size: 11px; font-weight: 850;
  letter-spacing: .14em; text-transform: uppercase;
}
.history-page .project-premiere p { margin: 0; color: #3c4752; font-size: 14px; line-height: 1.65; }
.history-page .project-premiere strong { color: #213545; }
.history-page .history-project--minister .project-availability { border-top-color: #bdc9d0; }
@media (max-width: 700px) {
  .history-page .history-project--minister .project-premiere { margin-top: 28px; padding: 19px 18px; }
}

/* Festival credit leads naturally into the Minister Chucky trailer. */
.history-page .history-project--minister .project-trailer { margin-top: 32px; }
.history-page .history-project--minister .project-availability { margin-top: 25px; }


/* 04 / Outage: a muted rose-grey counterpoint to the sage, sand, and blue chapters. */
.history-page .history-project--outage {
  border-top: 1px solid #dad3d4;
  background: linear-gradient(155deg, #f3edee 0%, #eee9ec 52%, #eee7e7 100%);
}
.history-page .history-project--outage .project-headline h2 span { color: #90656c; }
.history-page .history-project--outage .project-headline-mark { color: #98757c; }
.history-page .history-project--outage .project-meta { border-top-color: #b9aeb0; }
.history-page .history-project--outage .project-summary { border-top-color: #856d73; }
.history-page .history-project--outage .project-trailer { margin-top: clamp(35px, 4vw, 55px); }
@media (max-width: 700px) {
  .history-page .history-project--outage .project-trailer { margin-top: 30px; }
}


/* 05 / Rad Queers: pale sea-glass, distinct from the earlier sage/sand/blue/rose chapters. */
.history-page .history-project--rad {
  border-top: 1px solid #c8d9d8;
  background: linear-gradient(153deg, #eaf2f1 0%, #f0f4f1 53%, #e6efed 100%);
}
.history-page .history-project--rad .project-headline h2 { font-size: clamp(59px, 7.5vw, 108px); letter-spacing: -.075em; line-height: .97; }
.history-page .history-project--rad .project-headline h2 span { color: #4a8078; }
.history-page .history-project--rad .project-headline-mark { color: #59847b; }
.history-page .history-project--rad .project-meta { border-top-color: #a5bdb6; }
.history-page .history-project--rad .project-summary { border-top-color: #50786e; }
.history-page .history-project--rad .project-trailer { margin-top: clamp(35px, 4.5vw, 56px); }

/* A graceful local-preview fallback for YouTube's referrer-dependent embed player. */
.history-page .youtube-preview { display: block; width: 100%; height: 100%; position: relative; background: #111f2c; color: #fff; overflow: hidden; }
.history-page .youtube-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .48; filter: saturate(.88); transition: transform .45s ease, opacity .3s ease; }
.history-page .youtube-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,30,.65), rgba(10,18,30,.05)); pointer-events: none; }
.history-page .youtube-preview:hover img, .history-page .youtube-preview:focus-visible img { transform: scale(1.035); opacity: .6; }
.history-page .youtube-preview-action { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 12px; width: max-content; max-width: 94%; padding: 15px 20px; border: 1px solid rgba(255,255,255,.3); background: rgba(14,27,38,.86); backdrop-filter: blur(9px); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.history-page .youtube-play { color: #fff; font-size: 15px; }
.history-page .youtube-preview-action > span:last-child { font-size: 18px; }
.history-page .youtube-preview-note { position: absolute; z-index: 1; left: 0; bottom: 17px; width: 100%; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: .02em; padding-inline: 12px; color: rgba(255,255,255,.88); }
@media (max-width: 700px) {
  .history-page .history-project--rad .project-headline h2 { font-size: clamp(47px, 9.2vw, 70px); }
  .history-page .history-project--rad .project-trailer { margin-top: 30px; }
  .history-page .youtube-preview-action { font-size: 10px; padding: 12px 13px; gap: 7px; }
  .history-page .youtube-preview-note { bottom: 8px; font-size: 9px; }
}


/* Direct contact links in the Creative History footer. */
.history-page .history-footer-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
}
.history-page .history-footer-links a {
  color: #dce8df;
  font-size: 11px;
  letter-spacing: .07em;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(220,232,223,.3);
}
.history-page .history-footer-links a:hover { color: #c6e0bb; border-bottom-color: #c6e0bb; }


/* v16 | Understated author credit lines on each featured film. */
.history-page .project-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45em;
  margin: 18px 0 24px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(65, 91, 92, .18);
  color: #334851;
  font-weight: 720;
  font-size: 13px;
  line-height: 1.55;
}
.history-page .project-credit span {
  color: #697c76;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}


/* 06–07 | Gallery and publishing chapters, visually related to the film entries. */
.history-page .history-project--massive {
  border-top: 1px solid #d1c9bf;
  background: linear-gradient(149deg, #f6efe8 0%, #f1e8e1 57%, #ede3dc 100%);
}
.history-page .history-project--massive .project-headline h2 { font-size: clamp(61px, 7.5vw, 110px); letter-spacing: -.075em; }
.history-page .history-project--massive .project-headline h2 span { color: #8e5d62; }
.history-page .history-project--massive .project-summary { border-top-color: #8c6f6b; }
.history-page .history-project--massive .project-headline-mark { color: #926e75; }
.history-page .history-project--mesa {
  border-top: 1px solid #d0d2c6;
  background: linear-gradient(153deg, #eeeede 0%, #f3f1e6 47%, #ebeee5 100%);
}
.history-page .history-project--mesa .project-headline h2 { font-size: clamp(63px, 7.7vw, 116px); letter-spacing: -.079em; }
.history-page .history-project--mesa .project-headline h2 span { color: #556f60; }
.history-page .history-project--mesa .project-headline-mark { color: #648273; }
.history-page .history-project--mesa .project-summary { border-top-color: #567267; }

.history-page .project-gallery { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; align-content: start; }
.history-page .project-gallery figure { margin: 0; position: relative; overflow: hidden; background: #1d2530; min-width: 0; }
.history-page .project-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.history-page .project-gallery figure:hover img { transform: scale(1.025); }
.history-page .project-gallery--massive figure:first-child { grid-column: 1 / -1; aspect-ratio: 1200 / 791; }
.history-page .project-gallery--massive figure:nth-child(2),
.history-page .project-gallery--massive figure:nth-child(3) { aspect-ratio: 1 / 1; }
.history-page .project-gallery--massive figure:nth-child(3) img { object-position: center 32%; }
.history-page .project-gallery--mesa figure { aspect-ratio: 3 / 2; }
.history-page .project-gallery--mesa figcaption {
  position: absolute; inset: auto 0 0; padding: 23px 12px 9px;
  background: linear-gradient(0deg, rgba(10,19,29,.85) 0%, rgba(10,19,29,0) 100%);
  color: #fff8eb; font-size: 10px; font-weight: 750; letter-spacing: .07em;
  text-transform: uppercase; line-height: 1.2;
}
.history-page .history-project--reverse .project-gallery { grid-column: 2; grid-row: 1; }
.history-page .history-project--reverse .project-details { grid-column: 1; grid-row: 1; }
@media (max-width: 950px) {
  .history-page .history-project--massive .project-headline h2,
  .history-page .history-project--mesa .project-headline h2 { font-size: clamp(53px, 7.7vw, 86px); }
}
@media (max-width: 700px) {
  .history-page .history-project--reverse .project-gallery { grid-column: 1; grid-row: auto; order: -1; }
  .history-page .history-project--reverse .project-details { grid-column: 1; grid-row: auto; }
  .history-page .project-gallery { gap: 8px; }
  .history-page .history-project--massive .project-headline h2,
  .history-page .history-project--mesa .project-headline h2 { font-size: clamp(48px, 10vw, 72px); }
}
@media (max-width: 430px) {
  .history-page .history-project--massive .project-headline h2,
  .history-page .history-project--mesa .project-headline h2 { font-size: clamp(40px, 10vw, 53px); }
  .history-page .project-gallery--mesa figcaption { font-size: 8px; padding: 18px 7px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .history-page .project-gallery img { transition: none; }
  .history-page .project-gallery figure:hover img { transform: none; }
}

/* Keep fragment-linked projects below the sticky site navigation. */
.history-page .history-project { scroll-margin-top: 78px; }


/* v28 | Publishing & Editing: four book covers, one clear editorial story. */
.history-page .history-project--publishing {
  border-top: 1px solid #b9ccd0;
  background: linear-gradient(150deg, #eef4f2 0%, #e8f0ef 54%, #e7edf1 100%);
}
.history-page .history-project--publishing .project-meta { border-top-color: #aabcc1; }
.history-page .history-project--publishing .project-headline h2 { font-size: clamp(60px, 7.8vw, 115px); }
.history-page .history-project--publishing .project-headline h2 span { color: #54817b; }
.history-page .history-project--publishing .project-headline-mark { color: #4c7773; }
.history-page .history-project--publishing .project-summary { border-top-color: #648989; }
.history-page .publishing-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(275px, .75fr);
  align-items: start;
  gap: clamp(35px, 6vw, 85px);
  margin-bottom: clamp(38px, 5vw, 64px);
}
.history-page .publishing-intro .project-credit { margin-bottom: 0; }
.history-page .publishing-news {
  padding: 25px 29px 23px;
  background: rgba(249, 250, 244, .67);
  border-left: 3px solid #63958e;
  box-shadow: 0 15px 35px rgba(23, 57, 63, .045);
}
.history-page .publishing-news-kicker {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 850; color: #3f716b;
}
.history-page .publishing-news p {
  margin: 19px 0 9px; font-weight: 780; color: #1c3945;
  font-size: clamp(19px, 2vw, 24px); letter-spacing: -.035em; line-height: 1.2;
}
.history-page .publishing-news p em { font-style: normal; }
.history-page .publishing-news > span:nth-last-child(2) { display: block; font-size: 14px; color: #4f6567; }
.history-page .publishing-news a {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 6px; border-bottom: 1px solid #6d9992;
  font-weight: 800; font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; color: #3b6863;
}
.history-page .publishing-news a:hover { color: #193744; border-color: #193744; }
.history-page .publishing-news a span { font-size: 16px; }
.history-page .publishing-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 25px);
  align-items: stretch;
}
.history-page .publishing-book { min-width: 0; margin: 0; }
.history-page .publishing-cover {
  height: auto; aspect-ratio: 3 / 4.15;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(44, 76, 83, .12);
  padding: clamp(9px, 1vw, 17px);
}
.history-page .publishing-cover img {
  display: block; max-width: 100%; max-height: 100%;
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(3px 7px 7px rgba(30, 45, 50, .09));
}
.history-page .publishing-book figcaption {
  border-top: 1px solid rgba(82, 125, 123, .3);
  margin-top: 16px; padding-top: 11px;
  color: #203c47; line-height: 1.45;
}
.history-page .publishing-book figcaption strong {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: -.01em;
}
.history-page .publishing-book figcaption span {
  display: block; margin-top: 3px; font-size: 11px; color: #607878;
}
@media (max-width: 950px) {
  .history-page .publishing-intro { grid-template-columns: 1fr; gap: 22px; }
  .history-page .publishing-news { max-width: 560px; }
  .history-page .publishing-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px 18px; }
}
@media (max-width: 700px) {
  .history-page .history-project--publishing .project-headline h2 { font-size: clamp(45px, 9vw, 68px); }
  .history-page .publishing-news { padding: 21px 22px; }
  .history-page .publishing-book figcaption strong { font-size: 11px; }
}
@media (max-width: 400px) {
  .history-page .history-project--publishing .project-headline h2 { font-size: 41px; }
  .history-page .publishing-gallery { gap: 23px 12px; }
  .history-page .publishing-cover { padding: 6px; }
}
