/* The header on every page (site_nav.nav): the mark, the grouped menu (Watch · Shows · Read · Community), back and
   forward arrows, Start here, and a menu button on small screens; the previous/next page pills at the bottom (nav.js).
   Self-contained colours, so it looks the same on pages with a look of their own (the films). */
.znav { position: sticky; top: 0; z-index: 50; background: rgba(24, 24, 31, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-family: Inter, system-ui, sans-serif; color: #adadb9; }
.znav .zwrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.znav a { text-decoration: none; color: inherit; }
.zbrand { display: flex; align-items: center; gap: 12px; flex: none; }
.zmark { width: 38px; height: 38px; border-radius: 12px; padding: 1px; background: linear-gradient(45deg, #a855f7, #06b6d4, #fff); display: block; }
.zmark span { display: flex; width: 100%; height: 100%; border-radius: 11px; background: #0c0c10; align-items: center; justify-content: center;
              font: italic 700 19px "Playfair Display", Georgia, serif; color: #fff; }
.zname { display: flex; flex-direction: column; font: 700 22px/1 "Playfair Display", Georgia, serif; color: #fff; letter-spacing: -0.02em; }
.zname small { font: 400 9px/1 "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.22em; text-transform: uppercase; color: #838495; margin-top: 4px; }
.zdnav { display: none; align-items: center; font-size: 14px; font-weight: 500; }
.zdd { position: relative; }
.zdd > button { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; border-radius: 8px; }
.zdd > button:hover, .zdd.here > button { color: #fff; }
.zdd.here > button { text-decoration: underline; text-decoration-color: #22d3ee; text-underline-offset: 6px; }
.zi { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.zmenu { display: none; position: absolute; left: 0; top: 100%; padding-top: 8px; z-index: 60; }
.zdd:hover .zmenu, .zdd:focus-within .zmenu, .zdd.open .zmenu { display: block; }
.zmenu-in { min-width: 270px; background: rgba(18, 18, 24, 0.97); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 8px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6); }
.zmenu-in a { display: block; padding: 8px 12px; border-radius: 10px; }
.zmenu-in a:hover, .zmenu-in a:focus-visible, .zmenu-in a[aria-current] { background: rgba(255, 255, 255, 0.06); }
.zmenu-in b { display: block; color: #fff; font-weight: 500; font-size: 14px; }
.zmenu-in a[aria-current] b { color: #22d3ee; }
.zmenu-in span { display: block; font: 400 11px/1.4 "JetBrains Mono", ui-monospace, Consolas, monospace; color: #838495; }
.zright { display: flex; align-items: center; gap: 12px; flex: none; }
.zhist { display: none; gap: 6px; }
.zhist button { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.1);
                background: rgba(255, 255, 255, 0.04); color: #22d3ee; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.zhist button:hover:not(:disabled) { border-color: #a855f7; background: rgba(168, 85, 247, 0.12); }
.zhist button:disabled { opacity: 0.3; cursor: default; }
.zhist .zi { width: 16px; height: 16px; opacity: 1; }
.zbtn { display: none; background: linear-gradient(90deg, #a855f7, #06b6d4); color: #fff; font: 600 11px/1 Inter, system-ui, sans-serif; letter-spacing: 0.1em;
        text-transform: uppercase; padding: 12px 18px; border-radius: 10px; box-shadow: 0 10px 20px -8px rgba(168, 85, 247, 0.5); white-space: nowrap; }
.zbtn:hover { opacity: 0.9; }
.zburger { display: inline-grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: #adadb9; cursor: pointer; padding: 0; }
.zburger .zi { width: 22px; height: 22px; opacity: 1; }
.zburger:hover { color: #fff; }
.zmnav { background: rgba(18, 18, 24, 0.97); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 12px 20px 24px; max-height: 80vh; overflow-y: auto; }
.zmnav[hidden] { display: none; }
.zmnav .zmg { margin: 0; font: 500 10px/1 "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.2em; text-transform: uppercase; color: #22d3ee; padding: 16px 0 6px; }
.zmnav a { display: block; padding: 7px 0; color: #cfd0d9; font-size: 15px; }
.zmnav a span { color: #636475; font-size: 12px; }
.zmnav a[aria-current] { color: #22d3ee; }
.zmnav .zbtn { display: flex; justify-content: center; margin: 8px 0 4px; }
@media (min-width: 1024px) { .zdnav, .zhist, .zbtn { display: flex; } .zburger, .zmnav { display: none !important; } }
.znav a:focus-visible, .znav button:focus-visible { outline: 2px solid #22d3ee; outline-offset: 3px; }

/* previous and next page in menu order, at the bottom (assets/nav.js) */
.zpager { max-width: 1180px; margin: 44px auto 28px; padding: 20px 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; gap: 12px;
          font-family: Inter, system-ui, sans-serif; }
.zpager a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
            background: rgba(255, 255, 255, 0.04); color: #e6e6eb; text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color 0.15s, background 0.15s; }
.zpager a .arr { font: 500 14px/1 "JetBrains Mono", ui-monospace, Consolas, monospace; color: #22d3ee; }
.zpager a:hover { border-color: #a855f7; background: rgba(168, 85, 247, 0.12); }

/* for pages whose body has no side padding of its own (the essay) */
.znav-wrap { padding: 0; }
