/* A little warmth and a single clear route into the archive. */
.logbook-page .latest-entry{background:#fff0eb}
.logbook-page .latest-copy>.eyebrow{display:inline-block;background:var(--pink);color:var(--ink);padding:6px 10px;font-size:10px}
.logbook-page .archive-heading{margin-bottom:28px;align-items:center}
.logbook-page .archive-heading h2{font-size:clamp(40px,4vw,60px);margin:12px 0 0}
.logbook-page .archive-heading .eyebrow{margin:0;color:var(--ink)}
.logbook-page .archive-heading>img{width:170px;margin:0 4% 0 0}
.logbook-page .archive-filters{border:0;background:#f3f0e9;padding:20px 24px;gap:22px;align-items:end}
.logbook-page .archive-filters .search-field{align-self:end}
.logbook-page .archive-filters input,.logbook-page .archive-filters select{background:#fff;border:0;padding:11px 12px;font-size:18px}
.logbook-page .entry-meta{justify-content:flex-start;margin:16px 0 14px}
.logbook-page .entry-meta time{display:inline-block;background:var(--pink);color:var(--ink);padding:5px 9px}
.logbook-page .story-count{color:var(--ink);margin:20px 0 26px}
.logbook-page .archive-languages{display:flex;gap:22px;align-items:center;margin:0 0 10px;font:13px/1.5 'Space Mono',monospace}
.logbook-page .archive-languages a{padding:8px 0;text-decoration:none;border-bottom:1px solid transparent}
.logbook-page .archive-languages a[aria-current=true]{border-bottom-color:currentColor}
.logbook-page .archive-languages a:is(:hover,:focus-visible){color:var(--pink);border-bottom-color:currentColor}
.logbook-page .film-grid{row-gap:46px}
.logbook-page .film-player{min-height:0}
.logbook-page .logbook-header-whale{width:clamp(145px,18vw,245px);height:180px;right:5%;bottom:-35px;object-fit:contain;transform:rotate(-8deg);filter:brightness(0) saturate(100%) invert(77%) sepia(26%) saturate(955%) hue-rotate(314deg) brightness(103%) contrast(101%);z-index:4;pointer-events:none}
@media(max-width:760px){
 .logbook-page .archive-heading h2{font-size:43px}
 .logbook-page .archive-heading>img{width:120px;margin:0 0 10px auto}
 .logbook-page .archive-filters{padding:18px;gap:18px}
 .logbook-page .archive-filters .search-field{grid-column:1/-1}
 .logbook-page .logbook-header-whale{width:130px;height:100px;bottom:-25px;right:18px}
 .logbook-page .film-grid{row-gap:38px}
}

@media(max-width:600px){.logbook-page .archive-heading{display:flex;gap:20px}.logbook-page .archive-heading>div{min-width:0;flex:1}.logbook-page .archive-heading>img{width:85px;flex:none;margin:0}.logbook-page .archive-heading h2{font-size:38px}}
.logbook-page .play-symbol{font-size:0;padding-left:4px}
.logbook-page .play-symbol:before{content:'';display:block;width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:13px solid var(--ink)}

body.logbook-page nav.log-routes {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  padding: 4px var(--pad);
  font-size: 14px;
}
.log-routes a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 760px) {
  body.logbook-page .menu-hero.menu-hero-logbook .logbook-header-whale {
    width: clamp(62px, 17vw, 105px);
    height: auto;
    bottom: -16px;
  }
}

.logbook-page .films-heading {
  display: grid;
  grid-template-columns: auto minmax(76px, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 44px);
}
.logbook-page .films-monster {
  width: clamp(76px, 11vw, 145px);
  max-width: 100%;
  height: auto;
  justify-self: center;
  filter: brightness(0) saturate(100%) invert(77%) sepia(26%) saturate(955%) hue-rotate(314deg) brightness(103%) contrast(101%);
}
@media (max-width: 760px) {
  .logbook-page .films-heading { grid-template-columns: minmax(0, 1fr) auto; }
  .logbook-page .films-heading .text-link { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
}

.logbook-page .logbook-hero-shark {
  position: absolute;
  left: 75%;
  bottom: -12px;
  transform: translateX(-50%);
  width: clamp(123px, 17.4vw, 231px);
  aspect-ratio: 1115 / 727;
  z-index: 4;
  background: var(--gold);
  mask: url("assets/art-shark.png") center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 760px) {
  .logbook-page .logbook-hero-shark { width: clamp(85px, 25.2vw, 131px); bottom: 0; }
}

.logbook-page .archive-filters select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%23161616' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px 9px;
  background-position: right 14px center;
  background-repeat: no-repeat;
}
@media (forced-colors: active) {
  .logbook-page .archive-filters select { appearance: auto; background-image: none; }
}

body.logbook-page main .log-instagram p:not(.eyebrow) { font-size: clamp(22px, 2vw, 24px); }

/* The Logbook opens with the reason to tell the story before offering chapters. */
body.logbook-page main .log-opening { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8%; align-items: start; }
body.logbook-page main .log-opening .eyebrow { color: var(--ink); }
body.logbook-page main .log-opening h2 { font-size: clamp(38px, 4vw, 56px); line-height: 1.1; margin: 0; }
body.logbook-page main .log-opening > p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; max-width: 660px; margin: 0; }
body.logbook-page main .log-index { padding-block: 9px; }
body.logbook-page main .log-collaborate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: start; background: #fff; }
body.logbook-page main .log-collaborate h2 { font-size: clamp(38px, 4vw, 56px); line-height: 1.1; margin: 0; }
body.logbook-page main .log-collaborate > div > p:not(.eyebrow) { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; max-width: 620px; margin: 0 0 25px; }
@media (max-width: 760px) {
  body.logbook-page main .log-opening, body.logbook-page main .log-collaborate { grid-template-columns: 1fr; gap: 24px; }
  body.logbook-page main .log-opening h2, body.logbook-page main .log-collaborate h2 { font-size: 38px; }
  body.logbook-page main .log-index { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; padding-right: 6%; }
}

body.logbook-page main .log-opening p.eyebrow,
body.logbook-page main .archive-heading p.eyebrow { color: var(--pink); }

/* Keep the introduction, overview and first stories in one reading sequence. */
body.logbook-page main .log-opening { padding-bottom: 32px; }
body.logbook-page main .logbook-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 0;
}
body.logbook-page main .archive { padding-top: 48px; }
body.logbook-page main .archive-heading { margin-bottom: 12px; }
body.logbook-page main .archive-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 20px;
}
body.logbook-page main .archive-tools .archive-languages,
body.logbook-page main .archive-tools .story-count { margin: 0; }
body.logbook-page main .archive-tools .archive-languages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 760px) {
  body.logbook-page main .log-opening { padding-bottom: 24px; }
  body.logbook-page main .logbook-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 6%;
  }
  body.logbook-page main .archive { padding-top: 32px; }
  body.logbook-page main .archive-tools { gap: 8px 16px; margin-bottom: 16px; }
}

/* Small section labels pair with the large black titles through colour. */
body.logbook-page main :is(.log-opening, .archive-heading, .films-heading, .log-collaborate) p.eyebrow {
  color: var(--pink);
}
body.logbook-page main .log-instagram p.eyebrow {
  color: var(--white);
}

/* Keep the mobile Instagram copy, handle and photograph together. */
@media (max-width: 760px) {
 html body.logbook-page main .log-instagram > div > .text-link { margin-top: 12px; }
 html body.logbook-page main .log-instagram > figure { margin-top: 16px; }
}

html body.logbook-page main .log-collaborate .artist-discovery-link {
 font-size: var(--type-body, 18px) !important; font-weight: 500; line-height: 1.4;
 color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: .2em;
}
html body.logbook-page main .log-collaborate .artist-discovery-link:is(:hover, :focus-visible) { color: var(--pink); }

/* Keep each story's date, author and reading time together above its title. */
html body.logbook-page main .entry-meta { display:flex; align-items:center; gap:12px; font-size:14px; }
html body.logbook-page main .entry-meta time { flex:none; white-space:nowrap; }
html body.logbook-page main .entry-meta .entry-byline { display:flex; flex-wrap:wrap; align-items:center; gap:0 10px; min-width:0; }
html body.logbook-page main .entry-meta .entry-duration { white-space:nowrap; }
