/* THE LINE (2026-11-24): the part after the tracks. The mine turns into its own survey plan: warm graphite paper, bone
   hairlines, one amber (the lantern's). Geist for words, IBM Plex Mono for the drawing's lettering. src/plan/plan.js. */
@font-face { font-family: 'Geist'; src: url('../vendor/fonts/Geist-Medium.woff') format('woff'); font-weight: 500; font-display: block; }
@font-face { font-family: 'Geist'; src: url('../vendor/fonts/Geist-SemiBold.woff') format('woff'); font-weight: 600; font-display: block; }
@font-face { font-family: 'Geist'; src: url('../vendor/fonts/Geist-Bold.woff') format('woff'); font-weight: 700; font-display: block; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../vendor/fonts/IBMPlexMono-Medium.woff2') format('woff2'); font-weight: 500; font-display: block; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../vendor/fonts/IBMPlexMono-Bold.woff2') format('woff2'); font-weight: 700; font-display: block; }

.pl {
  --bg: #0F0E0C; --ink: #ECE6DA; --ink2: rgba(236, 230, 218, 0.62); --ink3: rgba(236, 230, 218, 0.34);
  --hair: rgba(236, 230, 218, 0.16); --hair2: rgba(236, 230, 218, 0.08); --amber: #FFB547; --amber2: rgba(255, 181, 71, 0.5);
  --mono: 'IBM Plex Mono', ui-monospace, monospace; --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --ez: cubic-bezier(0.16, 1, 0.3, 1);
  position: fixed; inset: 0; z-index: 12; overflow: hidden; background: rgba(15, 14, 12, var(--paper, 1)); color: var(--ink);
  font-family: var(--sans); font-weight: 500; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  opacity: 0; visibility: hidden; transition: opacity 0.4s linear, visibility 0s linear 0.4s;
}
.pl.is-live { opacity: 1; visibility: visible; transition: opacity 0.4s linear; }
.pl ::selection { background: var(--amber); color: #120f0a; }
.pl a { color: inherit; text-decoration: none; }
.pl button { font: inherit; color: inherit; }
.pl :focus-visible { outline: 1px solid var(--amber); outline-offset: 4px; }

/* the paper's tooth: one still layer of grain, no blend, composited once */
.pl-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.045; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* the drafting grid, seen only in the lantern's pool (the pointer, or the cart's own lamp on touch) */
.pl-lamp { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(to right, rgba(236, 230, 218, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236, 230, 218, 0.11) 1px, transparent 1px),
    linear-gradient(to right, rgba(236, 230, 218, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236, 230, 218, 0.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: var(--gx, 0) var(--gy, 0);
  -webkit-mask-image: radial-gradient(circle var(--lr, 240px) at var(--lx, -999px) var(--ly, -999px), #000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr, 240px) at var(--lx, -999px) var(--ly, -999px), #000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 100%); }

/* ---------- the world: the long drawing that travels under the frame ---------- */
.pl-world { position: absolute; left: 0; top: 0; width: 100%; z-index: 3; transform-origin: 0 0; }   /* (no will-change: a pinned raster scale from the entry's 3.4x zoom made every first visit to a new sheet re-raster at 3.4x, 50+ frames at 33-67 ms on 1920x1080; without it the entry and the sheets both hold 16.7 ms) */
.pl-track { position: absolute; left: 0; overflow: visible; pointer-events: none; }
.pl-rail { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.5s cubic-bezier(0.33, 0, 0.18, 1); }
.pl-reg.is-drawn .pl-rail { stroke-dashoffset: 0; }
/* the drift the line runs through, drawn as a mine plan draws one: two wandering walls, rock hatched outside them */
.pl-wall { fill: none; stroke: rgba(236, 230, 218, 0.52); stroke-width: 1.1; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s cubic-bezier(0.33, 0, 0.18, 1) 0.1s; }
.pl-hatch { fill: none; stroke: rgba(236, 230, 218, 0.26); stroke-width: 1; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.3s linear 0.25s; }
.pl-slp { fill: none; stroke: var(--ink3); stroke-width: 1; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.7s linear 0.05s; }
.pl-reg.is-drawn .pl-wall, .pl-reg.is-drawn .pl-hatch, .pl-reg.is-drawn .pl-slp { stroke-dashoffset: 0; }
.pl-ch, .pl-stn { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; fill: var(--ink3); opacity: 0; transition: opacity 0.8s linear 1s; }
.pl-stn { font-size: 10.5px; fill: var(--ink2); }
.pl-reg.is-drawn .pl-ch, .pl-reg.is-drawn .pl-stn { opacity: 1; }
.pl-col { will-change: transform; }
.pl-hr { stroke: var(--ink); stroke-width: 1.3; opacity: 0; transition: opacity 0.4s linear calc(var(--d, 0) * 1ms); }
.pl-reg.is-drawn .pl-hr { opacity: 0.92; }
.pl-shaft circle, .pl-shaft path { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.pl-shaft circle.o { stroke: var(--ink3); stroke-width: 1; stroke-dasharray: 3 4; }
.pl-shaft { opacity: 0; transition: opacity 0.8s linear 0.6s; }
.pl-reg.is-drawn .pl-shaft { opacity: 1; }
/* the strongroom off the drift on the prizes sheet: sealed */
.pl-vault path, .pl-vault rect { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.pl-vault .w { stroke: rgba(236, 230, 218, 0.4); stroke-width: 1; }
.pl-vault .room { fill: url(#pl-xh); stroke: var(--ink); }
.pl-vault .bg { stroke: var(--bg); stroke-width: 3; }
.pl-vault .swing { stroke: var(--ink3); stroke-width: 1; stroke-dasharray: 2 3; }
.pl-vault .lock { fill: var(--bg); stroke: var(--amber); }
.pl-vault { transform-box: fill-box; transform-origin: 50% 50%; }
.pl-vault.is-knock { animation: pl-knock 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes pl-knock { 0%, 100% { transform: none; } 18% { transform: translate(2.5px, 0); } 36% { transform: translate(-2px, 0); } 54% { transform: translate(1.4px, 0); } 72% { transform: translate(-0.7px, 0); } }
.pl-vhit { all: unset; position: absolute; cursor: pointer; }
.pl-vhit:focus-visible { outline: 1px solid var(--amber); outline-offset: 6px; }

/* the cart, seen from above: cart 03, the one that could be yours, with its lamp */
.pl-cart { will-change: transform; }
.pl-cart .body { fill: var(--bg); stroke: var(--ink); stroke-width: 1.3; }
.pl-cart .rim { fill: none; stroke: var(--ink3); stroke-width: 1; }
.pl-cart .whl { fill: var(--bg); stroke: var(--ink); stroke-width: 1.1; }
.pl-cart .bar { stroke: var(--ink); stroke-width: 1.1; }
.pl-cart .rib { fill: none; stroke: var(--ink3); stroke-width: 1; }
.pl-cart .lamp { fill: var(--amber); }
.pl-cart .halo { fill: url(#pl-halo); }

/* ---------- a sheet: one stop on the line ---------- */
.pl-sheet { position: absolute; left: 0; width: 100%; pointer-events: none; }
.pl-sheet > * { pointer-events: auto; }
.pl-col { position: absolute; display: flex; flex-direction: column; justify-content: center; }
.pl-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink2);
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.pl-k::before { content: ''; width: 28px; height: 1px; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0);
  transition: transform 0.7s var(--ez) 0.05s; }
.pl-sheet.is-on .pl-k::before { transform: none; }
.pl-h { font-weight: 600; font-size: var(--hs, 112px); line-height: 0.94; letter-spacing: -0.03em; text-transform: uppercase;
  margin: 0; font-feature-settings: 'ss01' 1; }
.pl-h .ln { display: block; overflow: hidden; padding: 0.04em 0.06em 0.2em 0; margin: -0.04em 0 -0.2em; }   /* (the face's full descent: no tail is ever cut) */
.pl-h .ln > span { display: block; transform: translate3d(0, 122%, 0); transition: transform 1s var(--ez) calc(var(--i, 0) * 80ms + 60ms); }
.pl-sheet.is-on .pl-h .ln > span { transform: none; }
.pl-pre { font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em; color: var(--ink2); margin: 0 0 10px; }
.pl-p { font-size: var(--ps, 18px); line-height: 1.5; color: var(--ink2); max-width: 34em; margin: 26px 0 0; }
.rv { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.7s linear calc(var(--i, 0) * 70ms + 250ms),
  transform 0.9s var(--ez) calc(var(--i, 0) * 70ms + 250ms); }
.pl-sheet.is-on .rv { opacity: 1; transform: none; }

/* the spec table: hairline rows, the rule draws left to right */
.pl-spec { display: grid; grid-template-columns: minmax(7.2em, 9.5em) 1fr; margin: 34px 0 0; max-width: 40em; }
.pl-spec > div { display: contents; }
.pl-spec dt, .pl-spec dd { margin: 0; padding: 15px 0 14px; position: relative; }
.pl-spec dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink2); padding-top: 18px; }
.pl-spec dd { font-size: 17px; letter-spacing: -0.005em; }
.pl-spec dd.tba, .pl-tba { color: var(--ink3); }
.pl-spec dt::after { content: ''; position: absolute; left: 0; bottom: 0; width: calc(var(--sw, 640px)); height: 1px; background: var(--hair);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.9s var(--ez) calc(var(--i, 0) * 60ms + 200ms); }
.pl-spec > div:first-child dt::before { content: ''; position: absolute; left: 0; top: 0; width: calc(var(--sw, 640px)); height: 1px;
  background: var(--hair); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.9s var(--ez) 0.15s; }
.pl-sheet.is-on .pl-spec dt::after, .pl-sheet.is-on .pl-spec > div:first-child dt::before { transform: none; }

/* annotations on the drawing: mono lettering, a leader to the line */
.pl-note { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink2); white-space: nowrap; line-height: 1.5; }
.pl-note b { font-weight: 500; color: var(--ink); }
.pl-note i { font-style: normal; color: var(--ink3); }
.pl-note.r { text-align: right; }
.pl-note .ld { position: absolute; top: 0.75em; height: 1px; background: var(--ink3); }
.pl-hourlab { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink3); transform: translateY(-50%); }
.pl-dim { position: absolute; pointer-events: none; }
.pl-dim .v { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--amber2); }
.pl-dim .t1, .pl-dim .t2 { position: absolute; left: -5px; width: 11px; height: 1px; background: var(--amber2); }
.pl-dim .t1 { top: 0; } .pl-dim .t2 { bottom: 0; }
.pl-dim .a1, .pl-dim .a2 { position: absolute; left: -3.5px; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.pl-dim .a1 { top: 1px; border-bottom: 8px solid var(--amber); }
.pl-dim .a2 { bottom: 1px; border-top: 8px solid var(--amber); }
.pl-dim .lab { position: absolute; top: 50%; left: -14px; transform: translate(-100%, -50%); font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--amber); white-space: nowrap; background: var(--bg); padding: 6px 0; }
.pl-dim .lab b { display: block; font-family: var(--sans); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.pl-dim { clip-path: inset(0 -400px 100% -400px); transition: clip-path 1.6s var(--ez) 0.35s; }
.pl-sheet.is-on .pl-dim { clip-path: inset(0 -400px 0 -400px); }

/* ---------- PRIZES: the revision cloud ---------- */
.pl-cloud { position: absolute; overflow: visible; pointer-events: none; }
.pl-cloud path { fill: none; stroke: var(--amber); stroke-width: 1.4; stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.45s; }
.pl-sheet.is-on .pl-cloud path { stroke-dashoffset: 0; }
.pl-rev { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber); margin-top: 30px; }
.pl-rev svg { width: 26px; height: 23px; overflow: visible; }
.pl-rev polygon { fill: none; stroke: var(--amber); stroke-width: 1.3; }
.pl-rev text { fill: var(--amber); font-family: var(--mono); font-size: 10px; }

/* ---------- SPONSORS: the claims ---------- */
.pl-tiers { display: grid; gap: 22px; margin: 34px 0 0; }
.pl-tier { display: grid; grid-template-columns: var(--tw, 12.5em) 1fr; align-items: center; gap: calc(var(--k-tier-gap) * 1px); }
.pl-tier .nm { display: flex; flex-direction: column; gap: 6px; }
.pl-tier .nm span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--ink2); }
.pl-tier .nm b { font-weight: 600; font-size: var(--ts, 40px); letter-spacing: -0.025em; line-height: 1; }
.pl-tier .nm b small { font-size: 0.42em; font-weight: 500; letter-spacing: 0.02em; color: var(--ink3); margin-left: 6px; vertical-align: 0.6em; font-family: var(--mono); }
.pl-plots { display: flex; gap: var(--pg, 16px); align-items: flex-end; }
.pl-plot { all: unset; box-sizing: border-box; position: relative; width: var(--pw); height: var(--ph); cursor: pointer;
  border: 1px solid var(--ink3); display: flex; flex-direction: column; justify-content: space-between; padding: 9px 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink2);
  background-image: repeating-linear-gradient(135deg, var(--hair2) 0 1px, transparent 1px 9px); background-size: 200% 200%;
  transition: border-color 0.25s linear, color 0.25s linear, background-position 1.2s linear; }
.pl-plot::before, .pl-plot::after { content: '+'; position: absolute; font-family: var(--mono); font-size: 13px; color: var(--ink2); line-height: 1; }
.pl-plot::before { left: -6px; top: -8px; } .pl-plot::after { right: -6px; bottom: -8px; }
.pl-plot .cd { color: var(--ink); }
.pl-plot .st { color: var(--ink3); }
.pl-plot:hover, .pl-plot.is-sel { border-color: var(--amber); color: var(--amber); background-position: 100% 100%;
  background-image: repeating-linear-gradient(135deg, rgba(255, 181, 71, 0.16) 0 1px, transparent 1px 9px); }
.pl-plot:hover .cd, .pl-plot.is-sel .cd { color: var(--amber); }
.pl-plot.is-sel .st { color: var(--amber); }
.pl-plot img { max-width: 80%; max-height: 50%; align-self: center; }
.pl-ask { margin: 34px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pl-ask p { margin: 0; color: var(--ink2); font-size: 16px; }
.pl-cta { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--ink3); padding: 13px 18px 12px; display: inline-flex; gap: 12px; align-items: center; cursor: pointer;
  transition: border-color 0.25s linear, color 0.25s linear, background-color 0.25s linear; white-space: nowrap; }
.pl button.pl-cta { background: transparent; }
.pl-cta:hover, .pl-cta.is-done { border-color: var(--amber); color: var(--amber); }
.pl-cta .ar { display: inline-block; transition: transform 0.4s var(--ez); }
.pl-cta:hover .ar { transform: translateX(4px); }
.pl-fine { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink3); text-transform: uppercase; margin: 16px 0 0; }

/* ---------- FIELD NOTES: the FAQ ---------- */
.pl-faq { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); max-width: 44em; }
.pl-faq li { border-bottom: 1px solid var(--hair); }
.pl-faq .q { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 38px 1fr 18px; align-items: center;
  gap: 16px; padding: var(--qp, 15px) 0; cursor: pointer; font-size: var(--qs, 18px); letter-spacing: -0.01em; }
.pl-faq .q:hover { color: var(--amber); }
.pl-hex { width: 30px; height: 26px; overflow: visible; }
.pl-hex polygon { fill: none; stroke: var(--ink3); stroke-width: 1; transition: stroke 0.25s linear; }
.pl-hex text { fill: var(--ink2); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; }
.pl-faq .q:hover .pl-hex polygon, .pl-faq li.open .pl-hex polygon { stroke: var(--amber); }
.pl-faq .pm { position: relative; width: 14px; height: 14px; justify-self: end; }
.pl-faq .pm::before, .pl-faq .pm::after { content: ''; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor;
  transition: transform 0.45s var(--ez); }
.pl-faq .pm::after { transform: rotate(90deg); }
.pl-faq li.open .pm::after { transform: rotate(0deg); }
.pl-faq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ez); }
.pl-faq li.open .a { grid-template-rows: 1fr; }
.pl-faq .a > div { overflow: hidden; }
.pl-faq .a p { margin: 0; padding: 0 30px 18px 54px; color: var(--ink2); font-size: 16px; line-height: 1.55; max-width: 36em; }
.pl-faq .a p a { color: var(--ink); border-bottom: 1px solid var(--ink3); }
.pl-faq li { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 0.6s linear calc(var(--i) * 45ms + 300ms), transform 0.8s var(--ez) calc(var(--i) * 45ms + 300ms); }
.pl-sheet.is-on .pl-faq li { opacity: 1; transform: none; }

/* ---------- CREW: the title block, and what folds out of it ---------- */
.pl-tblk { border: 1px solid var(--ink3); max-width: min(100%, 58em); margin-top: 30px; }
.pl-tblk .row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--hair); }
.pl-tblk .row > div { padding: 12px 14px 11px; border-right: 1px solid var(--hair); }
.pl-tblk .row > div:last-child { border-right: 0; }
.pl-lab { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); margin-bottom: 5px; }
.pl-val { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.pl-made { padding: 20px 18px 22px; border-bottom: 1px solid var(--hair); }
.pl-made .nm { font-weight: 600; font-size: var(--ms, 64px); letter-spacing: -0.03em; line-height: 0.98; text-transform: uppercase; display: block; padding-bottom: 0.06em; }
.pl-open { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  padding: 14px 18px 13px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink2);
  transition: color 0.25s linear, background-color 0.25s linear; }
.pl-open:hover { color: var(--amber); }
.pl-open .pm { position: relative; width: 12px; height: 12px; }
.pl-open .pm::before, .pl-open .pm::after { content: ''; position: absolute; left: 0; top: 5.5px; width: 12px; height: 1px; background: currentColor; transition: transform 0.5s var(--ez); }
.pl-open .pm::after { transform: rotate(90deg); }
.pl-tblk.is-open .pl-open .pm::after { transform: rotate(0deg); }
.pl-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.9s var(--ez); perspective: 900px; }
.pl-tblk.is-open .pl-fold { grid-template-rows: 1fr; }
.pl-fold > div { overflow: hidden; }
.pl-leaf { transform-origin: 50% 0; transform: rotateX(-92deg); transition: transform 0.95s var(--ez) calc(var(--i) * 140ms), opacity 0.5s linear calc(var(--i) * 140ms);
  opacity: 0; border-top: 1px solid var(--hair); padding: 18px 18px 20px; position: relative; backface-visibility: hidden; }
.pl-tblk.is-open .pl-leaf { transform: none; opacity: 1; }
.pl-leaf .pl-lab { margin-bottom: 10px; }
.pl-leaf ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.pl-leaf li { font-weight: 600; font-size: var(--ls, 30px); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.12; }
.pl-leaf li.tba { color: var(--ink3); }

/* ---------- CONTACT ---------- */
.pl-mail { display: inline-block; font-weight: 600; font-size: var(--es, 60px); letter-spacing: -0.03em; line-height: 1.06; margin-top: 28px;
  background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ez), color 0.25s linear; padding-bottom: 4px; word-break: break-word; }
.pl-mail:hover { background-size: 100% 1px; color: var(--amber); }
.pl-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 24px; align-items: center; }
.pl-chip { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink2);
  border: 1px solid var(--hair); padding: 10px 14px 9px; }
.pl-notes { margin-top: 38px; max-width: 58em; }
.pl-notes ol { margin: 10px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 34px; counter-reset: n; }
.pl-notes li { break-inside: avoid; font-family: var(--mono); font-size: 10.5px; line-height: 1.55; letter-spacing: 0.02em; color: var(--ink2);
  margin: 0 0 8px; padding-left: 26px; position: relative; counter-increment: n; }
.pl-notes li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; color: var(--ink3); }
.pl-endlab { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ink2); text-transform: uppercase; white-space: nowrap; }
.pl-endlab b { color: var(--amber); font-weight: 500; }

/* ---------- the frame: sheet border, title block, the line's index ---------- */
.pl-frame { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.pl-border { position: absolute; inset: var(--fi, 18px); border: 1px solid var(--hair); }
.pl-cross { position: absolute; width: 15px; height: 15px; }
.pl-cross::before, .pl-cross::after { content: ''; position: absolute; background: var(--ink3); }
.pl-cross::before { left: 7px; top: 0; width: 1px; height: 15px; } .pl-cross::after { top: 7px; left: 0; height: 1px; width: 15px; }
.pl-zone { position: absolute; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--ink3); }
.pl-tick { position: absolute; background: var(--hair); }
.pl-tb { position: absolute; right: var(--fi, 18px); bottom: var(--fi, 18px); width: 392px; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair);
  background: var(--bg); display: grid; grid-template-columns: 1.35fr 1fr 0.9fr; pointer-events: auto; }
.pl-tb > div { padding: 9px 12px 8px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); min-width: 0; }
.pl-tb > div:nth-child(3n) { border-right: 0; }
.pl-tb > .wide { grid-column: span 2; }
.pl-tb .pl-val { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 1px; }
.pl-tb .pl-val.am { color: var(--amber); }
.pl-idx { position: absolute; right: calc(var(--fi, 18px) + 26px); top: 50%; transform: translateY(-50%); pointer-events: auto; display: flex; flex-direction: column; gap: 0; }
.pl-idx button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 30px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.pl-idx button span { opacity: 0; transform: translateX(6px); transition: opacity 0.25s linear, transform 0.35s var(--ez); }
.pl-idx:hover button span, .pl-idx button.is-cur span { opacity: 1; transform: none; }
.pl-idx button i { width: 9px; height: 9px; border: 1px solid var(--ink3); border-radius: 50%; transition: background-color 0.3s linear, border-color 0.3s linear; }
.pl-idx button.is-cur { color: var(--amber); }
.pl-idx button.is-cur i { background: var(--amber); border-color: var(--amber); }
.pl-idx button:hover { color: var(--ink); }
.pl-hint { position: absolute; left: 50%; bottom: calc(var(--fi, 18px) + 16px); transform: translateX(-50%); font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--ink3); text-transform: uppercase; opacity: 0; transition: opacity 0.5s linear; }
.pl-hint.is-on { opacity: 1; }

/* ---------- narrow screens (a phone, or a narrow pane): the line runs down the left edge ---------- */
.pl.is-bar .pl-tb { left: var(--tbl, var(--fi)); right: var(--fi); width: auto; grid-template-columns: 1fr auto auto; }
.pl.is-bar .pl-tb > div { padding: 7px 10px 6px; }
.pl.is-bar .pl-tb > div.hide-n { display: none; }
.pl.is-bar .pl-tb > .wide { grid-column: auto; }
.pl.is-narrow .pl-k { font-size: 11px; margin-bottom: 14px; gap: 10px; }
.pl.is-narrow .pl-k::before { width: 18px; }
.pl.is-narrow .pl-spec { grid-template-columns: 6.6em 1fr; margin-top: 22px; }
.pl.is-narrow .pl-spec dt, .pl.is-narrow .pl-spec dd { padding: 11px 0 10px; }
.pl.is-narrow .pl-spec dt { font-size: 10.5px; padding-top: 13px; }
.pl.is-narrow .pl-spec dd { font-size: 15px; }
.pl.is-narrow .pl-p { font-size: 15px; margin-top: 16px; }
.pl.is-narrow .pl-tier { grid-template-columns: 1fr; gap: 10px; }
.pl.is-narrow .pl-tier .nm { flex-direction: row; align-items: baseline; gap: 12px; }
.pl.is-narrow .pl-tiers { gap: 16px; margin-top: 22px; }
.pl.is-narrow .pl-ask { margin-top: 22px; }
.pl.is-narrow .pl-cta { font-size: 11.5px; padding: 12px 14px 11px; }
.pl.is-narrow .pl-faq .q { grid-template-columns: 32px 1fr 14px; gap: 12px; }
.pl.is-narrow .pl-faq .a p { padding: 0 8px 14px 44px; font-size: 14.5px; }
.pl.is-narrow .pl-tblk .row > div { padding: 9px 10px 8px; }
.pl.is-narrow .pl-made { padding: 16px 12px 18px; }
.pl.is-narrow .pl-open { padding: 12px 12px 11px; font-size: 11px; }
.pl.is-narrow .pl-leaf { padding: 14px 12px 16px; }
.pl.is-narrow .pl-notes ol { columns: 1; }
.pl.is-narrow .pl-notes li { font-size: 11px; }
.pl.is-narrow .pl-note { font-size: 10px; }
.pl.is-narrow .pl-dim .lab b { font-size: 22px; }

@media (prefers-reduced-motion: reduce) {
  .pl *, .pl *::before, .pl *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
.pl-plot { line-height: 1.2; }
.pl.is-narrow .pl-plot { padding: 7px 8px; font-size: 10px; }
.pl.is-narrow .pl-plot::before, .pl.is-narrow .pl-plot::after { font-size: 11px; }
.pl.is-narrow [data-k="credits"] .pl-col { justify-content: flex-start; }
/* a phone on its side (short screens): everything tighter, the claims on one line */
.pl.is-short .pl-k { margin-bottom: 10px; font-size: 10.5px; }
.pl.is-short .pl-pre { margin-bottom: 4px; font-size: 11px; }
.pl.is-short .pl-spec { margin-top: 12px; }
.pl.is-short .pl-spec dt, .pl.is-short .pl-spec dd { padding: 6px 0 5px; }
.pl.is-short .pl-spec dt { padding-top: 8px; font-size: 10px; }
.pl.is-short .pl-spec dd { font-size: 14px; }
.pl.is-short .pl-p { margin-top: 10px; font-size: 14px; }
.pl.is-short .pl-rev { margin-top: 14px; }
.pl.is-short .pl-tiers { gap: 8px; margin-top: 12px; }
.pl.is-short .pl-plot { flex-direction: row; align-items: center; padding: 0 9px; font-size: 10px; }
.pl.is-short .pl-ask { margin-top: 12px; }
.pl.is-short .pl-ask p { font-size: 13px; }
.pl.is-short .pl-cta { padding: 9px 12px 8px; font-size: 11px; }
.pl.is-short .pl-fine { margin-top: 8px; }
.pl.is-short .pl-tblk { margin-top: 12px; }
.pl.is-short .pl-made { padding: 10px 12px 12px; }
.pl.is-short .pl-tblk .row > div { padding: 6px 10px 5px; }
.pl.is-short .pl-open { padding: 9px 12px 8px; }
.pl.is-short .pl-mail { margin-top: 12px; }
.pl.is-short .pl-row { margin-top: 12px; }
.pl.is-short .pl-notes { margin-top: 10px; }
.pl.is-short .pl-notes ol { columns: 2; }
.pl.is-short .pl-notes li { font-size: 10.5px; margin-bottom: 4px; }
.pl.is-short .pl-faq .a p { font-size: 13.5px; padding-bottom: 8px; }
.pl-spec dt { opacity: 0; transition: opacity 0.6s linear calc(var(--i, 0) * 60ms + 180ms); }
.pl-sheet.is-on .pl-spec dt { opacity: 1; }

/* ---------- the climb: section A-A, up the shaft to the tower's pod ---------- */
.pl-rise { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; opacity: 0; }
.pl-rise svg { position: absolute; left: 0; top: 0; will-change: transform; }
.pl-rise .ln { fill: none; stroke: rgba(236, 230, 218, 0.34); stroke-width: 1; }
.pl-rise .ln.k { stroke: var(--ink); stroke-width: 1.2; }
.pl-rise .ln.t { stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.pl-rise .ln.f { stroke: rgba(236, 230, 218, 0.3); }
.pl-rise .ln.c { stroke: rgba(236, 230, 218, 0.3); }
.pl-rise .st { stroke: none; }
.pl-rise pattern circle { fill: rgba(236, 230, 218, 0.34); }
.pl-rise pattern path { fill: none; stroke: rgba(236, 230, 218, 0.26); stroke-width: 1; }
.pl-rise .bg { fill: var(--bg); stroke: none; }
.pl-rise .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink3); }
.pl-rise .lab.hi { fill: var(--ink2); }
.pl-rise .led { font-family: var(--mono); font-weight: 700; letter-spacing: 0.18em; fill: var(--amber); }
.pl-rise .dim { fill: none; stroke: var(--amber2); stroke-width: 1; }
.pl-rise .dl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; fill: var(--amber); }
.pl-rise .route { fill: none; stroke: var(--amber); stroke-width: 1.4; stroke-dasharray: 5 6; }
.pl-rise .lampd { fill: var(--amber); }
/* the cart's lamp is a flame: it breathes, never in a rhythm the eye can count */
.pl-cart .halo { animation: pl-flick 3.7s infinite; }
@keyframes pl-flick { 0%, 100% { opacity: 1; } 13% { opacity: 0.86; } 21% { opacity: 0.97; } 47% { opacity: 0.9; } 52% { opacity: 1; } 71% { opacity: 0.83; } 83% { opacity: 0.95; } }
@media (prefers-reduced-motion: reduce) { .pl-cart .halo { animation: none; } }
.pl-rise .lab, .pl-rise .dim, .pl-rise .dl { opacity: calc(1 - var(--pz, 0)); }

/* the paper's own layers come and go with it (setPaper) */
.pl-grain, .pl-lamp, .pl-frame { opacity: var(--paper, 1); }
.pl-grain { opacity: calc(0.045 * var(--paper, 1)); }

/* ---------- audit 2026-11-24: reachable, readable, focusable ---------- */
/* small text that carries meaning reads at AA (about 4.8:1); --ink3 stays for strokes only */
.pl { --txt3: rgba(236, 230, 218, 0.55); }
.pl-spec dd.tba, .pl-tba, .pl-plot .st, .pl-tier .nm b small, .pl-fine, .pl-lab, .pl-leaf li.tba, .pl-note i,
.pl-hint, .pl-idx button, .pl-hourlab, .pl-rise .lab { color: var(--txt3); fill: var(--txt3); }
.pl-idx button i { border-color: var(--txt3); }
/* every control that was reset with all: unset gets its focus ring back */
.pl-faq .q:focus-visible, .pl-plot:focus-visible, .pl-open:focus-visible, .pl-vhit:focus-visible, .pl-idx button:focus-visible,
.pl-cta:focus-visible, .pl-mail:focus-visible, .pl-chip:focus-visible { outline: 1px solid var(--amber); outline-offset: 4px; }
.pl-idx:focus-within button span { opacity: 1; transform: none; }
/* a closed answer is gone for the keyboard too */
.pl-faq li:not(.open) .a > div { visibility: hidden; transition: visibility 0s linear 0.55s; }
.pl-faq li.open .a > div { visibility: visible; transition: none; }
/* a column taller than its frame (a short screen, a big zoom) scrolls its own words, quietly */
.pl-col { justify-content: safe center; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.pl-col::-webkit-scrollbar { display: none; }
.pl-plots { flex-wrap: wrap; }
.pl-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* touch screens: no pointer lamp, and the cart's flame holds still (no endless repaint on a phone) */
@media (pointer: coarse) { .pl-lamp { display: none; } .pl-cart .halo { animation: none; } }
@media (prefers-reduced-motion: reduce) { .pl-vault.is-knock { animation: none; } }

/* ---------- 2026-11-24 10:05: the HUD's corners, short screens ---------- */
/* a kicker is a short label: it never breaks (its column sizes to it) */
.pl-k { white-space: nowrap; }
/* a long address in the notes breaks inside its column instead of running out of it */
.pl-notes li { overflow-wrap: anywhere; }
/* a phone held sideways: a tier's name and price on one line beside its plots */
.pl.is-short .pl-tier .nm { flex-direction: row; align-items: baseline; gap: 10px; }
/* more words below than the frame shows (they scroll): the column's foot fades instead of a hard cut */
.pl-col.is-over:not(.is-end):not(:has(:focus-visible)) { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 44px), transparent); }
/* a tablet or a small window: the hint stands above the one-bar title block */
.pl.is-mid .pl-hint { bottom: calc(var(--fi, 14px) + (var(--k-bar) + 20) * 1px); }
/* the strongroom is its own small drawing (plan.js buildTrack): it fades in on its own layer */
.pl-vsv { position: absolute; overflow: visible; pointer-events: none; opacity: 0; transition: opacity 1s linear 0.9s; will-change: opacity; }
.pl-vsv.is-drawn { opacity: 1; }
/* the revision cloud draws itself on its own layer: the big type under it is painted once, not every frame of the pen */
.pl-cloud { will-change: transform; }

/* ---------- the plan's layout tokens (plan.js layout() reads them, per mode: --k-*, unitless px or shares) ----------
   (--k-lane, --k-gutter and --k-edge apply off the wide screens; the wide sheets place the line and words by share) */
.pl {
  --k-fi: 18; --k-gauge: 13; --k-gap: 0.58; --k-end: 0.8; --k-lane: 62; --k-rule: 75; --k-bar: 42; --k-cart-clear: 46;
  --k-hs-w: 0.056; --k-hs-h: 0.108; --k-hs-min: 62; --k-hs-max: 124;
  --k-cart-w: 36; --k-cart-l: 50; --k-sleeper: 15; --k-hour: 30; --k-pitch: 18; --k-wobble: 4.5; --k-hatch: 9; --k-hatch-pitch: 7;
  --k-gutter: 62; --k-edge: 40; --k-edge-l: 16; --k-keep: 34; --k-keep-b: 30; --k-top: 0.11; --k-bot: 0.1; --k-tb: 104;
  --k-note: 34; --k-label: 14; --k-dim: 26;
  --k-plot-gap: 16; --k-pw1: 158; --k-pw2: 130; --k-pw3: 106; --k-ph1: 96; --k-ph2: 80; --k-ph3: 64; --k-tier-name: 176; --k-tier-gap: 24;
}
.pl.is-mid { --k-fi: 14; --k-gap: 0.34; --k-hs-w: 0.078; --k-hs-h: 0.09; --k-hs-min: 44; --k-hs-max: 84;
  --k-pw1: 128; --k-pw2: 106; --k-pw3: 88; --k-ph1: 78; --k-ph2: 64; --k-ph3: 54; }
.pl.is-narrow { --k-fi: 10; --k-gauge: 9; --k-gap: 0.34; --k-end: 0.885; --k-lane: 28; --k-rule: 34;
  --k-hs-w: 0.118; --k-hs-h: 0.064; --k-hs-min: 32; --k-hs-max: 52;
  --k-cart-w: 24; --k-cart-l: 33; --k-sleeper: 9; --k-hour: 16; --k-pitch: 14; --k-wobble: 1.4; --k-hatch: 5; --k-hatch-pitch: 6;
  --k-gutter: 30; --k-edge: 12; --k-top: 0.075; --k-bot: 0.04;
  --k-plot-gap: 8; --k-pw1: 112; --k-pw2: 112; --k-pw3: 112; --k-ph1: 58; --k-ph2: 50; --k-ph3: 44; }
.pl.is-short { --k-hs-w: 0.06; --k-hs-h: 0.115; --k-hs-min: 28; --k-hs-max: 56; --k-top: 0.045; --k-bot: 0.025; }
.pl.is-short:not(.is-narrow) { --k-plot-gap: 10; --k-pw1: 112; --k-pw2: 98; --k-pw3: 86; --k-ph1: 40; --k-ph2: 36; --k-ph3: 32; --k-tier-name: 160; }
.pl.is-compact { --k-keep: 22; --k-keep-b: 16; }
/* the per-mode type that used to ride inline: the tiers, the FAQ, the crew's block, the address */
.pl-tiers { --tw: calc(var(--k-tier-name) * 1px); --ts: 40px; }
.pl.is-mid .pl-tiers { --ts: 32px; }
.pl.is-short .pl-tiers { --ts: 24px; }
.pl.is-narrow .pl-tiers { --tw: auto; --ts: 24px; }
.pl-faq { --qs: 17px; --qp: 14px; }
.pl.is-narrow .pl-faq { --qs: 15px; --qp: 11px; }
.pl-faq.is-row { flex: 1; --qs: 18px; --qp: 15px; }
.pl.is-short .pl-faq.is-row { --qs: 14px; --qp: 5px; }
.pl-fl { flex: 0 0 33%; }
.pl.is-short .pl-fl { flex: 0 0 auto; min-width: 30%; }
.pl-fh { margin-bottom: 26px; }
.pl.is-narrow .pl-fh { margin-bottom: 16px; }
.pl-tblk { --ms: calc(var(--hs, 112px) * 0.86); --ls: 30px; }
.pl.is-mid .pl-tblk { --ms: 50px; }
.pl.is-narrow .pl-tblk, .pl.is-short .pl-tblk { --ms: 34px; --ls: 20px; }
.pl-mail { --es: clamp(40px, 3.3vw, 68px); }
.pl.is-mid .pl-mail { --es: 38px; }
.pl.is-short .pl-mail { --es: 30px; }
.pl.is-narrow .pl-mail { --es: 22px; }
/* the drift: its half-width, the chamber it widens by at each stop and how far that reaches; the shaft; the strongroom */
.pl { --k-wall: 44; --k-chamber: 17; --k-reach: 84; --k-shaft: 21; --k-vault-run: 66; --k-vault-w: 156; --k-vault-h: 112; }
.pl.is-narrow { --k-wall: 15; --k-chamber: 5; --k-reach: 46; --k-shaft: 14; }
