/* ---------- clapperboard header ---------- */
.bb-clapper { position: relative; z-index: 30; background: var(--bb-cream); }
.bb-clapper-sticks {
  position: relative;
  height: 22px;
  background: repeating-linear-gradient(-58deg, var(--bb-brown) 0 20px, var(--bb-paper) 20px 40px);
  border: 3px solid var(--bb-brown);
  border-width: 0 0 3px;
  transform-origin: 0 100%;
  transform: rotate(-.7deg);
}
.bb-clapper-sticks span {
  position: absolute;
  left: 10px; bottom: -9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bb-sun);
  border: 3px solid var(--bb-brown);
}
.bb-slate {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 66px;
  padding: 0 16px;
  background-color: var(--bb-brown);
  background-image: var(--bb-print);
  color: var(--bb-paper);
}
.bb-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 0;
  margin-right: 4px;
  color: var(--bb-paper);
  text-decoration: none;
  font-family: var(--bb-face);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
  border-right: 2px dashed rgba(255, 248, 236, .32);
}
.bb-mark:hover { color: var(--bb-paper); }
.bb-mark .bb-badge { flex: none; transform: rotate(-8deg); }
.bb-mark-tail { color: var(--bb-sun); }
.bb-route { display: flex; flex: 1; }
.bb-route-list { display: flex; list-style: none; margin: 0; padding: 0; }
.bb-route-list a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: var(--bb-paper);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-right: 2px dashed rgba(255, 248, 236, .22);
}
.bb-route-list a:hover { color: var(--bb-sun); }
.bb-route-list a[aria-current="page"] { color: var(--bb-sun); text-decoration: underline wavy; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.bb-route-extra { display: none; }
.bb-route-toggle { display: none; }
.bb-tin {
  align-self: center;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  min-height: 48px;
  padding: 5px 14px 4px;
  color: var(--bb-brown);
  background: var(--bb-sun);
  border: 3px solid var(--bb-paper);
  border-radius: var(--bb-lump-b);
  box-shadow: var(--bb-sheen), 3px 4px 0 rgba(0, 0, 0, .35);
  cursor: pointer;
  font: inherit;
  transition: transform .4s cubic-bezier(.28, 1.9, .45, 1);
}
.bb-tin:active { transform: scale(1.08, .88); transition-duration: .08s; }
.bb-tin-label { font-family: var(--bb-face); font-size: .74rem; line-height: 1; opacity: .85; }
.bb-tin-sum { display: flex; align-items: center; gap: 6px; font-family: var(--bb-face); font-weight: 800; font-size: 1.2rem; line-height: 1.05; font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .bb-slate { padding: 0 12px; min-height: 60px; gap: 8px; }
  .bb-mark { border-right: 0; padding-right: 0; font-size: 1.3rem; }
  .bb-route { flex: none; order: 3; }
  .bb-route-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: center;
    min-height: 48px;
    padding: 0 12px;
    font: inherit;
    font-family: var(--bb-face);
    font-weight: 700;
    color: var(--bb-paper);
    background: transparent;
    border: 3px solid var(--bb-paper);
    border-radius: var(--bb-lump-a);
    cursor: pointer;
  }
  .bb-route-bars, .bb-route-bars::before, .bb-route-bars::after {
    display: block; width: 18px; height: 3px; border-radius: 3px; background: currentColor; content: ""; position: relative;
  }
  .bb-route-bars::before { position: absolute; top: -6px; }
  .bb-route-bars::after { position: absolute; top: 6px; width: 14px; }
  .bb-route-list {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    padding: 6px 16px 18px;
    background-color: var(--bb-brown);
    background-image: var(--bb-print);
    border-top: 2px dashed rgba(255, 248, 236, .3);
    box-shadow: 0 10px 0 rgba(58, 35, 23, .25);
  }
  .bb-route--out .bb-route-list { display: flex; }
  .bb-route-extra { display: block; }
  .bb-route-list a { padding: 13px 4px; border-right: 0; border-bottom: 2px dashed rgba(255, 248, 236, .18); font-size: 1.08rem; }
  .bb-tin { margin-left: auto; order: 2; padding: 4px 12px; }
}
@media (max-width: 560px) {
  .bb-mark-tail, .bb-tin-label, .bb-route-word { display: none; }
  .bb-mark .bb-badge { width: 36px; height: 36px; }
  .bb-route-toggle { width: 48px; justify-content: center; padding: 0; }
  .bb-tin-sum { font-size: 1.08rem; }
}

/* ---------- end credits footer ---------- */
.bb-credits {
  position: relative;
  margin-top: 80px;
  padding: 60px 16px 46px;
  background-color: var(--bb-brown);
  background-image: var(--bb-print);
  color: #f3e6d2;
  text-align: center;
}
.bb-credits::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -26px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='28' viewBox='0 0 140 28'%3E%3Cpath d='M0 28V16C14 6 24 4 38 12s28 14 44 4 30-14 44-6c6 3 10 6 14 6v12z' fill='%233a2317'/%3E%3C/svg%3E") repeat-x;
}
.bb-credits-roll { max-width: 980px; margin: 0 auto; }
.bb-credits-wrap { font-family: var(--bb-face); font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.6rem); color: var(--bb-sun); line-height: 1; margin-bottom: 34px; transform: rotate(-2deg); }
.bb-credits-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-bottom: 40px; }
.bb-credits h2 { font-size: 1.05rem; color: var(--bb-candy); margin-bottom: 10px; }
.bb-credits ul { list-style: none; margin: 0; padding: 0; }
.bb-credits li { margin: 0 0 6px; }
.bb-credits a { color: var(--bb-butter); }
.bb-credits a:hover { color: #fff; }
.bb-credits-help {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 780px;
  margin: 0 auto 26px;
  padding: 18px 20px;
  text-align: left;
  border: 2px dashed rgba(255, 248, 236, .45);
  border-radius: var(--bb-lump-c);
}
.bb-credits-help p { margin: 0; }
.bb-credits-help .bb-credits-age {
  flex: none;
  display: grid; place-items: center;
  width: 64px; height: 58px;
  font-family: var(--bb-face); font-weight: 800; font-size: 1.4rem;
  color: var(--bb-brown);
  background: var(--bb-sun);
  border: 3px solid var(--bb-paper);
  border-radius: 48% 52% 46% 54% / 56% 44% 56% 44%;
  transform: rotate(-7deg);
}
.bb-credits-law, .bb-credits-firm { max-width: 780px; margin: 0 auto 14px; font-size: .93rem; }
.bb-credits-end { margin: 22px 0 0; font-size: .88rem; color: #dccbb3; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .bb-credits-cols { grid-template-columns: 1fr; gap: 20px; }
  .bb-credits-help { flex-direction: column; align-items: flex-start; }
}

/* ---------- home: the set ---------- */
.bb-opening {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 56px 16px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
}
.bb-lamp { position: absolute; top: -6px; z-index: 4; width: 96px; pointer-events: none; }
.bb-lamp svg { display: block; width: 100%; height: auto; }
.bb-lamp--left { left: 1.5%; transform: rotate(-16deg); transform-origin: 50% 0; }
.bb-lamp--right { right: 1.5%; transform: rotate(18deg); transform-origin: 50% 0; }
.bb-beam {
  position: absolute;
  top: 74%; left: 50%;
  width: 300px; height: 460px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 230, 154, .55), rgba(255, 230, 154, 0) 82%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
}
.bb-viewfinder { position: relative; z-index: 2; margin: 0; }
.bb-viewfinder-glass {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 4px solid var(--bb-brown);
  border-radius: 34px 22px 40px 26px / 26px 38px 22px 34px;
  background-color: var(--bb-teal);
  background-image: var(--bb-print);
  box-shadow: 9px 11px 0 var(--bb-brown);
}
.bb-viewfinder-glass img { width: 100%; height: 100%; object-fit: cover; }
.bb-vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid var(--bb-paper); filter: drop-shadow(1px 1px 0 rgba(58, 35, 23, .6)); }
.bb-vf-corner--tl { top: 16px; left: 16px; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 8px; }
.bb-vf-corner--tr { top: 16px; right: 16px; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 8px; }
.bb-vf-corner--bl { bottom: 16px; left: 16px; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 8px; }
.bb-vf-corner--br { bottom: 16px; right: 16px; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 8px; }
.bb-vf-rec { display: flex; align-items: center; gap: 8px; margin: 18px 0 0 6px; font-family: var(--bb-face); font-size: 1rem; color: var(--bb-cocoa); }
.bb-cam-dot { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--bb-tomato); border: 2px solid var(--bb-brown); animation: bb-blink 1s steps(2, jump-none) infinite; }
@keyframes bb-blink { 50% { opacity: .2; } }

.bb-plaque {
  position: relative;
  z-index: 3;
  margin: 0 0 0 -70px;
  padding: 32px 30px 26px;
  background: var(--bb-paper);
  border: 4px solid var(--bb-brown);
  border-radius: var(--bb-lump-b);
  box-shadow: var(--bb-sheen), 8px 10px 0 var(--bb-brown);
  --bb-tilt: 1deg;
  transform: rotate(var(--bb-tilt));
}
.bb-plaque::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -26px; right: -18px;
  width: 120px; height: 90px;
  background: var(--bb-gum);
  border: 4px solid var(--bb-brown);
  border-radius: 58% 42% 62% 38% / 50% 60% 40% 50%;
}
.bb-plaque h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.bb-plaque-acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.bb-plaque-age { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .95rem; color: var(--bb-cocoa); }
.bb-plaque-age span {
  flex: none; display: grid; place-items: center; width: 44px; height: 40px;
  font-family: var(--bb-face); font-weight: 800; color: var(--bb-brown);
  background: var(--bb-sun); border: 3px solid var(--bb-brown);
  border-radius: 46% 54% 50% 50% / 56% 46% 54% 44%;
}
@media (max-width: 900px) {
  .bb-opening { grid-template-columns: 1fr; padding-top: 44px; }
  .bb-plaque { margin: -34px 8px 0; --bb-tilt: -.6deg; padding: 26px 20px 22px; }
  .bb-plaque::before { width: 80px; height: 60px; top: -18px; right: -6px; }
  .bb-lamp { width: 64px; }
  .bb-beam { width: 190px; height: 300px; }
  .bb-vf-rec { margin-bottom: 0; }
}

/* ---------- home: corkboard storyboard ---------- */
.bb-cork { max-width: 1260px; margin: 50px auto 0; padding: 0 16px; scroll-margin-top: 20px; }
.bb-cork-head { max-width: 680px; margin: 0 0 22px; }
.bb-cork-head h2 {
  display: inline-block;
  padding-bottom: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='12' viewBox='0 0 60 12'%3E%3Cpath d='M2 7c7-6 12-6 19 0s12 6 19 0 12-6 18 0' fill='none' stroke='%23e5492e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom / 60px 12px;
}
.bb-cork-pins {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 34px 28px;
  padding: clamp(26px, 4vw, 48px);
  background-color: var(--bb-cork);
  background-image:
    radial-gradient(circle at 30% 40%, rgba(58, 35, 23, .28) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 70% 70%, rgba(255, 236, 200, .35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 50% 10%, rgba(58, 35, 23, .18) 0 1.6px, transparent 2.2px);
  background-size: 9px 11px, 13px 7px, 17px 19px;
  border: 6px solid var(--bb-brown);
  border-radius: 30px 22px 34px 18px / 20px 32px 18px 30px;
  box-shadow: inset 0 0 0 8px rgba(58, 35, 23, .12), 8px 10px 0 var(--bb-brown);
}
.bb-shot {
  position: relative;
  padding: 14px 14px 16px;
  background: var(--bb-paper);
  border: 3px solid var(--bb-brown);
  border-radius: var(--bb-lump-a);
  box-shadow: 6px 8px 0 rgba(58, 35, 23, .42);
  transform: rotate(var(--bb-tilt, 0deg));
}
.bb-shot--a { grid-column: 1 / 8; grid-row: 1 / 3; --bb-tilt: -1.1deg; }
.bb-shot--b { grid-column: 1 / 6; grid-row: 3; --bb-tilt: 1.2deg; border-radius: var(--bb-lump-b); }
.bb-shot--c { grid-column: 6 / 9; grid-row: 3; --bb-tilt: -1.8deg; margin-top: 28px; }
.bb-shot--d { grid-column: 9 / 13; grid-row: 3; --bb-tilt: .9deg; border-radius: var(--bb-lump-c); }
.bb-shot-slate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px dashed rgba(58, 35, 23, .35); font-family: var(--bb-face); }
.bb-shot-no { background: var(--bb-brown); color: var(--bb-paper); padding: 3px 10px 1px; border-radius: 10px 14px 9px 12px; font-weight: 700; }
.bb-shot-cam { color: var(--bb-cocoa); font-size: .95rem; }
.bb-shot-cam::before { content: "→ "; color: var(--bb-brick); font-weight: 800; }
.bb-shot-pic {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 3px solid var(--bb-brown);
  border-radius: 16px 22px 14px 20px;
  background-color: var(--bb-candy);
  background-image: var(--bb-print);
}
.bb-shot--a .bb-shot-pic { aspect-ratio: 4 / 3; }
.bb-shot-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.bb-shot:hover .bb-shot-pic img { transform: scale(1.04); }
.bb-shot h3 { margin: 14px 0 4px; }
.bb-shot--a h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bb-shot h3 a { color: var(--bb-brown); text-decoration: none; }
.bb-shot h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bb-shot h3 a:hover { text-decoration: underline wavy var(--bb-tomato); text-underline-offset: 5px; }
.bb-shot h3 a:focus-visible { outline: none; }
.bb-shot:focus-within { outline: 4px solid var(--bb-teal); outline-offset: 4px; }
.bb-scrawl { font-family: var(--bb-face); font-size: 1.12rem; color: var(--bb-cocoa); margin-bottom: 12px; }
.bb-shot-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.bb-shot-meta span { padding: 2px 10px; font-size: .88rem; font-weight: 700; background: var(--bb-butter); border: 2px solid var(--bb-brown); border-radius: 12px 16px 10px 14px; }
.bb-shot-meta span + span { background: #d6efe9; }

.bb-tape {
  position: absolute;
  z-index: 2;
  width: 96px; height: 28px;
  background: rgba(255, 242, 206, .82);
  box-shadow: 0 1px 3px rgba(58, 35, 23, .25);
  clip-path: polygon(0 8%, 6% 0, 12% 10%, 20% 2%, 100% 0, 96% 50%, 100% 100%, 88% 92%, 80% 100%, 0 100%, 4% 50%);
}
.bb-tape--tl { top: -12px; left: -26px; transform: rotate(-28deg); }
.bb-tape--tr { top: -12px; right: -26px; transform: rotate(24deg); }
.bb-tape--tc { top: -15px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.bb-tape--bl { bottom: -10px; left: -24px; transform: rotate(20deg); }

.bb-callsheet {
  position: relative;
  grid-column: 8 / 13;
  grid-row: 1;
  align-self: start;
  padding: 26px 20px 20px 40px;
  background-color: #fffdf7;
  background-image:
    linear-gradient(90deg, transparent 26px, rgba(229, 73, 46, .45) 26px 28px, transparent 28px),
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(31, 143, 135, .2) 33px 35px);
  border: 3px solid var(--bb-brown);
  border-radius: 14px 20px 12px 18px;
  box-shadow: 6px 8px 0 rgba(58, 35, 23, .42);
  --bb-tilt: 1.3deg;
  transform: rotate(var(--bb-tilt));
}
.bb-pin { position: absolute; top: -12px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9a85, var(--bb-tomato) 55%, var(--bb-brick)); border: 3px solid var(--bb-brown); box-shadow: 2px 3px 0 rgba(58, 35, 23, .4); }
.bb-callsheet h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.bb-cs-date { margin: 2px 0 10px; font-family: var(--bb-face); color: var(--bb-cocoa); }
.bb-cs-lines { margin: 0 0 16px; }
.bb-cs-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 2px dotted rgba(58, 35, 23, .35); }
.bb-cs-lines dt { color: var(--bb-cocoa); flex: none; }
.bb-cs-lines dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bb-cs-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-cs-acts [hidden] { display: none; }
.bb-cs-clock { margin: 12px 0 0; font-size: .95rem; color: var(--bb-cocoa); }
.bb-cs-clock span { font-weight: 700; color: var(--bb-brown); font-variant-numeric: tabular-nums; }

.bb-sticky {
  grid-column: 9 / 13;
  grid-row: 2;
  align-self: start;
  padding: 18px 20px;
  background: var(--bb-gum);
  border: 3px solid var(--bb-brown);
  border-radius: var(--bb-lump-b);
  box-shadow: 5px 7px 0 rgba(58, 35, 23, .42);
  --bb-tilt: -2.2deg;
  transform: rotate(var(--bb-tilt));
}
.bb-sticky p { margin: 0; font-size: 1rem; }

@media (max-width: 980px) {
  .bb-cork-pins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .bb-shot--a, .bb-callsheet { grid-column: 1 / 3; grid-row: auto; }
  .bb-callsheet { order: -1; }
  .bb-shot--a { order: -2; }
  .bb-shot--b, .bb-shot--c, .bb-shot--d, .bb-sticky { grid-column: auto; grid-row: auto; margin-top: 0; }
}
@media (max-width: 600px) {
  .bb-cork-pins { grid-template-columns: minmax(0, 1fr); padding: 26px 16px; }
  .bb-shot--a, .bb-callsheet, .bb-shot--b, .bb-shot--c, .bb-shot--d, .bb-sticky { grid-column: 1; }
  .bb-shot--a .bb-shot-pic { aspect-ratio: 1 / 1; }
  .bb-tape { width: 74px; height: 24px; }
  .bb-tape--tl { left: -14px; }
  .bb-tape--tr { right: -14px; }
  .bb-tape--bl { left: -12px; }
}

/* ---------- home: filmstrip ---------- */
.bb-film { max-width: 1260px; margin: 70px auto 0; padding: 0 16px; }
.bb-film-roll {
  position: relative;
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 42px 18px;
  background: var(--bb-brown);
  border-radius: 14px 18px 12px 16px;
  box-shadow: 6px 8px 0 rgba(58, 35, 23, .3);
}
.bb-film-roll::before, .bb-film-roll::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--bb-cream) 0 18px, transparent 18px 36px);
  border-radius: 3px;
}
.bb-film-roll::before { top: 14px; }
.bb-film-roll::after { bottom: 14px; }
.bb-film-roll li { position: relative; padding: 20px 18px 16px; background: var(--bb-paper); border-radius: 8px 12px 9px 11px; }
.bb-film-roll li:nth-child(2) { background: #fde9f0; }
.bb-film-roll li:nth-child(3) { background: #fff1c9; }
.bb-film-roll li:nth-child(4) { background: #dcf1ec; }
.bb-film-no { display: block; font-family: var(--bb-face); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--bb-brick); margin-bottom: 6px; }
.bb-film-roll h3 { font-size: 1.3rem; }
.bb-film-roll p { margin: 0; font-size: 1rem; }
@media (max-width: 900px) {
  .bb-film-roll { grid-template-columns: minmax(0, 1fr); padding: 18px 46px; }
  .bb-film-roll::before, .bb-film-roll::after {
    top: 14px; bottom: 14px; left: auto; right: auto; width: 14px; height: auto;
    background: repeating-linear-gradient(180deg, var(--bb-cream) 0 18px, transparent 18px 36px);
  }
  .bb-film-roll::before { left: 16px; }
  .bb-film-roll::after { right: 16px; }
}

/* ---------- home: pier sign ---------- */
.bb-pier { position: relative; max-width: 880px; margin: 76px auto 0; padding: 0 16px 64px; }
.bb-pier-sign {
  position: relative;
  z-index: 1;
  padding: 30px clamp(20px, 4vw, 40px) 26px;
  color: var(--bb-paper);
  background-color: var(--bb-sea);
  background-image: var(--bb-print);
  border: 4px solid var(--bb-brown);
  border-radius: var(--bb-lump-c);
  box-shadow: var(--bb-sheen), 8px 10px 0 var(--bb-brown);
}
.bb-pier-sign a:not(.bb-squish) { color: var(--bb-butter); }
.bb-pier-sign .bb-squish--teal { --bb-fill: var(--bb-sun); --bb-ink: var(--bb-brown); }
.bb-pier-sign p:last-child { margin: 0; }
.bb-pier-post { position: absolute; bottom: 0; width: 28px; height: 110px; background: var(--bb-cork); border: 4px solid var(--bb-brown); border-radius: 8px 10px 4px 6px; }
.bb-pier-post--l { left: 22%; }
.bb-pier-post--r { right: 22%; }

/* ---------- text pages ---------- */
.bb-page { max-width: 900px; margin: 44px auto 0; padding: 0 16px; }
.bb-page-head { margin: 0 0 26px; }
.bb-page-intro { font-size: 1.18rem; max-width: 62ch; }
.bb-scene-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px 2px;
  font-family: var(--bb-face);
  font-weight: 700;
  color: var(--bb-paper);
  background: var(--bb-brown);
  border-radius: 10px 15px 9px 13px;
  transform: rotate(-2deg);
}
.bb-script {
  padding: clamp(22px, 4.5vw, 46px);
  background: var(--bb-paper);
  border: 3px solid var(--bb-brown);
  border-radius: var(--bb-lump-b);
  box-shadow: var(--bb-sheen), 7px 9px 0 var(--bb-brown);
}
.bb-script h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 1.5em; display: flex; align-items: center; gap: 12px; }
.bb-script h2:first-child { margin-top: 0; }
.bb-script h2::before { content: ""; flex: none; width: 18px; height: 16px; background: var(--bb-tomato); border: 3px solid var(--bb-brown); border-radius: 52% 48% 60% 40% / 50% 60% 40% 50%; }
.bb-script h2:nth-of-type(3n+2)::before { background: var(--bb-sun); }
.bb-script h2:nth-of-type(3n)::before { background: var(--bb-teal); }
.bb-script h3 { font-size: 1.25rem; margin-top: 1.2em; }
.bb-script ul, .bb-script ol { padding-left: 1.3em; margin: 0 0 1em; }
.bb-script li { margin-bottom: .45em; }
.bb-script > :last-child { margin-bottom: 0; }
.bb-callout {
  margin: 1.4em 0;
  padding: 18px 20px;
  background: #fff1c9;
  border: 3px solid var(--bb-brown);
  border-radius: var(--bb-lump-a);
}
.bb-callout--sea { background: #dcf1ec; }
.bb-callout--gum { background: #fde9f0; }
.bb-callout > :last-child { margin-bottom: 0; }
.bb-helpers { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.bb-helpers li { padding: 14px 16px; background: #fff; border: 3px solid var(--bb-brown); border-radius: 16px 22px 14px 20px; margin: 0 !important; }
.bb-helpers strong { display: block; font-family: var(--bb-face); font-size: 1.2rem; }
.bb-mailto { font-family: var(--bb-face); font-weight: 700; font-size: clamp(1.2rem, 4.4vw, 1.8rem); overflow-wrap: anywhere; }
.bb-keytable td:first-child, .bb-keytable th:first-child { white-space: nowrap; }

/* ---------- the lot: shot list ---------- */
.bb-shotlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.bb-take {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 210px) minmax(0, 1fr) minmax(0, 270px);
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: var(--bb-paper);
  border: 3px solid var(--bb-brown);
  border-radius: var(--bb-lump-a);
  box-shadow: var(--bb-sheen), 7px 9px 0 var(--bb-brown);
}
.bb-take:nth-child(2) { border-radius: var(--bb-lump-b); }
.bb-take:nth-child(3) { border-radius: var(--bb-lump-c); }
.bb-take-no { font-family: var(--bb-face); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--bb-brick); text-align: center; }
.bb-take-no small { display: block; font-size: .9rem; color: var(--bb-cocoa); font-weight: 700; }
.bb-take-pic { display: block; aspect-ratio: 1 / 1; overflow: hidden; border: 3px solid var(--bb-brown); border-radius: 16px 22px 14px 20px; background: var(--bb-candy); }
.bb-take-pic img { width: 100%; height: 100%; object-fit: cover; }
.bb-take h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3em; }
.bb-take h2 a { color: var(--bb-brown); text-decoration: none; }
.bb-take h2 a:hover { text-decoration: underline wavy var(--bb-tomato); }
.bb-take p { margin: 0 0 .6em; }
.bb-take-facts { margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.bb-take-facts div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 2px dotted rgba(58, 35, 23, .3); padding-bottom: 4px; }
.bb-take-facts dt { color: var(--bb-cocoa); }
.bb-take-facts dd { margin: 0; font-weight: 700; text-align: right; }
.bb-take .bb-squish { margin-top: 12px; width: 100%; font-size: 1.02rem; white-space: nowrap; }
.bb-take-facts dt { flex: none; }
@media (max-width: 900px) {
  .bb-take { grid-template-columns: 60px minmax(0, 1fr); }
  .bb-take-pic { grid-column: 2; grid-row: 1; max-width: 220px; }
  .bb-take-no { grid-row: 1; align-self: start; }
  .bb-take-words, .bb-take-side { grid-column: 1 / 3; }
}

/* ---------- 404 and 410 ---------- */
.bb-void { max-width: 1000px; margin: 54px auto 0; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 34px; align-items: center; }
.bb-void-prop { display: grid; place-items: center; padding: 26px; background: var(--bb-candy); border: 4px solid var(--bb-brown); border-radius: var(--bb-lump-c); box-shadow: 7px 9px 0 var(--bb-brown); transform: rotate(-2deg); }
.bb-void--gone .bb-void-prop { background: var(--bb-butter); }
.bb-void-code { font-family: var(--bb-face); font-weight: 700; color: var(--bb-brick); font-size: 1.15rem; margin-bottom: .3em; }
.bb-void-list { padding-left: 1.2em; }
.bb-void-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 760px) {
  .bb-void { grid-template-columns: minmax(0, 1fr); }
  .bb-void-prop { max-width: 240px; }
}

@media (prefers-reduced-motion: no-preference) {
  .bb-sticky, .bb-plaque::before { animation: bb-boil 1.25s steps(3, jump-none) infinite; }
}

.bb-page--wide { max-width: 1140px; }
.bb-page--wide > .bb-callout { margin-top: 34px; }

@media (min-width: 901px) {
  .bb-lamp--right { right: auto; left: calc(58% - 150px); transform: rotate(24deg); }
}
@media (max-width: 900px) {
  .bb-plaque { margin-top: 12px; }
  .bb-vf-rec { font-size: .92rem; margin-top: 14px; }
}
.bb-plaque::before { top: -34px; right: -34px; width: 86px; height: 64px; }
.bb-plaque h1 { padding-right: 22px; }
.bb-tin { padding-top: 7px; }
.bb-tin-label { line-height: 1.15; }
.bb-sticky { align-self: center; }
