/* THE FOR-YARDS SITE FRAME (promo rebuild, session 1, 2026-11-04). Hand-written source, not generated.

   What lives here, and nothing else:
     1. the frame's tokens (one dark look);
     2. the header (.pf-head): five groups, the phone slot, the button, and the phone-width menu;
     3. the shared page ending (.pf-end): fair questions, read next, new in Pilebase, the closing band;
     4. the deep footer (.pf-foot) and its money line;
     5. the video frame component (.pf-vid), documented in full in the header of frame.js;
     7. the scroll stage (.pf-stage: pinned beats over a scrubbed film or a picture each, 2026-11-04),
        also documented in the header of frame.js, with its stacked no-JS / reduced-motion form.

   WHO MAY CHANGE IT: only session 1 changes the shared styles (promo plan, schedule). A page session
   adds its own page stylesheet beside this one and never edits this file.

   THE LOOK (Mason, 2026-11-04 evening: "black and white, then with the gold line that we follow and we
   see linking everything together"; that night: "make the line orange instead of gold"). The yard-at-dawn
   layout and type, in BLACK AND WHITE: near-black, greys and white. THE LINE is the brand orange: the cord
   (section 6), which is Pile, and Pile's own name and mark (.pf-pile). Orange means only that. Buttons are white or black, solid or outlined; links are the ink
   colour with an underline; the scrim is neutral. Every picture on a pf-page is shown in greyscale (the
   frame's filter, section 7), so only the line and the brand's green carry colour.

   THE BRAND, ON TOP (Mason, 2026-11-04 night: "pilebase colorscheme is green with a hint of orange").
   The logo's colours (server/lib/pngIcon.js): tile deep green #123123, pile green #6fd395, base orange
   #F2711C. The orange IS the line (--pf-cord); the greens are the BRAND and UI accent:
     --pf-brand       pile green: the primary button, the active nav item, focus rings, small labels and
                      eyebrows, link hover and underline.
     --pf-brand-ink   the text on a --pf-brand button (deep green).
     --pf-brand-deep  the tile green: the closing band and the footer surface (#123123).
     --pf-cord        THE LINE, orange: #F2711C (6.7:1 on the ground, so Pile's name can use it as text too). The glow is the same
                      orange at low alpha (--pf-cord-glow). Where the line crosses the deep green band it is
                      drawn in --pf-deep-cord (#F2711C, 4.8:1 on #123123).
   There are no other orange touches: no heading rule, no step dot. (--pf-spark, briefly, is gone.) The
   logo keeps its own orange base bar. Orange (one thin line, and Pile's name) and green (buttons, labels,
   the deep band) are kept apart by role and by amount, not only by hue.
   FOR home.css AND EVERY PAGE STYLESHEET: use these names, not the hex values.
   Type: Instrument Sans (display, Mason 2026-11-06, "font 2": it replaces Bricolage Grotesque on the promo pages; the
   marketplace and the older for-yards pages keep Bricolage through /tokens.css) · Public Sans (body) · IBM Plex Mono
   (labels), all served from /for-yards/fonts/
   TO TRY ANOTHER DISPLAY FACE: change --pf-display below (one line) and declare its @font-face beside the others.
   because the site's CSP allows fonts from 'self' only (deploy/control-box/Caddyfile, font-src 'self').

   ONE DARK LOOK, EVERYWHERE (Mason, 2026-11-06). Every page that loads this file is drawn on the dark tokens below:
   a pf-page whole, and an older for-yards page (style.css, itself dark) for its header, ending and footer. There is
   no light theme, no switch and no prefers-color-scheme path, so a page is never half light.

   CONTRAST (WCAG AA, computed from the hex values below; the drawn lines need 3:1, text 4.5:1):
     dark   --pf-ink #f4f4f4 on --pf-ground #0b0b0c 17.9:1, on --pf-band #131314 16.9:1, on --pf-surface #1a1a1b 15.8:1 ·
            --pf-muted #b3b3b3 9.4 / 8.9 / 8.3:1 · the button: #123123 on --pf-brand #6fd395 7.7:1 ·
            --pf-brand as text 10.7 / 10.1 / 9.5:1 ·
            --pf-edge #7c7c7c 4.7 / 4.5 / 4.2:1 · --pf-cord #F2711C 6.7 / 6.3 / 5.9:1 (AA as text too)
     deep   (the closing band and footer, tile green #123123) --pf-deep-ink #f4f4f4 12.8:1 ·
            --pf-deep-muted #b9cbc0 8.3:1 · --pf-deep-link #6fd395 7.7:1 · the button #123123 on #6fd395 7.7:1 ·
            --pf-deep-cord #F2711C 4.8:1
   Nothing below sets a text colour outside these pairs. Text over a picture sits on a neutral scrim of the
   ground colour at 0.86 or more, so these ratios hold there too. */

/* THE DISPLAY FACE, Instrument Sans (SIL OFL 1.1, google/fonts ofl/instrumentsans; fonts/OFL.txt). One woff2: the variable
   font pinned at wdth 100 and clipped to wght 600-700 (the weights the titles use), subset to the same latin range
   /tokens.css gives Bricolage, 27,832 bytes. Built 2026-11-06 with fontTools from a scratch copy; no dependency here.
   "Instrument Fallback" is Arial Bold sized to Instrument Sans 700's advance widths and vertical metrics (the
   "Bricolage Fallback" method in /tokens.css), so the swap moves no line. Bricolage's own @font-face left this file
   the same day: no promo stylesheet names it any more, and /tokens.css still declares it for the pages that do. */
@font-face { font-family: "Instrument Sans"; src: url("/for-yards/fonts/InstrumentSans-latin-600-700.woff2") format("woff2");
  font-weight: 600 700; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00A3, U+00A5-00AC, U+00AE-00FF, U+0102, U+0131, U+0152-0153, U+2002, U+2009, U+200B,
    U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  size-adjust: 99.7%; ascent-override: 97.3%; descent-override: 25.1%; line-gap-override: 0%; }
@font-face { font-family: "Public Sans"; src: url("/for-yards/fonts/PublicSans-latin-400-700.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/for-yards/fonts/IBMPlexMono-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }

/* THE TOKENS: ONE DARK LOOK on every page the frame draws (Mason, 2026-11-06: "I want to make it all dark and remove
   the light theme"). There is no light theme, no switch and no prefers-color-scheme path. */
:root {
  color-scheme: dark;
  --pf-ground: #0b0b0c;
  --pf-band: #131314;
  --pf-surface: #1a1a1b;
  --pf-ink: #f4f4f4;
  --pf-muted: #b3b3b3;
  --pf-rule: #2c2c2e;
  --pf-edge: #7c7c7c;            /* control and frame edges: 3:1 on the ground and the band */
  --pf-brand: #6fd395;           /* pile green: 10.7:1 as text on the ground */
  --pf-brand-ink: #123123;
  --pf-brand-deep: #123123;      /* the logo's tile */
  --pf-accent: var(--pf-brand);  /* the primary button. Never the line's orange. */
  --pf-accent-ink: var(--pf-brand-ink);
  --pf-accent-soft: #16261c;
  --pf-link: #f4f4f4;            /* links are ink, told apart by a green underline */
  --pf-cord: #F2711C;            /* THE LINE: brand orange, 6.7:1 on the ground, so Pile's name is AA as text */
  --pf-cord-glow: rgba(242, 113, 28, .3);
  --pf-cord-w: 2px;              /* the line's weight; the film's own line uses the same two */
  --pf-cord-glow-w: 12px;
  --pf-cord-core: #FFD2A8;  /* the line's hot centre */
  --pf-dawn: #4a4a4c;            /* the edge light, now a neutral hairline */
  --pf-deep: var(--pf-brand-deep); /* the closing band and the footer ground, tile green */
  --pf-deep-ink: #f4f4f4;
  --pf-deep-muted: #b9cbc0;
  --pf-deep-link: #6fd395;
  --pf-deep-cord: #F2711C;       /* the line where it crosses the deep green band (4.8:1) */
  --pf-deep-cord-glow: rgba(242, 113, 28, .26);
  --pf-device: #000000;          /* the drawn bezel of a device frame */
  --pf-device-2: #1e1e20;
  --pf-chrome: #1e1e20;          /* the browser frame's bar */
  --pf-chrome-ink: #b3b3b3;
  --pf-screen: #050505;          /* behind a video before it paints */
  --pf-scrim: rgba(11, 11, 12, .86);  /* behind text laid over a picture: neutral */
  --pf-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 14px 34px rgba(0, 0, 0, .55);
  --pf-radius: 8px;
  --pf-radius-sm: 6px;
  --pf-gutter: 16px;
  --pf-max: 1200px;
  --pf-head-h: 64px;
  --pf-display: "Instrument Sans", "Instrument Fallback", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pf-body: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pf-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
}
@media (min-width: 720px) { :root { --pf-gutter: 32px; } }

/* .pf-night: a band drawn over a dark picture. Every page is dark now, so it needs no tokens of its own. */
:root.pf-page body { background: var(--pf-ground); color: var(--pf-ink); font-family: var(--pf-body); }
.pf-night { color: var(--pf-ink); }
/* A neutral hairline under the header. */
:root.pf-page .pf-head { border-bottom-color: var(--pf-rule); }
/* Pile's name, wherever a page writes it: the line's orange, the only orange words. */
.pf-pile { color: var(--pf-cord); font-weight: 700; }
/* Links in running text: the ink colour, underlined (a pf-page has no coloured links). */
.pf-faq details p a, .pf-news a, .pf-read a, .pf-more, .pf-panel-foot a, .pf-close-acts a.pf-tel, .pf-bottom a {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--pf-brand); }
.pf-faq details p a:hover, .pf-news a:hover, .pf-read a:hover, .pf-more:hover, .pf-panel-foot a:hover { color: var(--pf-brand); text-decoration-thickness: 2px; }
.pf-close-acts a.pf-tel, .pf-bottom a { text-decoration-color: var(--pf-deep-link); }

.pf-wrap { max-width: var(--pf-max); margin: 0 auto; padding-inline: var(--pf-gutter); }
.pf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf-skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: var(--pf-accent); color: var(--pf-accent-ink);
  padding: 10px 14px; border-radius: var(--pf-radius-sm); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; box-sizing: border-box; min-height: 44px; }
.pf-skip:focus { top: 8px; }
.pf-head :focus-visible, .pf-end :focus-visible, .pf-foot :focus-visible, .pf-vid :focus-visible {
  outline: 3px solid var(--pf-brand); outline-offset: 2px; border-radius: 6px; }
.pf-close :focus-visible, footer.pf-foot :focus-visible { outline-color: var(--pf-deep-link); }

/* ═══ 1. THE BUTTON (the one call to action, everywhere) ═══ */
.pf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; font: 700 15px/1.2 var(--pf-body); text-decoration: none; border: 2px solid transparent;
  background: var(--pf-accent); color: var(--pf-accent-ink); white-space: nowrap; }
.pf-btn:hover { filter: brightness(1.08); }
.pf-btn-ghost { background: transparent; color: var(--pf-ink); border-color: var(--pf-edge); }

/* ═══ 2. THE HEADER ═══ */
.pf-head { position: sticky; top: 0; z-index: 50; background: var(--pf-surface); border-bottom: 1px solid var(--pf-rule); }
/* the launch date's slim line (LAUNCH in marketplace/tools/apply-frame.js): above the sticky header, scrolls away with the page */
.pf-launch { position: relative; z-index: 50; margin: 0; padding: 7px var(--pf-gutter); background: var(--pf-deep); color: var(--pf-deep-ink); text-align: center;
  font: 600 14px/1.35 var(--pf-body); letter-spacing: .01em; }
.pf-bar { display: flex; align-items: center; gap: 12px; height: var(--pf-head-h); max-width: var(--pf-max);
  margin: 0 auto; padding-inline: var(--pf-gutter); }
.pf-brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.pf-brand img { height: 30px; width: auto; display: block; }
.pf-brand .pf-mark-dark { display: none; }
.pf-brand .pf-mark-light { display: none; }
.pf-brand .pf-mark-dark { display: block; }


.pf-nav { flex: 1; min-width: 0; }
.pf-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.pf-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--pf-ink); font: 600 15px/1 var(--pf-body); text-decoration: none; cursor: pointer; }
.pf-top:hover, .pf-item.is-open > .pf-top { background: var(--pf-band); }
.pf-top[aria-current="page"], .pf-top[data-pf-current] { color: var(--pf-accent); font-weight: 700; }
.pf-link[aria-current="page"] { color: var(--pf-accent); font-weight: 700; }
.pf-caret { width: 10px; height: 10px; flex: none; transition: transform .15s ease; }
.pf-item.is-open > .pf-top .pf-caret { transform: rotate(180deg); }
.pf-item { position: relative; }
.pf-panel { position: absolute; left: 0; top: calc(100% + 6px); min-width: 260px; padding: 18px; display: none;
  background: var(--pf-surface); border: 1px solid var(--pf-rule); border-radius: var(--pf-radius); box-shadow: var(--pf-shadow); }
.pf-panel-wide { left: -12px; width: min(820px, calc(100vw - 2 * var(--pf-gutter))); }
.pf-item.is-open > .pf-panel { display: block; }
/* Without JavaScript the panels open on hover and on keyboard focus, so nothing is out of reach.
   "With JavaScript" is html.js (reveal-guard.js, in the head, before first paint) or html.pf-js (frame.js):
   reveal-guard takes .js away again after 2 s on a page with no marketing.js, and pf-js is there by then. */
html:not(.js):not(.pf-js) .pf-item:hover > .pf-panel, html:not(.js):not(.pf-js) .pf-item:focus-within > .pf-panel { display: block; }
.pf-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.pf-group h3 { margin: 0 0 6px; font: 700 12px/1.3 var(--pf-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pf-brand); }
.pf-group ul { list-style: none; margin: 0; padding: 0; }
.pf-link { display: block; box-sizing: border-box; padding: 12px 10px; min-height: 44px; margin-inline: -10px; border-radius: 8px; color: var(--pf-ink); text-decoration: none;
  font: 500 15px/1.35 var(--pf-body); }
.pf-link:hover { background: var(--pf-band); }
.pf-panel-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pf-rule); }
.pf-panel-foot a { color: var(--pf-link); font-weight: 600; text-decoration: none; }
.pf-panel-foot a:hover { text-decoration: underline; }

.pf-phone { display: flex; flex-direction: column; align-items: flex-end; min-height: 44px; justify-content: center;
  color: var(--pf-ink); text-decoration: none; font: 700 15px/1.2 var(--pf-body); white-space: nowrap; }
.pf-phone small { font: 500 12px/1.2 var(--pf-body); color: var(--pf-muted); }
.pf-cta-bar { flex: none; }
.pf-cta-menu { display: none; }
.pf-burger { display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px; margin-left: auto;
  border: 1px solid var(--pf-edge); border-radius: 999px; background: none; color: var(--pf-ink); font: 600 15px/1 var(--pf-body); cursor: pointer; }
.pf-burger svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .pf-bar { gap: 8px; }
  .pf-phone { margin-left: auto; }
  .pf-cta-bar { display: none; }
  .pf-burger { display: inline-flex; }
  .pf-phone + .pf-burger { margin-left: 0; }
  .pf-burger { margin-left: auto; }
  .pf-phone ~ .pf-burger { margin-left: 0; }
  /* The menu. Without JavaScript it is an open list under the bar; with it, a panel the button opens. */
  .pf-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--pf-surface); border-bottom: 1px solid var(--pf-rule);
    max-height: calc(100dvh - var(--pf-head-h)); overflow-y: auto; padding: 8px var(--pf-gutter) 20px; }
  :is(html.js, html.pf-js) .pf-nav { display: none; }
  :is(html.js, html.pf-js) .pf-head.is-menu .pf-nav { display: block; }
  .pf-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .pf-item { border-bottom: 1px solid var(--pf-rule); }
  .pf-top { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 17px; border-radius: 0; }
  .pf-top:hover, .pf-item.is-open > .pf-top { background: none; }
  .pf-panel, .pf-panel-wide { position: static; width: auto; min-width: 0; box-shadow: none; border: 0; padding: 0 4px 14px; background: none; }
  html:not(.js):not(.pf-js) .pf-panel { display: block; }
  html:not(.js):not(.pf-js) .pf-burger { display: none; }
  .pf-groups { grid-template-columns: 1fr; gap: 14px; }
  .pf-cta-menu { display: flex; width: 100%; margin-top: 18px; min-height: 52px; font-size: 17px; }
}
@media (max-width: 420px) { .pf-brand img { height: 26px; } .pf-phone small { display: none; } }

/* ═══ 3. THE SHARED PAGE ENDING ═══ */
.pf-end { background: var(--pf-ground); color: var(--pf-ink); }
.pf-sec { padding-block: 64px; }
.pf-sec + .pf-sec { border-top: 1px solid var(--pf-rule); }
.pf-h2 { font: 700 clamp(26px, 4vw, 36px)/1.12 var(--pf-display); letter-spacing: -.02em; margin: 0 0 24px; text-wrap: balance; }
.pf-faq { max-width: 820px; }
.pf-faq details { border-top: 1px solid var(--pf-rule); }
.pf-faq details:last-child { border-bottom: 1px solid var(--pf-rule); }
.pf-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: 56px; padding: 14px 0; font: 600 17px/1.4 var(--pf-body); }
.pf-faq summary::-webkit-details-marker { display: none; }
.pf-faq summary::after { content: "+"; flex: none; font: 400 24px/1 var(--pf-body); color: var(--pf-muted); }
.pf-faq details[open] summary::after { content: "\2212"; }
.pf-faq details p { margin: 0 0 18px; color: var(--pf-muted); font-size: 16px; line-height: 1.6; max-width: 70ch; }
.pf-faq details p a, .pf-news a, .pf-read a { color: var(--pf-link); }
.pf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pf-card { background: var(--pf-band); border: 1px solid var(--pf-rule); border-radius: var(--pf-radius); padding: 20px; }
.pf-card time { display: block; font: 600 13px/1.3 var(--pf-body); color: var(--pf-muted); margin-bottom: 6px; }
.pf-card h3 { margin: 0 0 6px; font: 700 17px/1.35 var(--pf-body); }
.pf-card p { margin: 0; color: var(--pf-muted); line-height: 1.55; }
.pf-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; text-decoration: none; color: var(--pf-link); }
.pf-more:hover { text-decoration: underline; }

/* The closing band: night over the whole yard (media/dawn/close-*.jpg, an illustration), the words on
   a solid run of --pf-deep on the left (wide) or the top (narrow), so the band's ratios hold over it. */
.pf-close { position: relative; background: var(--pf-deep); color: var(--pf-deep-ink); overflow: hidden; }
.pf-close::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--pf-deep) 0, var(--pf-deep) 52%, rgba(18, 49, 35, .35) 78%, rgba(18, 49, 35, .1) 100%),
    url("/for-yards/media/dawn/close-800.jpg") center bottom / 100% auto no-repeat; /* image-source: generated:higgsfield */
  /* the painting in greyscale under the green: a luminosity blend over neutral grey, so the tile green stays green */
  background-color: #808080; background-blend-mode: normal, luminosity; }
@media (min-width: 900px) {
  .pf-close::before { background: linear-gradient(90deg, var(--pf-deep) 0, var(--pf-deep) 34%, rgba(18, 49, 35, .55) 58%, rgba(18, 49, 35, 0) 82%),
    url("/for-yards/media/dawn/close-1600.jpg") right center / cover no-repeat; /* image-source: generated:higgsfield */
    background-color: #808080; background-blend-mode: normal, luminosity; }
}
.pf-close > * { position: relative; }
.pf-close-in { padding-block: 72px; display: grid; gap: 16px; max-width: 760px; }
@media (max-width: 899px) { .pf-close-in { padding-bottom: 46vw; } }
@media (min-width: 900px) { .pf-close-in { max-width: var(--pf-max); padding-block: 96px; } .pf-close-in > * { max-width: 560px; } }
/* the painting is labelled for what it is; it is a CSS background, so the label is visual only */
.pf-close::after { content: "Illustration"; position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 4px;
  background: rgba(18, 49, 35, .82); color: var(--pf-deep-muted); font: 500 12px/1.2 var(--pf-mono); letter-spacing: .04em; }
.pf-close h2 { color: var(--pf-deep-ink); font: 700 clamp(28px, 4.4vw, 42px)/1.08 var(--pf-display); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
.pf-close p { margin: 0; color: var(--pf-deep-muted); font-size: 18px; line-height: 1.55; max-width: 60ch; }
.pf-close-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.pf-close .pf-btn { background: #6fd395; color: #123123; }       /* 7.7:1, pile green on the tile band, both modes */
.pf-close-acts a.pf-tel { color: var(--pf-deep-link); font-weight: 700; }
.pf-sign { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-style: italic; color: var(--pf-deep-muted); }
.pf-sign img { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }

/* ═══ 4. THE DEEP FOOTER ═══ */
/* footer.pf-foot: the class outweighs /components.css's bare `footer` rule (centred, padded, 14px). */
footer.pf-foot { background: var(--pf-deep); color: var(--pf-deep-ink); border-top: 1px solid rgba(238, 244, 240, .14);
  text-align: left; padding: 0; font-size: 15px; line-height: 1.5; }
.pf-close, .pf-end { text-align: left; }
.pf-foot-in { padding-block: 48px 32px; }
.pf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } /* narrow-ok: the phone footer is two minmax(0, 1fr) tracks on purpose (promo round 3); a 0 floor cannot overflow, each column is about 155px at 375 and its links wrap */
@media (min-width: 720px) { .pf-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } } /* narrow-ok: min-width 720px, never applies at 375 */
@media (min-width: 1080px) { .pf-cols { grid-template-columns: repeat(7, minmax(0, 1fr)); } } /* narrow-ok: min-width 1080px, never applies at 375 */
.pf-col h2 { margin: 0 0 10px; font: 700 13px/1.3 var(--pf-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pf-deep-link); }
.pf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pf-col a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--pf-deep-ink); text-decoration: none; font-size: 15px; }
.pf-col a:hover { color: var(--pf-deep-link); text-decoration: underline; }
.pf-money { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(238, 244, 240, .14); font: 600 16px/1.5 var(--pf-body); }
.pf-bottom { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--pf-deep-muted); font-size: 14px; }
.pf-bottom img { height: 24px; width: auto; }
.pf-bottom a { color: var(--pf-deep-link); display: inline-flex; align-items: center; min-height: 44px; }
/* tap-ok: a link inside a sentence of an answer; the line it sits in is the target (WCAG 2.5.8 inline exception) */
.pf-faq details p a { text-underline-offset: 3px; }

/* ═══ 5. THE VIDEO FRAME (how to use it: the header of /for-yards/frame.js) ═══ */
.pf-vid { margin: 0; display: grid; gap: 10px; justify-items: center; }
.pf-vid figcaption { font-size: 14px; line-height: 1.45; color: var(--pf-muted); text-align: center; max-width: 60ch; }
.pf-dev { position: relative; width: 100%; background: var(--pf-device); box-shadow: var(--pf-shadow); }
.pf-screen { position: relative; overflow: hidden; background: var(--pf-screen); }
.pf-screen video, .pf-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* the browser or laptop frame, for desktop clips (1440×900 recordings: 16:10) */
.pf-vid--browser .pf-dev { max-width: 960px; border-radius: 12px; padding: 0 0 0; background: var(--pf-chrome);
  border: 1px solid var(--pf-rule); overflow: hidden; }
.pf-vid--browser .pf-chromebar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; }
.pf-vid--browser .pf-dots { display: flex; gap: 6px; flex: none; }
.pf-vid--browser .pf-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--pf-edge); opacity: .55; }
.pf-vid--browser .pf-url { flex: 1; min-width: 0; height: 20px; border-radius: 6px; background: var(--pf-ground);
  font: 500 12px/20px var(--pf-body); color: var(--pf-chrome-ink); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf-vid--browser .pf-screen { aspect-ratio: 16 / 10; }
.pf-vid--laptop .pf-dev { max-width: 960px; border-radius: 16px 16px 4px 4px; padding: 14px 14px 18px; }
.pf-vid--laptop .pf-screen { aspect-ratio: 16 / 10; border-radius: 4px; }
.pf-vid--laptop .pf-dev::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -12px; height: 12px;
  background: var(--pf-device-2); border-radius: 0 0 14px 14px; }

/* the phone frame, for phone clips (390×844 recordings) */
.pf-vid--phone .pf-dev { max-width: 300px; border-radius: 44px; padding: 12px; }
.pf-vid--phone .pf-screen { aspect-ratio: 390 / 844; border-radius: 33px; }
.pf-vid--phone .pf-dev::before { content: ""; position: absolute; z-index: 2; top: 22px; left: 50%; width: 84px; height: 22px;
  transform: translateX(-50%); border-radius: 12px; background: var(--pf-device); }

/* the bare frame: no device, for the 3D yard (it is a drawing, not a screen) */
.pf-vid--bare .pf-dev { background: none; box-shadow: none; }
.pf-vid--bare .pf-screen { aspect-ratio: 16 / 9; border-radius: var(--pf-radius); }

/* the placeholder poster, until the recording exists: plainly labelled, never a fake screen */
.pf-ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; padding: 16px;
  background: repeating-linear-gradient(135deg, var(--pf-band) 0 14px, var(--pf-surface) 14px 28px); color: var(--pf-muted); }
.pf-ph b { font: 700 18px/1.3 var(--pf-body); color: var(--pf-ink); }
.pf-ph span { font-size: 14px; }

/* NO STATIC SCREENSHOTS on a pf-page (the net; header of frame.js): the image is hidden, with or without
   JavaScript, and frame.js puts this labelled frame in its place, the image's shape. */
:root.pf-page img[data-image-source="screenshot"] { display: none !important; }
.pf-shot-ph { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--pf-radius);
  border: 1px solid var(--pf-rule); background: var(--pf-screen); }

/* the play button: tours always; loops only when motion is reduced */
.pf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border: 0; border-radius: 999px; background: rgba(10, 14, 12, .82); color: #fff;
  font: 700 15px/1 var(--pf-body); cursor: pointer; }
.pf-play svg { width: 16px; height: 16px; }
.pf-vid.is-playing .pf-play { display: none; }
.pf-vid[data-pf-vid="loop"]:not(.is-still) .pf-play { display: none; }

/* ═══ 7. THE SCROLL STAGE (how to use it: the header of /for-yards/frame.js) ═══
   STACKED is the default: no JavaScript, reduced motion, or a stage that frame.js has not reached yet.
   Each beat is a plain block, picture over words, and a film is its still. PINNED is
   html.pf-js .pf-stage.is-pinned, which frame.js adds only when motion is welcome. */
.pf-stage { position: relative; --pf-beat-len: 88svh; }
@media (max-width: 719px) { .pf-stage { --pf-beat-len: 62svh; } }
.pf-stage-pin { position: relative; }
.pf-stage-vis { position: relative; overflow: hidden; background: var(--pf-screen); }
.pf-stage-still, .pf-stage-still img { display: block; width: 100%; height: auto; }
.pf-stage-vis video { display: none; }
.pf-stage-poster { display: none; }
html.pf-js .is-pinned .pf-stage-poster { display: block; position: absolute; inset: 0; }
html.pf-js .is-pinned .pf-stage-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
html.pf-js .pf-stage--film.is-pinned .pf-stage-still { display: none; }
.pf-stage-track, .pf-stage-steps { display: none; }
.pf-beat { position: relative; }
.pf-beat-pic { position: relative; margin: 0; overflow: hidden; background: var(--pf-band); }
.pf-beat-pic img { display: block; width: 100%; height: auto; }
/* THE DOT SCREEN (Mason 2026-11-04: "maybe add a grainy dots over it"): a fine halftone over the film
   and every stage picture, drawn in CSS (one radial-gradient tile, no image). It is a still layer above
   the picture and under the words: it never moves, so scrolling repaints nothing new. */
.pf-stage-vis::before, .pf-beat-pic::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, .6) 0 .9px, transparent 1.25px);
  background-size: 3px 3px; }
@media (max-width: 719px) { .pf-stage-vis::before, .pf-beat-pic::after { background-size: 2.5px 2.5px; } }
.pf-beat-copy { max-width: var(--pf-max); margin: 0 auto; padding: 24px var(--pf-gutter) 40px; display: grid; gap: 12px; }
.pf-beat-copy > * { margin: 0; max-width: 62ch; }
.pf-stage-h { max-width: var(--pf-max); margin: 0 auto; padding: 56px var(--pf-gutter) 8px; }
.pf-beat-kicker { font: 700 13px/1.3 var(--pf-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pf-accent); }
/* the film look, stacked: words on the page ground under the still */
/* tuned for Instrument Sans (2026-11-06): narrower than Bricolage, so a touch less negative tracking and a tighter leading */
.pf-stage--film .pf-beat-copy h1, .pf-stage--film .pf-beat-copy h2 { font: 700 clamp(30px, 5.2vw, 56px)/1 var(--pf-display); letter-spacing: -.02em; text-wrap: balance; }
.pf-beat-copy p { color: var(--pf-muted); font-size: 18px; line-height: 1.55; }
.pf-beat-copy h3 { font: 700 clamp(22px, 2.6vw, 30px)/1.2 var(--pf-display); }

html.pf-js .pf-stage.is-pinned { height: calc(var(--pf-n, 3) * var(--pf-beat-len) + 100svh - var(--pf-head-h)); }
html.pf-js .pf-stage.is-pinned .pf-stage-pin { position: sticky; top: var(--pf-head-h); height: calc(100svh - var(--pf-head-h)); overflow: hidden; }
html.pf-js .is-pinned .pf-stage-vis { position: absolute; inset: 0; }
html.pf-js .is-pinned .pf-stage-still, html.pf-js .is-pinned .pf-stage-still img,
html.pf-js .is-pinned .pf-stage-vis video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.pf-js .is-pinned .pf-stage-vis video { display: block; opacity: 0; transition: opacity .3s linear; }
html.pf-js .is-pinned.is-film .pf-stage-vis video { opacity: 1; }
/* the swap. Words: the old ones leave quickly and the new ones come in just after, so two lines never sit
   on top of each other. Pictures: the new one fades in over the old, which leaves only once it is covered,
   so the ground never flashes between them. Opacity and transform only: nothing here causes layout. */
/* layers in the pin, with no stacking context on a beat so one lane can sit between every picture and every
   word: film and pictures 1 (the showing picture 2), THE CORD LANE 3, words 4, headings, steps, track 5. */
html.pf-js .is-pinned .pf-beat { position: absolute; inset: 0; pointer-events: none; }
html.pf-js .is-pinned .pf-beat.is-on { pointer-events: auto; }
html.pf-js .is-pinned .pf-beat.is-on .pf-beat-pic { z-index: 2; }
html.pf-js .is-pinned .pf-beat-copy { position: relative; z-index: 4; }
.pf-cord-lane { display: none; }
html.pf-js .is-pinned .pf-cord-lane { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pf-cord-mark { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; }
html.pf-js .is-pinned .pf-beat-pic { z-index: 1; opacity: 0; transition: opacity 0s linear .5s; }
html.pf-js .is-pinned .pf-beat.is-on .pf-beat-pic { opacity: 1; transition: opacity .45s ease-out; }
html.pf-js .is-pinned .pf-beat-copy { opacity: 0; transform: translateY(14px); transition: opacity .18s ease-in, transform .18s ease-in; }
html.pf-js .is-pinned .pf-beat.is-on .pf-beat-copy { opacity: 1; transform: none;
  transition: opacity .42s ease-out .16s, transform .5s cubic-bezier(.2, .7, .2, 1) .16s; }
html.pf-js .is-pinned .pf-beat-pic { position: absolute; inset: 0; }
html.pf-js .is-pinned .pf-beat-pic img { width: 100%; height: 100%; object-fit: cover; }
/* the track: a thin line along the bottom of the pin, filling as you go, a tick at each beat */
html.pf-js .is-pinned .pf-stage-track { display: block; position: absolute; z-index: 5; left: var(--pf-gutter); right: var(--pf-gutter); bottom: 18px;
  height: 2px; background: var(--pf-rule); border-radius: 2px; }
html.pf-js .is-pinned .pf-stage-track i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--pf-dawn); border-radius: 2px; }
html.pf-js .is-pinned .pf-stage-track b { position: absolute; top: -3px; width: 2px; height: 8px; margin-left: -1px; background: var(--pf-edge); }

/* the film look, pinned: white words over the film, on a scrim drawn for them. The film is a dark render
   in both modes, and the stage carries .pf-night, so its words take the dark tokens on the ground-colour scrim
   (0.86 where the words sit), the frame's rule for text over a painting. */
/* EACH BEAT'S SCRIM sits on the side its words do (data-pf-beat-pos, below), and fades in with them: the ground colour
   at 0.86 or more where the words are, clear where the picture has its subject. */
html.pf-js .pf-stage--film.is-pinned .pf-beat::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  transition: opacity .3s ease; background: linear-gradient(90deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .86) 38%, rgba(11, 11, 12, .06) 72%); }
html.pf-js .pf-stage--film.is-pinned .pf-beat.is-on::before { opacity: 1; }
html.pf-js .pf-stage--film.is-pinned .pf-beat[data-pf-beat-pos="right"]::before { background: linear-gradient(270deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .86) 38%, rgba(11, 11, 12, .06) 72%); }
html.pf-js .pf-stage--film.is-pinned .pf-beat[data-pf-beat-pos="top"]::before { background: linear-gradient(180deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .86) 40%, rgba(11, 11, 12, .05) 76%); }
html.pf-js .pf-stage--film.is-pinned .pf-beat[data-pf-beat-pos="bottom"]::before { background: linear-gradient(0deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .86) 42%, rgba(11, 11, 12, .05) 78%); }
html.pf-js .pf-stage--film.is-pinned .pf-beat[data-pf-beat-pos="center"]::before { background: radial-gradient(ellipse 62% 66% at 50% 50%, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .86) 48%, rgba(11, 11, 12, 0) 100%); }
/* A FILM THAT CARRIES ITS OWN SCRIMS (data-pf-film-scrim, frame.js): while it shows, the page draws none, so the
   line drawn in the film stays bright where the words sit; a dark edge on every letter keeps the words clear where
   the line passes behind them. The poster (before the film) and an odd-shaped viewport keep the page's scrim. */
html.pf-js .pf-stage--film.is-pinned.is-film.is-film-scrim .pf-beat::before { display: none; }
html.pf-js .pf-stage--film.is-pinned.is-film.is-film-scrim .pf-beat-copy { text-shadow: 0 0 2px rgba(11, 11, 12, .95), 0 0 10px rgba(11, 11, 12, .9); }
html.pf-js .pf-stage--film.is-pinned .pf-beat { display: flex; align-items: center; }
html.pf-js .pf-stage--film.is-pinned .pf-beat-copy { width: 100%; padding-block: 40px 64px; }
html.pf-js .pf-stage--film.is-pinned .pf-beat-copy > * { max-width: 600px; }
html.pf-js .pf-stage--film.is-pinned .pf-beat-copy :is(h1, h2, h3), html.pf-js .pf-stage--film.is-pinned .pf-beat-copy :is(b, strong) { color: var(--pf-ink); }
html.pf-js .pf-stage--film.is-pinned .pf-beat-copy p { color: var(--pf-muted); }
@media (max-width: 719px) {
  /* phones: the words are at the bottom of the picture, or at the top where the beat says top */
  html.pf-js .pf-stage--film.is-pinned .pf-beat:not([data-pf-beat-pos="top"])::before { background: linear-gradient(0deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .86) 46%, rgba(11, 11, 12, .1) 74%); }
  html.pf-js .pf-stage--film.is-pinned .pf-beat[data-pf-beat-pos="top"]::before { background: linear-gradient(180deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .86) 46%, rgba(11, 11, 12, .1) 74%); }
  html.pf-js .pf-stage--film.is-pinned .pf-beat { align-items: flex-end; }
  html.pf-js .pf-stage--film.is-pinned .pf-beat-copy { padding-bottom: 48px; }
  html.pf-js .pf-stage--film.is-pinned .pf-beat-copy p { font-size: 16px; }
}

/* the story look, pinned: each beat's picture fills the pin; its words sit on a card at the left (wide)
   or along the bottom (narrow), on the page's own surface, so every text pair is the frame's own. */
html.pf-js .pf-stage--story.is-pinned { background: var(--pf-band); }
html.pf-js .pf-stage--story.is-pinned .pf-stage-h { position: absolute; z-index: 5; top: 0; left: 0; right: 0; padding-top: 28px; pointer-events: none; }
html.pf-js .pf-stage--story.is-pinned .pf-stage-h > * { display: inline-block; margin: 0; padding: 8px 14px; border-radius: var(--pf-radius-sm);
  background: var(--pf-surface); box-shadow: var(--pf-shadow); font-size: clamp(20px, 2.4vw, 28px); }
html.pf-js .pf-stage--story.is-pinned .pf-beat-pic { background: var(--pf-band); }
html.pf-js .pf-stage--story.is-pinned .pf-beat-pic img { transform: scale(1.04); transition: transform 1.2s ease; }
html.pf-js .pf-stage--story.is-pinned .pf-beat.is-on .pf-beat-pic img { transform: none; }
html.pf-js .pf-stage--story.is-pinned .pf-beat { display: flex; align-items: center; }
html.pf-js .pf-stage--story.is-pinned .pf-beat-copy { position: relative; z-index: 4; width: 100%; padding-block: 0; }
html.pf-js .pf-stage--story.is-pinned .pf-beat-card { max-width: 440px; padding: 24px 26px; border-radius: var(--pf-radius); background: var(--pf-surface);
  box-shadow: var(--pf-shadow); display: grid; gap: 10px; }
html.pf-js .pf-stage--story.is-pinned .pf-beat-card > * { margin: 0; }
html.pf-js .pf-stage--story.is-pinned .pf-beat-kicker { display: none; }
html.pf-js .pf-stage--story.is-pinned .pf-stage-steps { display: flex; position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px;
  max-width: var(--pf-max); margin: 0 auto; padding: 0 var(--pf-gutter); list-style: none; gap: 8px; flex-wrap: wrap; }
.pf-stage-steps button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--pf-rule); border-radius: 999px; background: var(--pf-surface);
  color: var(--pf-muted); font: 600 14px/1.2 var(--pf-body); cursor: pointer; box-shadow: var(--pf-shadow); }
.pf-stage-steps button.is-on { color: var(--pf-accent-ink); background: var(--pf-accent); border-color: var(--pf-accent); }
.pf-stage-steps button:focus-visible { outline: 3px solid var(--pf-link); outline-offset: 2px; }
html.pf-js .pf-stage--story.is-pinned .pf-stage-track { bottom: 14px; }
@media (max-width: 719px) {
  /* phones: the picture fills the pin and the words sit on it, at the bottom, above the steps */
  html.pf-js .pf-stage--story.is-pinned .pf-beat { align-items: flex-end; }
  html.pf-js .pf-stage--story.is-pinned .pf-beat-pic img { object-position: 68% center; }
  html.pf-js .pf-stage--story.is-pinned .pf-beat-copy { padding: 0 var(--pf-gutter) 84px; }
  html.pf-js .pf-stage--story.is-pinned .pf-beat-card { padding: 16px 18px; gap: 8px; }
  html.pf-js .pf-stage--story.is-pinned .pf-beat-card p { font-size: 15px; line-height: 1.5; }
  html.pf-js .pf-stage--story.is-pinned .pf-stage-h { padding-top: 12px; }
  html.pf-js .pf-stage--story.is-pinned .pf-stage-h > * { font-size: 19px; padding: 6px 10px; }
  html.pf-js .pf-stage--story.is-pinned .pf-stage-steps { bottom: 26px; gap: 6px; }
  .pf-stage-steps button { min-height: 36px; padding: 6px 10px; font-size: 13px; }
}

/* A PICTURE THAT WAITS FOR THE FILM (data-pf-held-at on a beat, frame.js): hidden while the film travels, faded in when
   the camera has arrived on the very view the picture was rendered from. At phone width the film alone. */
html.pf-js .is-pinned .pf-beat[data-pf-held-at].is-on .pf-beat-pic { opacity: 0; transition: opacity .25s ease-out; }
html.pf-js .is-pinned .pf-beat[data-pf-held-at].is-on.is-held .pf-beat-pic { opacity: 1; transition: opacity .5s ease-out; }
@media (max-width: 719px) { html.pf-js .is-pinned .pf-beat[data-pf-held-at] .pf-beat-pic { display: none; } }

/* PER-BEAT PLACEMENT (2026-11-04: Mason, "I dont want the information to all be on the left"). A beat says where its
   words go with data-pf-beat-pos="left | right | center | top | bottom" (left when absent), chosen for where its
   picture leaves room. Film beats move their scrim with them; story beats move their card. At phone width every
   beat sits at the bottom of the picture, or at the top when it says top. */
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="right"] .pf-beat-copy > * { margin-left: auto; }
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="center"] .pf-beat-copy { text-align: center; }
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="center"] .pf-beat-copy > * { margin-inline: auto; }
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="center"] .h-acts { justify-content: center; }
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="top"] { align-items: flex-start; }
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="top"] .pf-beat-copy { padding-top: 56px; }
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="bottom"] { align-items: flex-end; }
html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="bottom"] .pf-beat-copy { padding-bottom: 72px; }
@media (max-width: 719px) {
  html.pf-js .is-pinned .pf-beat[data-pf-beat-pos] .pf-beat-copy > * { margin-inline: 0; }
  html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="center"] .pf-beat-copy { text-align: left; }
  html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="center"] .h-acts { justify-content: flex-start; }
  html.pf-js .is-pinned .pf-beat:not([data-pf-beat-pos="top"]) { align-items: flex-end; }
  html.pf-js .is-pinned .pf-beat[data-pf-beat-pos="top"] .pf-beat-copy { padding-top: 76px; }
}

/* the drawn look (with --story): pen drawings, toned light-on-dark onto #0b0b0c (the ground), in grey, shown
   whole and never cropped or blown up, on that same ground so the drawing has no edge. */
.pf-stage--drawn .pf-beat-pic { background: var(--pf-ground); }
html.pf-js .pf-stage--drawn.is-pinned, html.pf-js .pf-stage--drawn.is-pinned .pf-beat-pic { background: var(--pf-ground); }
html.pf-js .pf-stage--drawn.is-pinned .pf-beat-pic img { object-fit: contain; object-position: right center; transform: none; }
@media (max-width: 719px) { html.pf-js .pf-stage--drawn.is-pinned .pf-beat-pic img { object-fit: cover; object-position: 70% center; } }

/* stacked at desktop width (no JavaScript or reduced motion): picture and words side by side */
.pf-stage-note { margin: 0; padding: 8px var(--pf-gutter); font-size: 13px; color: var(--pf-muted); }
html.pf-js .pf-stage--film.is-pinned .pf-stage-note { position: absolute; z-index: 5; right: 0; bottom: 30px; color: var(--pf-muted); max-width: 46ch; text-align: right; }
@media (max-width: 719px) { html.pf-js .pf-stage--film.is-pinned .pf-stage-note { left: 0; top: 8px; bottom: auto; text-align: left; font-size: 12px; } }
@media (min-width: 960px) {
  .pf-stage--story:not(.is-pinned) .pf-beat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center;
    max-width: var(--pf-max); margin: 0 auto; padding: 24px var(--pf-gutter); }
  .pf-stage--story:not(.is-pinned) .pf-beat-pic { border-radius: var(--pf-radius); }
  .pf-stage--story:not(.is-pinned) .pf-beat-copy { padding: 0; }
  .pf-stage--film:not(.is-pinned) .pf-stage-vis { max-height: 70vh; }
  .pf-stage--film:not(.is-pinned) .pf-stage-still img { max-height: 70vh; object-fit: cover; }
}
@media (max-width: 959px) {
  .pf-stage--story:not(.is-pinned) .pf-beat-pic { margin: 0 var(--pf-gutter); border-radius: var(--pf-radius-sm); }
}

/* ═══ 6. THE CORD: Pile, one orange line through the whole page (how to use it: the header of frame.js) ═══
   frame.js draws it as an SVG over its host ([data-pf-cord], or the body of every pf-page) and draws it on
   as the page scrolls. It runs in THE LANE, the margin outside the content column, so it passes alongside
   the words and never through them, and it swings out of the lane only to a stop a page names (a painting's
   subject). It sits under the sticky header (z 40 < 50) and over everything else, and takes no clicks. */
:root { --pf-cord-lane: max(8px, calc((100vw - var(--pf-max)) / 2 - 28px)); }
:where(.pf-cord-host) { position: relative; }   /* zero specificity: a host's own sticky or absolute wins */
.pf-cord { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 40; }
.pf-cord-glow { fill: none; stroke: var(--pf-cord-glow); stroke-width: var(--pf-cord-glow-w); stroke-linecap: round; stroke-linejoin: round; }
.pf-cord-line { fill: none; stroke: var(--pf-cord); stroke-width: var(--pf-cord-w); stroke-linecap: round; stroke-linejoin: round; }
.pf-cord-core { fill: none; stroke: var(--pf-cord-core); stroke-width: 1px; stroke-linecap: round; stroke-linejoin: round; }
.pf-cord-deep .pf-cord-core { display: none; }
/* the stretch of the cord over the tile-green band (frame.js clips a copy to it): always #F2711C */
.pf-cord-deep .pf-cord-line { stroke: var(--pf-deep-cord); }
.pf-cord-deep .pf-cord-glow { stroke: var(--pf-deep-cord-glow); }
.pf-cord-knot.is-deep { stroke: var(--pf-deep-cord); fill: var(--pf-deep); }
.pf-cord-knot.is-deep.is-reached { fill: var(--pf-deep-cord); }
.pf-cord-knot { fill: var(--pf-ground); stroke: var(--pf-cord); stroke-width: 2; transition: fill .35s ease; }
.pf-cord-knot.is-reached { fill: var(--pf-cord); }
/* a numbered knot (data-pf-cord-num): a ring on the line with its number, the number dark once the line has lit it */
.pf-cord-knot.pf-cord-num { stroke-width: 2.5; }
.pf-cord-num-t { fill: var(--pf-cord); font: 700 13px/1 var(--pf-body); text-anchor: middle; dominant-baseline: central; transition: fill .35s ease; }
.pf-cord-knot.pf-cord-num.is-reached + .pf-cord-num-t { fill: var(--pf-ground); }
.pf-cord-tip { fill: var(--pf-cord); }
.pf-cord-tip-halo { fill: var(--pf-cord-glow); }
/* ON A STAGE (the cord in a pinned stage's lane, drawn over a film or a picture): the line reads as LIGHT, never as a dark
   edge (Mason, 2026-11-05: "glowing, not a black outline"): a 3px #F2711C line with a hot #FFD2A8 centre, a wider orange
   bloom, and knots that glow. The films carry the same light inside them (their glow is baked, never drawn by a model).
   The stage is .pf-night, so the core token is the dark one in both modes. */
html.pf-js .is-pinned .pf-cord-lane .pf-cord-line { stroke-width: 3px; }
html.pf-js .is-pinned .pf-cord-lane .pf-cord-glow { stroke: rgba(242, 113, 28, .34); stroke-width: 16px; }
html.pf-js .is-pinned .pf-cord-lane .pf-cord-core { stroke-width: 1.4px; }
html.pf-js .is-pinned .pf-cord-lane .pf-cord-tip-halo { fill: rgba(242, 113, 28, .4); }
html.pf-js .is-pinned .pf-cord-lane .pf-cord-knot { stroke-width: 3; filter: drop-shadow(0 0 4px rgba(242, 113, 28, .85)) drop-shadow(0 0 10px rgba(242, 113, 28, .5)); }
/* NO JAVASCRIPT: the same cord as a still line down the lane, fully drawn. frame.js adds .pf-js and the SVG. */
:root.pf-page:not(.pf-js) body:not([data-pf-cord="off"]) { position: relative; }
:root.pf-page:not(.pf-js) body:not([data-pf-cord="off"])::before,
:root:not(.pf-js) [data-pf-cord]:not([data-pf-cord="off"]):not(body)::before {
  content: ""; position: absolute; z-index: 40; top: 0; bottom: 0; left: var(--pf-cord-lane); width: 2px; margin-left: -1px;
  background: var(--pf-cord); box-shadow: 0 0 0 4px var(--pf-cord-glow); pointer-events: none; }
:root:not(.pf-js) [data-pf-cord]:not(body) { position: relative; }

/* ═══ 7. BLACK AND WHITE PICTURES ═══
   On a pf-page every picture is shown in greyscale, so the line and the brand's green are the only colour. A CSS
   filter, not a second set of files: no extra bytes, and the colour originals stay usable elsewhere.
   NOT FILTERED: <video> (the film carries the orange line inside it, so it is rendered black and white with
   its line in place, by the scroll session), the brand marks (data-image-source="brand": the logo keeps
   its green and orange), and anything marked data-pf-color (an image whose orange line is
   Pile, drawn in on purpose). The closing band's painting is greyscale on every page too, by a luminosity blend rather than this filter,
   so the tile green laid over it keeps its colour (frame.css section 3). */
:root.pf-page img:not([data-pf-color]):not([data-image-source="brand"]), :root.pf-page picture:not([data-pf-color]) img,
:root.pf-page [data-pf-bw] { filter: grayscale(1); }

@media (prefers-reduced-motion: reduce) {
  .pf-caret { transition: none; }
  .pf-cord-knot, .pf-cord-num-t { transition: none; }
}

/* ═══ 10. MOTION (Mason, 2026-11-06: "the green tint and the quicker 200ms", the product's feel here too) ═══
   THE NAV HIGHLIGHT: one pale-green pill per menu (frame.js THE NAV HIGHLIGHT adds it), moved with translateX and sized
   with width, never by layout. At rest it sits under the item the SERVER marked current (aria-current / data-pf-current,
   apply-frame.js); it slides to the item under the pointer or the keyboard focus and back. With JavaScript off there is no
   pill, and the colour and weight above still say where the reader is. The focus ring is the frame's own (section 0).
   In the phone menu (a column) there is no pill. PAGE MOTION: a section rises in once (opacity and 6px, 220 ms) as it comes
   into view (rise.js), and is fully visible at rest without it; a button presses to .97; a linked card lifts 1px.
   prefers-reduced-motion: reduce turns every transition and animation on the page off. No blur, no glass. */
:root { --nav-dur: 200ms; --nav-ease: cubic-bezier(.4, 0, .2, 1); }
.pf-menu { position: relative; }
.pf-pill { position: absolute; z-index: 0; left: 0; top: 0; width: 0; height: 44px; border-radius: 8px; pointer-events: none;
  background: color-mix(in srgb, var(--pf-brand) 16%, transparent); opacity: 0;
  transition: transform var(--nav-dur) var(--nav-ease), width var(--nav-dur) var(--nav-ease), opacity var(--nav-dur) ease; }
.pf-pill.is-instant { transition: none; }
.pf-menu > .pf-item > .pf-top { position: relative; z-index: 1; transition: color .2s ease; }
html.pf-pill-on .pf-menu > .pf-item > .pf-top:hover, html.pf-pill-on .pf-menu > .pf-item.is-open > .pf-top { background: none; }
@media (max-width: 1080px) { .pf-pill { display: none; } }
.pf-btn { transition: transform 120ms var(--nav-ease), filter .2s ease; }
.pf-btn:active { transform: scale(.97); }
a.t-card { transition: transform var(--nav-dur) var(--nav-ease), border-color var(--nav-dur) ease; }
a.t-card:hover { transform: translateY(-1px); }
@keyframes pf-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pf-rise-in { animation: pf-rise 220ms var(--nav-ease) both; }
/* a form's sent state (marketing.js writes .form-result.ok): it arrives, and it says so before the words */
.form-result.ok { animation: pf-rise 220ms var(--nav-ease) both; }
.form-result.ok::before { content: "Sent. "; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  :root.pf-page *, :root.pf-page *::before, :root.pf-page *::after { transition: none !important; animation: none !important; }
}
/* the camera player (cameras/eyes-demo.js), round 3 (Mason, 2026-11-09): no pause bar and no "Simulated footage" badge on any page ("I think they can easily tell") */
[data-eyes-demo] .ed-bar, [data-eyes-demo] .ed-sim { display: none !important; }
