/* Pan Hub — v5: cinema layer, seamless page transitions, the Table, the Reel. */

/* ---------- Seamless page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }
.bar { view-transition-name: bar; }
.hud { view-transition-name: hud; }
::view-transition-group(root) { animation-duration: 1s; }
::view-transition-old(root) { animation: vt-out 1s cubic-bezier(0.76, 0, 0.24, 1) both; }
::view-transition-new(root) { animation: vt-in 1s cubic-bezier(0.76, 0, 0.24, 1) both; }
@keyframes vt-out { to { transform: translateY(-14vh) scale(0.94); opacity: 0.25; filter: none; } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); transform: translateY(10vh); } to { clip-path: inset(0 0 0 0); transform: none; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.01s; }
}

/* ---------- The 007 opening (homage to the classic spy-film titles) ---------- */
.barrel { position: absolute; inset: 0; background: #050505; visibility: hidden; opacity: 0; overflow: hidden; }
.barrel__dots i { position: absolute; top: 50%; left: -6vmin; width: 3.2vmin; height: 3.2vmin; margin-top: -1.6vmin; border-radius: 50%; background: #F7F6F2; }
.barrel__rifling { position: absolute; width: 0; height: 0; overflow: visible; pointer-events: none; opacity: 0; }
.barrel__rifling path { fill: none; stroke: rgba(21, 20, 19, 0.4); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.barrel__rifling circle { fill: none; stroke: rgba(21, 20, 19, 0.75); stroke-width: 2; vector-effect: non-scaling-stroke; }
.barrel__caption { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; color: #F7F6F2; font-size: 0.8125rem; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0; }
.preloader__count { transform-origin: 0% 100%; }

/* ---------- Centred, symmetrical page heroes ---------- */
.page-hero { text-align: center; justify-items: center; }
.page-hero__sub { margin-inline: auto; }
.page-hero__meta { justify-content: center; width: 100%; }

/* ---------- Header tools ---------- */
.bar__tools { display: flex; gap: 0.5rem; margin-left: clamp(0.75rem, 2vw, 2rem); }
.tool {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 2rem; padding: 0 0.75rem;
  border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit;
  font: inherit; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.tool kbd { font: inherit; font-size: 0.6875rem; border: 1px solid currentColor; border-radius: 4px; padding: 0 0.3rem; opacity: 0.7; }
.tool__bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.tool__bars i { width: 2px; height: 3px; background: currentColor; }
.tool.is-on .tool__bars i { animation: eq 0.9s ease-in-out infinite; }
.tool.is-on .tool__bars i:nth-child(2) { animation-delay: -0.3s; }
.tool.is-on .tool__bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }
@media (max-width: 860px) { .tool--sound { display: none; } .tool--index kbd { display: none; } .bar__tools { margin-left: 0.75rem; } }

/* ---------- Film HUD + letterbox ---------- */
.hud {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 48;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.hud__rec { display: inline-flex; align-items: center; gap: 0.5rem; }
.hud__rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: 0; } }
.hud__tc { font-variant-numeric: tabular-nums; }
.hud__left { display: flex; gap: 1.5rem; }
@media (max-width: 760px) { .hud__scene { display: none; } }
.letterbox { position: fixed; inset: 0; z-index: 46; pointer-events: none; }
.letterbox::before, .letterbox::after {
  content: ""; position: absolute; left: 0; right: 0; height: 9vh; background: #000;
  transform: scaleY(0); transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.letterbox::before { top: 0; transform-origin: top; }
.letterbox::after { bottom: 0; transform-origin: bottom; }
.letterbox.is-on::before, .letterbox.is-on::after { transform: scaleY(1); }

/* ---------- ⌘K index ---------- */
.palette { position: fixed; inset: 0; z-index: 120; display: grid; place-items: start center; padding: 12vh var(--gutter) 0; background: rgba(21, 20, 19, 0.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.palette[hidden] { display: none; }
.palette__card { width: min(44rem, 100%); background: var(--cotton); color: var(--ink); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.55); overflow: hidden; }
.palette__head, .palette__foot { display: flex; justify-content: space-between; padding: 1rem 1.25rem; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.palette__head kbd { font: inherit; border: 1px solid var(--rule); padding: 0 0.3rem; }
.palette__input { width: 100%; border: 0; border-bottom: 1px dashed var(--rule); background: transparent; font: inherit; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; padding: 0 1.25rem 1rem; color: var(--ink); caret-color: var(--ink); }
.palette__input:focus { outline: none; }
.palette__list { list-style: none; max-height: min(52vh, 30rem); overflow-y: auto; padding: 0.5rem; }
.palette__group { padding: 0.9rem 0.75rem 0.35rem; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.palette__item { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem; align-items: center; padding: 0.75rem; cursor: pointer; }
.palette__item.is-active { background: var(--ink); color: var(--paper); }
.palette__code { font-size: 0.75rem; opacity: 0.65; font-variant-numeric: tabular-nums; }
.palette__name { font-weight: 700; }
.palette__note { font-size: 0.75rem; opacity: 0.65; text-align: right; }
.palette__item.is-current .palette__note { opacity: 1; }
.palette__empty { padding: 1.5rem 0.75rem; color: var(--ink-soft); }
.palette__foot { border-top: 1px dashed var(--rule); }

/* =====================================================================
   THE TABLE
   ===================================================================== */
body[data-page="table"] .hud { display: none; }
.table { position: relative; height: 100vh; height: 100svh; min-height: 40rem; overflow: hidden; background: var(--paper); user-select: none; }
.table__mat {
  position: absolute; inset: 4.5rem 1.25rem 3rem 2.25rem;
  background-color: #EDEDEA;
  background-image:
    linear-gradient(rgba(21, 20, 19, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 20, 19, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(21, 20, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 20, 19, 0.035) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
  box-shadow: inset 0 0 0 1px var(--rule);
  touch-action: none;
}
.table__ruler-x, .table__ruler-y { position: absolute; font-size: 0.625rem; color: var(--ink-soft); pointer-events: none; }
.table__ruler-x { left: 2.25rem; right: 1.25rem; top: 3.6rem; height: 0.9rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.table__ruler-y { top: 4.5rem; bottom: 3rem; left: 0.4rem; width: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--rule); }
.table__note { position: absolute; left: 2.25rem; bottom: 0.9rem; right: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.table__note kbd { font: inherit; border: 1px solid var(--rule); padding: 0 0.3rem; }
.table__toolbar { position: absolute; bottom: 0.45rem; right: 1.25rem; z-index: 300; display: flex; gap: 0.5rem; }
.table__toolbar .tool { height: 1.75rem; }
.table__note > span:last-child { display: none; }
.t-item:has(.sign) { z-index: 400; }
.table__toolbar .tool { background: var(--cotton); }
.table__toolbar .tool[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Wordmark: letters flip between filled and outlined */
.table__word { position: absolute; left: 1.5rem; bottom: 1rem; z-index: 2; font-weight: 700; font-size: clamp(4rem, 9vw, 10rem); line-height: 0.8; letter-spacing: -0.07em; white-space: nowrap; pointer-events: auto; }
.table__word .tw-line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.table__word .tw-l { display: inline-block; color: var(--ink); -webkit-text-stroke: 1.5px var(--ink); transition: color 0.35s var(--ease-out); }
.table__word .tw-l.is-outline { color: transparent; }
.is-inside-out .table__word .tw-l { color: transparent; }
.is-inside-out .table__word .tw-l.is-outline { color: var(--ink); }
.table__rule { position: absolute; left: 3.5rem; right: 40%; bottom: 2.6rem; height: 1px; background: var(--ink); opacity: 0.3; }

/* Items on the table */
.t-item { position: absolute; top: 0; left: 0; z-index: 10; cursor: grab; touch-action: none; perspective: 1400px; outline-offset: 6px; }
.t-item.is-held { cursor: grabbing; }
.t-item.is-dim { opacity: 0.35; transition: opacity 0.5s; }
.t-flip { position: relative; transform-style: preserve-3d; }
.t-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.t-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.sheet { position: relative; width: clamp(13rem, 17vw, 17rem); min-height: 11rem; background: var(--cotton); padding: 1.25rem 1.25rem 1rem; box-shadow: 0 1px 2px rgba(30, 30, 28, 0.1), 0 18px 40px -18px rgba(30, 30, 28, 0.4); }
.t-item.is-held .sheet, .t-item.is-held .letter { box-shadow: 0 2px 4px rgba(30, 30, 28, 0.1), 0 40px 70px -24px rgba(30, 30, 28, 0.55); }
.sheet--ink { background: var(--lining); color: var(--thread); }
.sheet--wide { width: clamp(15rem, 21vw, 21rem); }
.sheet__meta { display: flex; justify-content: space-between; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.sheet__title { margin-top: 0.9rem; font-weight: 700; font-size: clamp(1.5rem, 1rem + 1vw, 2.1rem); letter-spacing: -0.045em; line-height: 0.98; }
.sheet__text { margin-top: 0.5rem; font-size: 0.75rem; line-height: 1.5; opacity: 0.75; }
.sheet__media { margin: -0.25rem -0.25rem 0.75rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lining); }
.sheet__media video, .sheet__media img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.sheet__rows { margin-top: 0.75rem; display: grid; gap: 0.35rem; font-size: 0.75rem; }
.sheet__rows span { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--rule); padding-bottom: 0.25rem; }
.sheet--ink .sheet__rows span { border-color: rgba(242, 239, 232, 0.2); }
.sheet__weeks { display: grid; grid-template-columns: repeat(26, 1fr); gap: 2px; margin-top: 0.75rem; }
.sheet__weeks i { height: 7px; background: currentColor; opacity: 0.85; }
.sheet__strip { display: flex; gap: 4px; margin-top: 0.75rem; }
.sheet__strip i { flex: 1; aspect-ratio: 4 / 3; border: 1px solid rgba(242, 239, 232, 0.4); }
.stamp { display: inline-block; margin-top: 0.75rem; padding: 0.15rem 0.5rem; border: 1px dashed currentColor; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; transform: rotate(-4deg); }
.tab {
  position: absolute; top: -0.85rem; right: 1rem; z-index: 2;
  padding: 0.2rem 0.6rem; background: var(--ink); color: var(--paper); border: 0; font: inherit; font-size: 0.6875rem; letter-spacing: 0.14em; cursor: pointer;
}
.sheet--ink .tab { background: var(--thread); color: var(--lining); }
.tab:hover, .tab:focus-visible { transform: translateY(-2px); }
.pin { position: absolute; top: -0.4rem; left: 50%; width: 3.5rem; height: 1.1rem; translate: -50% 0; background: rgba(250, 250, 248, 0.75); box-shadow: 0 1px 2px rgba(30, 30, 28, 0.15); rotate: -3deg; }

/* The back of every label: seams and a care label (Inside out mode) */
.seam { position: absolute; inset: 0; background: var(--cotton); padding: 1.25rem; display: grid; align-content: space-between; color: var(--ink); }
.seam::before { content: ""; position: absolute; inset: 0.6rem; border: 1.5px dashed rgba(21, 20, 19, 0.45); pointer-events: none; }
.seam__title { font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; }
.seam__care { font-size: 0.6875rem; line-height: 1.6; }
.seam__care b { display: block; font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; font-weight: 400; margin-top: 0.4rem; }
.seam__x { position: absolute; right: 1.25rem; bottom: 1.25rem; font-size: 0.625rem; opacity: 0.6; }
.is-inside-out .table__mat { background-color: #E2E2DE; }

/* The letter in the middle */
.letter { width: clamp(20rem, 27vw, 28rem); background: #FCFCFA; padding: clamp(1.5rem, 2.4vw, 2.5rem); box-shadow: 0 1px 2px rgba(30, 30, 28, 0.08), 0 30px 70px -26px rgba(30, 30, 28, 0.5); }
.letter__head { display: flex; justify-content: space-between; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--rule); padding-bottom: 0.75rem; }
.letter h1 { margin-top: 1.25rem; font-weight: 700; font-size: clamp(1.6rem, 1rem + 1.4vw, 2.4rem); letter-spacing: -0.045em; line-height: 1; }
.letter p { margin-top: 0.85rem; font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem); line-height: 1.6; }
.letter__sign { margin-top: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.letter__flourish { width: 9rem; height: 2.5rem; }
.letter__flourish path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.letter__foot { margin-top: 1rem; display: flex; justify-content: space-between; font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 0.75rem; }

/* Props */
.tape { width: clamp(22rem, 34vw, 34rem); height: 2.4rem; background: #F4E9B8; display: flex; align-items: flex-start; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(30, 30, 28, 0.4); }
.tape i { flex: none; width: 10px; height: 0.55rem; border-left: 1px solid rgba(21, 20, 19, 0.6); }
.tape i:nth-child(5n + 1) { height: 0.95rem; }
.tape b { position: absolute; bottom: 0.3rem; font-weight: 400; font-size: 0.5625rem; }
.numtag { background: var(--cotton); padding: 0.8rem 1rem; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.25rem 0.6rem; font-size: 0.75rem; box-shadow: 0 1px 2px rgba(30, 30, 28, 0.1), 0 12px 26px -14px rgba(30, 30, 28, 0.4); }
.numtag span:nth-child(2) { outline: 1px solid var(--ink); outline-offset: 2px; border-radius: 50%; text-align: center; }
.chalk { width: 4.5rem; height: 4rem; background: #F5F5F2; clip-path: polygon(50% 0, 100% 100%, 0 100%); box-shadow: inset 0 -6px 0 rgba(21, 20, 19, 0.08); }

/* Guest corner */
.sign { width: clamp(15rem, 20vw, 19rem); padding: 0.75rem; border: 1px dashed rgba(21, 20, 19, 0.45); background: rgba(250, 250, 248, 0.5); }
.sign__head { display: flex; justify-content: space-between; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.sign__pad { display: block; width: 100%; height: 6.5rem; margin-top: 0.5rem; cursor: crosshair; color: var(--ink); touch-action: none; }
.sign__foot { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.625rem; color: var(--ink-soft); }
.sign__foot button { font: inherit; font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; background: none; border: 0; border-bottom: 1px dashed currentColor; color: inherit; cursor: pointer; }

/* Title block / reading as */
.titleblock { width: clamp(18rem, 26vw, 26rem); background: var(--cotton); border: 1px solid var(--ink); font-size: 0.6875rem; box-shadow: 0 18px 40px -20px rgba(30, 30, 28, 0.4); }
.titleblock__top { padding: 1rem; border-bottom: 1px solid var(--ink); }
.titleblock__label { letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.titleblock__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.titleblock__chips button { font: inherit; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.75rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.titleblock__chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.titleblock__hint { margin-top: 0.6rem; color: var(--ink-soft); }
.titleblock__grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 0.25rem 1rem; padding: 0.75rem 1rem; }
.titleblock__grid dt { letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-size: 0.5625rem; }
.titleblock__grid dd { font-variant-numeric: tabular-nums; }

/* A label opening into a page */
.t-open { position: fixed; z-index: 150; background: var(--cotton); display: grid; place-items: center; pointer-events: none; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.5); }
.t-open span { font-weight: 700; font-size: clamp(2rem, 1rem + 4vw, 4.5rem); letter-spacing: -0.05em; }

/* Small screens: the table becomes a stack of labels */
@media (max-width: 860px) {
  .table { height: auto; min-height: 0; overflow: visible; padding: 5.5rem var(--gutter) 3rem; }
  .table__mat { position: relative; inset: auto; display: grid; gap: 1.75rem; padding: 2rem 1rem 3rem; justify-items: center; }
  .table__ruler-x, .table__ruler-y, .table__note, .chalk, .tape-item { display: none; }
  .t-item { position: relative; transform: none !important; cursor: pointer; }
  .table__toolbar { position: static; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
  .table__word { position: relative; left: auto; bottom: auto; font-size: 22vw; margin: 0 0 1.5rem; text-align: center; }
  .table__rule { display: none; }
  .letter, .sheet, .sheet--wide, .sign, .titleblock { width: min(100%, 26rem); }
}

/* =====================================================================
   THE REEL
   ===================================================================== */
body[data-page="reel"] .hud { display: none; }
@media (max-width: 760px) { .hud { display: none; } }
.reel { background: var(--lining); color: var(--thread); padding: 5.25rem 0 4rem; }
.reel__hero.page-hero { min-height: 0; padding: 0 var(--gutter) 1.5rem; }
.reel__hero .page-hero__title { font-size: clamp(2.25rem, 1rem + 3.4vw, 3.75rem); }
.reel__hero .page-hero__sub { margin-top: 0.75rem; color: var(--thread-soft); font-size: 0.9375rem; }
/* The player always fits: frame + controls fit inside one screen, centred. */
.reel__frame { position: relative; width: min(100% - 2 * var(--gutter), (100svh - 16.5rem) * 16 / 9); margin-inline: auto; }
.reel__screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9); }
.reel__screen video { width: 100%; height: 100%; display: block; object-fit: contain; }
.reel__big {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem;
  background: rgba(15, 14, 13, 0.35); border: 0; color: var(--thread); font: inherit; cursor: pointer; transition: opacity 0.5s var(--ease-out);
}
.reel__big b { width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-weight: 400; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; transition: transform 0.5s var(--ease-out), background-color 0.4s; }
.reel__big:hover b { transform: scale(1.08); background: var(--thread); color: var(--lining); }
.reel__big small { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.reel.is-playing .reel__big { opacity: 0; pointer-events: none; }
.reel__controls { display: grid; grid-template-columns: auto auto 1fr auto auto; gap: 1rem; align-items: center; margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.reel__controls button { font: inherit; color: inherit; background: none; border: 1px solid currentColor; padding: 0.45rem 0.85rem; cursor: pointer; }
.reel__time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.reel__time .reel__all { opacity: 0.55; }
.reel__bar { position: relative; height: 2.25rem; cursor: pointer; touch-action: none; }
.reel__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(242, 239, 232, 0.3); }
.reel__fill { position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 3px; background: var(--thread); transform-origin: left; transform: scaleX(0); }
.reel__head { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--thread); translate: -50% -50%; left: 0; }
.reel__tick { position: absolute; top: calc(50% - 7px); width: 1px; height: 14px; background: rgba(242, 239, 232, 0.6); }
.reel__chapter { opacity: 0.7; white-space: nowrap; }
.reel__chapters { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 2.5rem; border-top: 1px solid rgba(242, 239, 232, 0.25); }
.reel__chapters li { padding: 1rem 1rem 1rem 0; cursor: pointer; border-right: 1px solid rgba(242, 239, 232, 0.12); opacity: 0.5; transition: opacity 0.3s; }
.reel__chapters li + li { padding-left: 1rem; }
.reel__chapters li:last-child { border-right: 0; }
.reel__chapters li:hover, .reel__chapters li.is-active { opacity: 1; }
.reel__chapters small { display: block; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.reel__chapters span { display: block; margin-top: 0.35rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em; }
.reel__chapters p { margin-top: 0.35rem; font-size: 0.8125rem; opacity: 0.7; line-height: 1.5; }
.reel__keys { margin-top: 1.5rem; text-align: center; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; }
@media (max-width: 860px) {
  .reel__chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel__chapters li { border-right: 0; border-bottom: 1px solid rgba(242, 239, 232, 0.12); padding-left: 0 !important; }
  .reel__controls { grid-template-columns: auto 1fr; }
  .reel__bar { grid-column: 1 / -1; }
  .reel__chapter, [data-fullscreen] { display: none; }
}

/* Credits roll */
.credits { background: var(--lining); color: var(--thread); padding: 8rem 0; text-align: center; overflow: hidden; }
.credits__roll { display: grid; gap: 3rem; }
.credits__role { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; }
.credits__name { margin-top: 0.5rem; font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); letter-spacing: -0.04em; }
.credits__end { margin-top: 4rem; font-style: italic; font-size: clamp(2rem, 1rem + 4vw, 4.5rem); letter-spacing: -0.03em; }
