/* 3D+AI FIELD NOTES page only (3d-ai-field-notes.html is the only page that loads this file). Desktop. Started 14 Nov 2026 with Deja, step by step.
   Every rule starts with a .cr-pv class that exists only in that page. The difficulty slider base was built on the Creativia page first and moved here the same day (Deja).
   Inter is self hosted (fonts/Inter-latin.woff2, variable font from Google Fonts, SIL Open Font License). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/Inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 03 · Difficulty slider, BASE (Deja, 14 Nov). Left: a card with a detent slider you drag (simple, medium, avant garde) and round tool buttons with a plus sign. Right: the stage, the picture of the chosen level in the middle, the neighbour levels faded at the sides, and the score. Text and pictures are placeholders. */
.cr-pv { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 3vw; margin: 2vw 2vw 0; padding: 2.6vw; border-radius: 1.8vw; background: #f4f4f6; font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #141414; }
.cr-pv-left { min-width: 0; padding-top: 1vw; }
.cr-pv-card { border-radius: 1.8vw; background: #e8e8eb; padding: 1.7vw 1.9vw 1.5vw; }
.cr-pv-text { margin: 0 0 1.5vw; font: 400 1.32vw/1.32 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; min-height: 5.3vw; transition: opacity 0.35s ease; }
.cr-pv-text.swap { opacity: 0; }
.cr-pv-t { display: block; font-weight: 600; }
.cr-pv-cap { display: block; margin: 0 0 0.8vw; font: 400 0.68vw/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.05em; color: #6d6d72; }
.cr-pv-slider { --tw: 4.4vw; --p: 0.5; position: relative; height: 2.3vw; touch-action: none; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; }
.cr-pv-slider:focus-visible .cr-pv-thumb { box-shadow: 0 0 0 0.22vw rgba(20, 20, 20, 0.28); }
.cr-pv-track { position: absolute; left: 0; right: 0; top: 50%; height: 0.62vw; margin-top: -0.31vw; border-radius: 99px; background: rgba(20, 20, 20, 0.13); overflow: hidden; }
.cr-pv-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * (100% - var(--tw)) + var(--tw) / 2); background: #141414; border-radius: 99px; transition: width 0.5s cubic-bezier(.22, 1, .36, 1); }
.cr-pv-thumb { position: absolute; top: 0; left: calc(var(--p) * (100% - var(--tw))); width: var(--tw); height: 100%; border-radius: 99px; background: #141414; color: #c8f52a; display: flex; align-items: center; justify-content: center; transition: left 0.5s cubic-bezier(.22, 1, .36, 1); }
.cr-pv-thumb svg { width: 1.2vw; height: 1.2vw; display: block; }
.cr-pv-slider.drag { cursor: grabbing; }
.cr-pv-slider.drag .cr-pv-thumb, .cr-pv-slider.drag .cr-pv-fill { transition: none; }
.cr-pv-marks { display: flex; justify-content: space-between; margin-top: 0.7vw; font: 400 0.68vw/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.05em; color: #6d6d72; }
.cr-pv-marks span { cursor: pointer; transition: color 0.3s ease; }
.cr-pv-marks span.on { color: #141414; font-weight: 700; }
.cr-pv-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7vw; margin-top: 1.5vw; }
.cr-pv-pill { display: inline-flex; align-items: center; gap: 0.55vw; padding: 0.55vw 1.2vw 0.55vw 0.65vw; border: 0; border-radius: 99px; background: #fff; color: #141414; font: 600 1.28vw/1 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; cursor: pointer; transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(.22, 1, .36, 1); }
.cr-pv-pill:hover { transform: translateX(0.25vw); }
.cr-pv-pill.on { background: #141414; color: #fff; }
.cr-pv-plus { width: 1.7vw; height: 1.7vw; flex: none; }
.cr-pv-pill:focus-visible { outline: 0.2vw solid rgba(20, 20, 20, 0.35); outline-offset: 0.2vw; }

.cr-pv-stage { position: relative; min-height: 43vw; overflow: hidden; border-radius: 1.2vw; }
.cr-pv-back { position: absolute; left: 50%; top: 0; bottom: 0; width: 46%; transform: translateX(-50%); background: #d7d7da; }
/* The slides: placeholder boxes with a cross, like the boxes of the opening. One is in the middle, its neighbours wait at the sides, faded. */
.cr-pv-slide { position: absolute; left: 50%; top: 6%; width: 31%; height: 74%; border-radius: 1.3vw; border: 1px solid rgba(60, 60, 67, 0.32); overflow: hidden; background:
    linear-gradient(to top right, transparent calc(50% - 0.6px), rgba(60, 60, 67, 0.32) calc(50% - 0.6px), rgba(60, 60, 67, 0.32) calc(50% + 0.6px), transparent calc(50% + 0.6px)),
    linear-gradient(to top left, transparent calc(50% - 0.6px), rgba(60, 60, 67, 0.32) calc(50% - 0.6px), rgba(60, 60, 67, 0.32) calc(50% + 0.6px), transparent calc(50% + 0.6px)),
    #f4f4f5; transition: transform 0.9s cubic-bezier(.22, 1, .36, 1), opacity 0.9s ease, filter 0.9s ease; will-change: transform, opacity; }
.cr-pv-slide img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; }
.cr-pv-slide.o0 { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; }
.cr-pv-slide.om1 { transform: translateX(calc(-50% - 108%)) scale(0.8); opacity: 0.45; z-index: 2; filter: blur(1px); }
.cr-pv-slide.op1 { transform: translateX(calc(-50% + 108%)) scale(0.8); opacity: 0.45; z-index: 2; filter: blur(1px); }
.cr-pv-slide.om2 { transform: translateX(calc(-50% - 216%)) scale(0.7); opacity: 0; z-index: 1; }
.cr-pv-slide.op2 { transform: translateX(calc(-50% + 216%)) scale(0.7); opacity: 0; z-index: 1; }
.cr-pv-lab { position: absolute; left: 27%; bottom: 1.2vw; font: 400 0.68vw/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.05em; color: #6d6d72; z-index: 4; }
.cr-pv-score { position: absolute; right: 24.5%; bottom: 0.8vw; font: 600 3.4vw/1 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.03em; color: #141414; z-index: 4; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .cr-pv-slide, .cr-pv-thumb, .cr-pv-fill, .cr-pv-text, .cr-pv-pill { transition: none; } }

/* 01 · Text rings (Deja, 15 Nov): full-width white section at the top, the canvas fills it. Drag = grabbing hand. */
.fn-rings { position: relative; height: calc(100vh - 4vw + 40px); min-height: 460px; margin: 2vw 2vw 2vw; border-radius: 1.8vw; background: #fff; overflow: hidden; }
.fn-rings canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.fn-rings.dragging canvas { cursor: grabbing; }

/* 02 · THE NOTES (Deja, 18 Nov): the notebook list under the difficulty slider, from the Claude design mockup. Same grey box as the slider block. */
.fn-notes { margin: 2vw 2vw 4vw; padding: 1vw 0 0; border-radius: 0; background: none; color: #141414; font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.fn-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 3vw; align-items: end; padding: 1vw 0 2.4vw; border-bottom: 1px solid #141414; }
.fn-eye { margin: 0; font: 400 0.75vw/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: #4f5bd5; }
.fn-head-r p { margin: 0 0 0.6vw; font: 400 1.32vw/1.4 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.fn-head-r .fn-grey { color: #6d6d72; margin: 0; }
.fn-chips { display: flex; flex-wrap: wrap; gap: 0.6vw; padding: 1.7vw 0 0.4vw; }
.fn-chip { font: 400 0.75vw/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.05em; text-transform: uppercase; min-height: 2.6vw; padding: 0 1.2vw; border-radius: 99px; border: 1px solid #bdbdc2; background: transparent; color: #141414; cursor: pointer; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.fn-chip span { color: #6d6d72; }
.fn-chip:hover { border-color: #141414; }
.fn-chip.on { background: #141414; border-color: #141414; color: #f4f4f6; }
.fn-chip.on span { color: rgba(244, 244, 246, 0.6); }
.fn-chip:focus-visible { outline: 0.2vw solid rgba(20, 20, 20, 0.35); outline-offset: 0.2vw; }
.fn-n { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr); column-gap: 3vw; padding: 3.4vw 0; border-bottom: 1px solid #d6d6da; }
.fn-n[hidden] { display: none; }
.fn-n:first-child { padding-top: 2.6vw; }
.fn-n:last-child { border-bottom-color: #141414; }
.fn-m { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9vw; }
.fn-top { align-self: stretch; display: flex; justify-content: space-between; font: 400 0.75vw/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #6d6d72; }
.fn-h { margin: 0; font: 700 2.5vw/1.02 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.02em; }
.fn-tools { margin: 0; font: 400 0.75vw/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #6d6d72; }
.fn-b { margin: 0; font: 400 1.1vw/1.55 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.fn-lrn { align-self: stretch; margin: 0; padding-top: 0.8vw; border-top: 1px solid #d6d6da; font: 400 1vw/1.5 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.fn-lrn span:first-child { font: 400 0.7vw/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #6d6d72; }
.fn-ph { color: #4f5bd5; }
.fn-ig { font: 400 0.75vw/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #141414; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.fn-ig:hover { color: #4f5bd5; }
.fn-media { min-width: 0; }
.fn-g2, .fn-g3 { display: grid; gap: 0.8vw; }
.fn-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fn-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fn-g5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8vw; }
.fn-g5 .s2 { grid-column: span 2; }
.fn-g5 .s3 { grid-column: span 3; }
.fn-col { display: flex; flex-direction: column; gap: 0.8vw; }
.fn-f { margin: 0; position: relative; overflow: hidden; border-radius: 0.5vw; }
.fn-f img { display: block; width: 100%; height: 100%; }
.fn-media > .fn-f { width: 100%; }
.fn-loop { position: absolute; left: 0.7vw; bottom: 0.7vw; display: flex; align-items: center; gap: 0.4vw; padding: 0.35vw 0.65vw; border-radius: 99px; background: rgba(18, 18, 18, 0.8); color: #f4f4f6; font: 400 0.62vw/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.08em; }
.fn-dash { border: 1px dashed #bdbdc2; border-radius: 0.5vw; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.4vw; font: 400 0.7vw/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #6d6d72; }
.fn-proc { margin: 0; display: flex; flex-direction: column; gap: 0.5vw; }
.fn-proc > div { overflow: hidden; background: #e8e8eb; border-radius: 0.5vw; }
.fn-proc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fn-proc figcaption { font: 400 0.7vw/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #6d6d72; }
.fn-foot { display: flex; justify-content: space-between; gap: 2vw; padding-top: 1.8vw; font: 400 0.75vw/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #6d6d72; }
.fn-up { color: #141414; text-decoration: none; }
.fn-up:hover { color: #4f5bd5; }
@media (prefers-reduced-motion: reduce) { .fn-chip { transition: none; } }

/* the notes list is out of the grey box (Deja, 18 Nov): it sits straight on the white page; the Text Rings and the difficulty slider come after it. */

/* BLURRED GLASS BACKGROUND (Deja, 18 Nov): the top of page 09. Colours measured by eye from his reference picture. Same box size as the Text Rings had. */
.fn-bg { --t: calc(var(--pt-bgs, 67) / 100); position: relative; --hh: calc(var(--pt-bgh, 106) / 100); height: calc((100vh - 4vw + 40px + var(--t) * (4vw - 40px)) * var(--hh)); min-height: calc(460px * var(--hh));   /* Picture height slider: 100 = as tall as the window, lower = shorter */ margin: calc(2vw - 4vw * var(--t)) calc(2vw - 4vw * var(--t)) calc(2vw * (1 - var(--t)));   /* at 100 the top and sides cancel the 2vw padding of the page (.proj), so the picture really touches the window edges */ border-radius: 1.8vw; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #f1f5f1 0%, #ecf1ec 60%, #e8eee9 100%); isolation: isolate; }
.fn-bg i { position: absolute; display: block; border-radius: 50%; pointer-events: none; }
.fn-bg-a { left: 50%; top: 47%; width: 46%; height: 56%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at 50% 50%, rgba(86, 96, 96, 0.78) 0%, rgba(108, 118, 116, 0.55) 34%, rgba(150, 160, 156, 0.18) 64%, rgba(150, 160, 156, 0) 80%); filter: blur(3.2vw); animation: fn-bg-a 9s ease-in-out infinite alternate; }
.fn-bg-b { left: 50%; top: 66%; width: 50%; height: 42%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at 50% 45%, rgba(150, 132, 98, 0.62) 0%, rgba(160, 146, 112, 0.4) 40%, rgba(170, 160, 130, 0) 76%); filter: blur(3.4vw); animation: fn-bg-b 11s ease-in-out infinite alternate; }
/* the frosted glass pane over the lower half: it blurs and warms what lies behind it, with a thin bright edge on top */
.fn-bg-glass { left: 0; right: 0; top: 55%; bottom: 0; border-radius: 0; background: linear-gradient(to bottom, rgba(238, 232, 214, 0.62) 0%, rgba(236, 238, 226, 0.5) 40%, rgba(234, 240, 232, 0.55) 100%); -webkit-backdrop-filter: blur(1.8vw) saturate(1.08); backdrop-filter: blur(1.8vw) saturate(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 -0.6vw 2vw rgba(255, 255, 255, 0.25); }
@keyframes fn-bg-a { 0% { transform: translate(-50%, -50%) scale(0.92); } 50% { transform: translate(-44%, -54%) scale(1.12); } 100% { transform: translate(-56%, -47%) scale(1.02); } }
@keyframes fn-bg-b { 0% { transform: translate(-50%, -50%) scale(1.05); } 50% { transform: translate(-57%, -46%) scale(0.9); } 100% { transform: translate(-45%, -53%) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .fn-bg-a, .fn-bg-b { animation: none; } }
.fn-rings[hidden] { display: none; }

/* Controls, first button (Deja, 18 Nov): "Picture fills the page" slider (--pt-bgs, 0 to 100): 0 = the box with its margins, 100 = the picture touches the left, right and top edges of the window and is the full window high. The round corners stay at every size. */

/* Controls button and panel look (Deja, 18 Nov), copied from the Creativia page (css/creativia.css), because page 09 now uses the same js/pagetune.js. */
.pt-btn { position: fixed; top: 14px; right: 34px; z-index: 70; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 0; display: grid; place-items: center; cursor: pointer; background: none; box-shadow: none; color: #fff; mix-blend-mode: difference; transition: opacity .2s ease, transform .15s ease; }
.pt-btn svg { width: 20px; height: 20px; display: block; }
.pt-btn:hover { opacity: 0.6; }
.pt-btn:active { transform: scale(0.95); }
.wtune.pt { z-index: 80; width: 262px; right: 28px; top: 54px; max-height: calc(100vh - 70px); overflow-y: auto; }
.wtune.pt .wtabs button { font-size: 8.5px; letter-spacing: 0.04em; }
.wtune .ptf { width: 100%; min-width: 0; height: 24px; padding: 0 8px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 7px; background: transparent; color: inherit; font: 500 11px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; user-select: text; -webkit-user-select: text; cursor: text; }
.wtune .ptf:focus { outline: none; border-color: color-mix(in srgb, currentColor 55%, transparent); }
.wtune .ptf-note { margin: 10px 0 0; font-size: 9.5px; line-height: 1.4; opacity: 0.6; }

/* PICTURE + TEXT on the blurred background (Deja, 18 Nov), from his reference picture. The picture is CENTRED in the image (sideways and up / down); the words sit BEHIND it, a little below its middle, as glass letters (a see-through white that fades down, a thin bright edge, a soft shadow). Two sliders in the Controls panel: Picture size (--pt-bgp, vw wide) and Text size (--pt-bgt, vw). */
.fn-bg { --pw: calc(var(--pt-bgp, 5) * 1vw); }
.fn-bg-photo { position: absolute; left: 50%; top: 50%; width: var(--pw); aspect-ratio: 320 / 217; object-fit: cover; transform: translate(-50%, -50%); border-radius: calc(var(--pw) * 0.06); z-index: 3; box-shadow: 0 calc(var(--pw) * 0.07) calc(var(--pw) * 0.18) rgba(60, 60, 55, 0.2); }
.fn-bg-txt { position: absolute; left: 50%; top: 50%; width: 14.4em; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; font: 400 calc(var(--pt-bgt, 1.9) * 1vw)/1.12 "Alte Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.02em; }
.fn-bg-txt span { display: block; white-space: nowrap; width: 100%; color: transparent; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.28) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0.035em rgba(255, 255, 255, 0.75); filter: drop-shadow(0 0.08em 0.14em rgba(70, 80, 78, 0.28)) drop-shadow(0 0 0.5em rgba(255, 255, 255, 0.28)); }
.fn-bg-txt .l2 { transform: scaleX(-1); }   /* the mirrored line, ends at the right edge of the block */
.fn-bg-txt .l3, .fn-bg-txt .l4 { background-image: linear-gradient(to bottom, rgba(232, 214, 168, 0.95) 0%, rgba(220, 200, 150, 0.6) 55%, rgba(215, 195, 145, 0.35) 100%); -webkit-text-stroke-color: rgba(246, 232, 196, 0.8); }   /* the last two lines are warm gold glass */

/* EMPTY BOX (Deja, 18 Nov): a plain pale box, no picture, in front of the glass words. --pt-bgy moves it up / down (percent of the height of the image, 0 = the middle), --pt-bgb sets its width in vw. Same round corners and shape as the small portrait had. */
.fn-bg-box { position: absolute; left: 50%; top: calc(50% + var(--pt-bgy, -3) * 1%); width: calc(var(--pt-bgb, 18) * 1vw); aspect-ratio: 320 / 217; transform: translate(-50%, -50%); border-radius: calc(var(--pt-bgb, 18) * 1vw * 0.06); background: #eee9ea; z-index: 4; box-shadow: 0 calc(var(--pt-bgb, 18) * 1vw * 0.07) calc(var(--pt-bgb, 18) * 1vw * 0.18) rgba(60, 60, 55, 0.2); pointer-events: none; }

/* B button of the Controls panel (Deja, 18 Nov): stops / starts the moving background; the round B looks like the one on the Home panel. */
.fn-bg-paused .fn-bg-a, .fn-bg-paused .fn-bg-b { animation-play-state: paused; }
.wtune button.b { margin: 0; padding: 0; width: 26px; height: 26px; flex: none; border-radius: 50%; font-size: 12px; font-weight: 600; line-height: 26px; text-align: center; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 0 0 1px rgba(60, 60, 67, 0.25); }

/* PAGE 09, the blur MOVES ACROSS the picture and comes round (Deja, 19 Nov): only the two blurred blobs move, nothing else. Each blob drifts sideways (left to right), leaves the picture at the right edge, and comes back in from the LEFT edge, so the blur keeps travelling inside the picture. The blobs start and end completely outside the box, so the jump at the edge cannot be seen. A slow sway (up / down, a little bigger and smaller) runs on top, as before. The grey blob takes 26s, the tan one 34s and starts half way, so they are never in the same place. The paused class (B button) still stops both. */
.fn-bg-a { animation: fn-bg-drift 26s linear infinite, fn-bg-sway-a 7s ease-in-out infinite alternate; }
.fn-bg-b { animation: fn-bg-drift 34s linear -17s infinite, fn-bg-sway-b 9s ease-in-out infinite alternate; }
@keyframes fn-bg-drift { from { left: -34%; } to { left: 134%; } }
@keyframes fn-bg-sway-a { 0% { translate: 0 -7%; scale: 0.92; } 100% { translate: 0 7%; scale: 1.12; } }
@keyframes fn-bg-sway-b { 0% { translate: 0 6%; scale: 1.1; } 100% { translate: 0 -8%; scale: 0.92; } }
@media (prefers-reduced-motion: reduce) { .fn-bg-a, .fn-bg-b { animation: none; } }

/* PAGE 09, the two blurs WANDER on their own (Deja, 19 Nov, replaces the left-to-right drift above): both start in the CENTRE and each follows its own long path of waypoints (sideways and up / down are two separate animations with different lengths, so the paths never repeat in step): they go up, down, to opposite sides, sometimes meet and overlap, sometimes sit together, sometimes far apart; neither one keeps crossing from one side to the other. Every path ends back in the centre, so the loop is seamless. Grey blob: x 31s, y 23s. Tan blob: x 37s, y 29s. A slow growing and shrinking runs on top. The paused class (B button) still stops them. */
.fn-bg-a { animation: fn-a-x 31s ease-in-out infinite, fn-a-y 23s ease-in-out infinite, fn-bg-scale-a 7s ease-in-out infinite alternate; }
.fn-bg-b { animation: fn-b-x 37s ease-in-out infinite, fn-b-y 29s ease-in-out infinite, fn-bg-scale-b 9s ease-in-out infinite alternate; }
@keyframes fn-a-x { 0%, 100% { left: 50%; } 18% { left: 84%; } 42% { left: 22%; } 66% { left: 72%; } }
@keyframes fn-a-y { 0%, 100% { top: 50%; } 22% { top: 24%; } 50% { top: 74%; } 78% { top: 36%; } }
@keyframes fn-b-x { 0%, 100% { left: 50%; } 24% { left: 18%; } 48% { left: 80%; } 74% { left: 30%; } }
@keyframes fn-b-y { 0%, 100% { top: 50%; } 20% { top: 78%; } 46% { top: 28%; } 72% { top: 70%; } }
@keyframes fn-bg-scale-a { 0% { scale: 0.92; } 100% { scale: 1.12; } }
@keyframes fn-bg-scale-b { 0% { scale: 1.1; } 100% { scale: 0.92; } }
@media (prefers-reduced-motion: reduce) { .fn-bg-a, .fn-bg-b { animation: none; } }


/* PAGE 09, PICTURES IN THE CENTRE BOX (Deja, 19 Nov): the box stays exactly where it is (centre, --pt-bgy); 6 pictures from his folder "For pg 09" (img/fieldnotes/box-1 to box-6) show one after the other, 3.6s each (21.6s loop), with a soft cross fade. The box changes WIDTH and HEIGHT to the shape of each picture but keeps the SAME AREA as the old box, so the change is small (portrait pictures are narrower and taller, the screenshot is almost square). Sizes are in the keyframes, as multiples of the Box size slider (--pt-bgb): width = bgb x sqrt(0.678 x w/h), height = bgb x sqrt(0.678 / (w/h)). Picture shapes (w/h): .562 .562 .758 .891 .746 .800. */
.fn-bg-box { aspect-ratio: auto; overflow: hidden; width: calc(var(--pt-bgb, 18) * 0.617 * 1vw); height: calc(var(--pt-bgb, 18) * 1.098 * 1vw); animation: fn-box-size 21.6s ease-in-out infinite; }
.fn-bg-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; margin: 0; opacity: 0; animation: fn-box-fade 21.6s ease-in-out calc(var(--i) * 3.6s) infinite; pointer-events: none; }
@keyframes fn-box-fade { 0% { opacity: 0; } 4.00% { opacity: 1; } 16.667% { opacity: 1; } 20.667% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fn-box-size {
  0% { width: calc(var(--pt-bgb, 18) * 0.737 * 1vw); height: calc(var(--pt-bgb, 18) * 0.921 * 1vw); }
  4.000%, 16.667% { width: calc(var(--pt-bgb, 18) * 0.617 * 1vw); height: calc(var(--pt-bgb, 18) * 1.098 * 1vw); }
  20.667%, 33.333% { width: calc(var(--pt-bgb, 18) * 0.617 * 1vw); height: calc(var(--pt-bgb, 18) * 1.098 * 1vw); }
  37.333%, 50.000% { width: calc(var(--pt-bgb, 18) * 0.717 * 1vw); height: calc(var(--pt-bgb, 18) * 0.946 * 1vw); }
  54.000%, 66.667% { width: calc(var(--pt-bgb, 18) * 0.777 * 1vw); height: calc(var(--pt-bgb, 18) * 0.872 * 1vw); }
  70.667%, 83.333% { width: calc(var(--pt-bgb, 18) * 0.711 * 1vw); height: calc(var(--pt-bgb, 18) * 0.953 * 1vw); }
  87.333%, 100.000% { width: calc(var(--pt-bgb, 18) * 0.737 * 1vw); height: calc(var(--pt-bgb, 18) * 0.921 * 1vw); }
}
.fn-bg-paused .fn-bg-box, .fn-bg-paused .fn-bg-box img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .fn-bg-box, .fn-bg-box img { animation: none; } .fn-bg-box img:first-child { opacity: 1; } }


/* PAGE 09, new Box tab in the Controls (Deja, 19 Nov). --pt-bgx = the box left / right (% of the picture width, 0 = centre), --pt-bgpx / --pt-bgpy = the picture moved inside the box (% of the box, 0 = centred), --pt-bgps = the picture size inside the box (1 = fits, bigger = zoomed and cropped by the box, smaller = the box colour shows round it), --pt-bgsp = the ANIMATION SPEED for the slideshow and the two wandering blurs together (x, 1 = as now, 2 = twice as fast; every duration is divided by it). The box size and up / down sliders were already in the Picture tab. */
.fn-bg-box { left: calc(50% + var(--pt-bgx, -1) * 1%); }
.fn-bg-box img { transform: translate(calc(var(--pt-bgpx, -5) * 1%), calc(var(--pt-bgpy, 2) * 1%)) scale(var(--pt-bgps, 1.05)); }
.fn-bg-box { animation: fn-box-size calc(21.6s / var(--pt-bgsp, 2.77)) ease-in-out infinite; }
.fn-bg-box img { animation: fn-box-fade calc(21.6s / var(--pt-bgsp, 2.77)) ease-in-out calc(var(--i) * 3.6s / var(--pt-bgsp, 2.77)) infinite; }
.fn-bg-a { animation: fn-a-x calc(31s / var(--pt-bgsp, 2.77)) ease-in-out infinite, fn-a-y calc(23s / var(--pt-bgsp, 2.77)) ease-in-out infinite, fn-bg-scale-a calc(7s / var(--pt-bgsp, 2.77)) ease-in-out infinite alternate; }
.fn-bg-b { animation: fn-b-x calc(37s / var(--pt-bgsp, 2.77)) ease-in-out infinite, fn-b-y calc(29s / var(--pt-bgsp, 2.77)) ease-in-out infinite, fn-bg-scale-b calc(9s / var(--pt-bgsp, 2.77)) ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .fn-bg-a, .fn-bg-b, .fn-bg-box, .fn-bg-box img { animation: none; } .fn-bg-box img:first-child { opacity: 1; } }


/* PAGE 09, two separate speeds (Deja, 19 Nov): --pt-bgsp = the slideshow inside the box (pictures and box size changes), --pt-bgsb = the blurred background that wanders at the back. The Box size slider (--pt-bgb) moved to the Box tab. */
.fn-bg-a { animation: fn-a-x calc(31s / var(--pt-bgsb, 0.6)) ease-in-out infinite, fn-a-y calc(23s / var(--pt-bgsb, 0.6)) ease-in-out infinite, fn-bg-scale-a calc(7s / var(--pt-bgsb, 0.6)) ease-in-out infinite alternate; }
.fn-bg-b { animation: fn-b-x calc(37s / var(--pt-bgsb, 0.6)) ease-in-out infinite, fn-b-y calc(29s / var(--pt-bgsb, 0.6)) ease-in-out infinite, fn-bg-scale-b calc(9s / var(--pt-bgsb, 0.6)) ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .fn-bg-a, .fn-bg-b { animation: none; } }

/* the pictures ALWAYS FILL THE BOX (Deja, 19 Nov, "make sure the pictures fulfil the box"): moving the picture inside the box (left / right, up / down) used to leave an empty strip of box colour on the side it moved away from. The size is now at least what is needed to cover the box for the position chosen: max(Picture size, 1 + 2 x the biggest offset / 100). So a bigger offset zooms the picture a little more instead of showing a gap. */
.fn-bg-box img { transform: translate(calc(var(--pt-bgpx, -5) * 1%), calc(var(--pt-bgpy, 2) * 1%)) scale(max(var(--pt-bgps, 1.05), calc(1 + 2 * max(var(--pt-bgpx, -5), -1 * var(--pt-bgpx, -5), var(--pt-bgpy, 2), -1 * var(--pt-bgpy, 2)) / 100))); }


/* PAGE 09, ALL PICTURES THE SAME PROPORTION (Deja, 19 Nov, from the screenshot of his folder: every thumbnail is the same upright shape, 3 wide to 4 high, with rounded corners): the box now has ONE fixed shape, 3:4, and does not change between pictures any more (no size animation); it has the same area the old moving box had (width = Box size x 0.713 vw, height = width x 4/3). Only the corners are rounded: no frame colour, no shadow. Crop is kept as small as possible: the two tall pictures (the rib dress and the walking model, both about 9:16) are shown WHOLE (contain) on a bar of their own background colour (white for the dress, black for the model), so nothing is cut off; the other four (about 3:4 to 8:9) fill the box (cover) and lose only a thin strip. The picture offsets and the size are back to 0 and 1, because the fit is now done by the shape. */
.fn-bg-box { animation: none; width: calc(var(--pt-bgb, 18) * 0.713 * 1vw); height: calc(var(--pt-bgb, 18) * 0.951 * 1vw); aspect-ratio: auto; border-radius: calc(var(--pt-bgb, 18) * 0.713 * 1vw * 0.07); background: transparent; box-shadow: none; }
.fn-bg-box img:nth-child(1) { object-fit: contain; background: #fff; }
.fn-bg-box img:nth-child(2) { object-fit: contain; background: #000; }
.fn-bg-box img:nth-child(4) { background: #202124; }
@media (prefers-reduced-motion: reduce) { .fn-bg-box { animation: none; } }

/* PAGE 09, EACH PICTURE ON ITS OWN (Deja, 19 Nov: "each picture behaves in one way: first place the pictures, without the rounded shape, on top of the text, centred; then curve the corners of each, then the animation"): the box is gone as a frame. .fn-bg-box is now an empty point at the centre (it still moves with Box left / right and up / down) and every picture is placed on it by itself, centred on that point, in ITS OWN proportion: same height, so the width follows the picture (nothing is cropped, nothing is stretched, no bars). The corners of each picture are rounded one by one (a small radius from its height). The rib dress and the walking model were trimmed of their empty margins (img/fieldnotes/box-1.png and box-2.png, the dress sits on white as in his Drive thumbnail), so the visible part is what is centred. Height = Box size x 0.951 vw. Then the cross fade, one after the other, as before. */
.fn-bg-box { animation: none; width: 0; height: 0; aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; border-radius: 0; left: calc(50% + var(--pt-bgx, -1) * 1%); }
.fn-bg-box img { inset: auto; left: 0; top: 0; width: auto; height: calc(var(--pt-bgb, 18) * 0.951 * 1vw); max-width: none; object-fit: contain; border-radius: calc(var(--pt-bgb, 18) * 0.951 * 1vw * 0.045); background: transparent; transform: translate(calc(-50% + var(--pt-bgpx, -5) * 1%), calc(-50% + var(--pt-bgpy, 2) * 1%)) scale(var(--pt-bgps, 1.05)); }
.fn-bg-box img:nth-child(1) { object-fit: contain; background: #fff; }
.fn-bg-box img:nth-child(2) { background: #000; }
.fn-bg-box img:nth-child(4) { background: transparent; }
@media (prefers-reduced-motion: reduce) { .fn-bg-box { animation: none; } .fn-bg-box img { animation: none; } .fn-bg-box img:first-child { opacity: 1; } }


/* PAGE 09, move the whole blurred picture up / down, even out of the page (Deja, 19 Nov): --pt-bgmy in vh (0 = where it is, left of the slider = up, right = down). It moves by translate, so the page text under it does not shift, and the picture can leave the top of the window or slide over the notes below. It sits on top of what it covers (z-index 1). */
.fn-bg { translate: 0 calc(var(--pt-bgmy, -12) * 1vh); z-index: 1; }



/* picture 1 is now the close-up of the rib dress (Deja, 19 Nov, "Pasted 19-11-2026 at 15.42.10", img/fieldnotes/box-1.jpg, 612 x 1000): it fills its own rectangle edge to edge, so it needs no white card behind it (the old trimmed PNG did). */
.fn-bg-box img:nth-child(1) { background: transparent; object-fit: cover; }


/* PAGE 09, a soft WHITE GLOW behind each picture of the slideshow (Deja, 19 Nov): --pt-bgg in the Box tab, 0 = off, 100 = a wide strong glow, 50 by default. It is the picture's own white box-shadow (blur and strength both follow the slider), so it fades in and out together with the picture and keeps the rounded corners. */
.fn-bg-box img { box-shadow: 0 0 calc(var(--pt-bgg, 55) * 0.09vw) calc(var(--pt-bgg, 55) * 0.02vw) rgba(255, 255, 255, calc(var(--pt-bgg, 55) / 100 * 0.95)); }


/* FIX, the pictures were NOT on the same line (Deja, 19 Nov: "one is more on the top, another more on the bottom"): a site rule gives every picture that follows another picture a top margin of 30px (the gap between stacked pictures on the project pages), so pictures 2 to 6 sat 30px lower than picture 1. Found by measuring the page in a headless browser (picture 1 centre at y 328, the others at y 358). The slideshow pictures now have no margin at all, so all six share the same centre point. */
.proj .fn-bg-box img, .proj .fn-bg-box img + img { margin: 0 !important; }
/* the left / right and up / down offsets are measured against the picture HEIGHT (same for every picture), not each picture's own width, so all six land on exactly the same centre point (before, a narrow and a wide picture were 3px apart sideways). */
.fn-bg-box img { transform: translate(-50%, -50%) translate(calc(var(--pt-bgpx, -5) * 0.01 * var(--pt-bgb, 18) * 0.951 * 1vw), calc(var(--pt-bgpy, 2) * 0.01 * var(--pt-bgb, 18) * 0.951 * 1vw)) scale(var(--pt-bgps, 1.05)); }

/* pictures 1 and 2 match the others (Deja, 19 Nov: "the Pasted rib close-up and F 1 Custom View do not seem aligned with the others"): they were much narrower (0.61 and 0.57 wide for 1 high) than the rest (0.75 to 0.89), so they looked smaller and out of line. Both now get the same upright shape as LEINAT and the bag (0.76 wide for 1 high, same height as all). Picture 1 (the rib close-up, a full picture) is cropped a little at the top and bottom (kept on the upper part), picture 2 (the walking model on black) stays whole and gets more black at the sides, which cannot be seen against its black picture. */
.fn-bg-box img:nth-child(1), .fn-bg-box img:nth-child(2) { width: calc(var(--pt-bgb, 18) * 0.951 * 0.76 * 1vw); }
.fn-bg-box img:nth-child(1) { object-fit: cover; object-position: 50% 30%; }
.fn-bg-box img:nth-child(2) { object-fit: contain; background: #000; }


/* PAGE 09, THREE TYPEFACES for the whole page except the first animation (Deja, 19 Nov): the Type tab of the Controls has three Google font pickers. Headings = every h1 / h2 / h3 below the blurred opening, Text = all the other text there, Labels = the small monospace words (eyebrow, chips, captions, difficulty marks...). Nothing inside the opening animation (.fn-bg: the blurs, the glass text, the pictures in the box) and nothing in the dock changes. The scope is :where(), so it adds no specificity: the Labels and Headings rules win over Text by order. Empty picker = the page's own fonts. */
html[data-ptf-type-b] :where(.proj > :not(.fn-bg):not(.fn-rings)), html[data-ptf-type-b] :where(.proj > :not(.fn-bg):not(.fn-rings)) * { font-family: var(--ptf-type-b) !important; }
html[data-ptf-type-h] :where(.proj > :not(.fn-bg):not(.fn-rings)) :is(h1, h2, h3), html[data-ptf-type-h] :where(.proj > :not(.fn-bg):not(.fn-rings)) :is(h1, h2, h3) * { font-family: var(--ptf-type-h) !important; }
html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .cr-pv-cap, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .cr-pv-cap *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .cr-pv-marks, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .cr-pv-marks *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .cr-pv-lab, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .cr-pv-lab *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-eye, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-eye *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-chip, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-chip *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-top, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-top *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-tools, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-tools *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-lrn span:first-child, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-lrn span:first-child *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-ig, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-ig *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-loop, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-loop *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-dash, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-dash *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-proc figcaption, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-proc figcaption *, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-foot, html[data-ptf-type-m] :where(.proj > :not(.fn-bg):not(.fn-rings)) .fn-foot * { font-family: var(--ptf-type-m) !important; }

/* PAGE 09, the filter buttons (All, AI · Fashion, Pattern, Insight, 3D Lab) are stacked ONE BELOW THE OTHER, fixed on the LEFT in the MIDDLE of the window, and appear on their own after the page has loaded and the opening has settled (Deja, 19 Nov, from his picture of the row of chips): hidden at first (no clicks), they fade in and slide a little from the left after 1.6s, 0.9s long. All the same width. The filter itself (js/fieldnotes.js) is unchanged. */
.fn-chips { position: fixed; left: 1.4vw; top: 50%; z-index: 60; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0.6vw; padding: 0; transform: translateY(-50%); opacity: 0; pointer-events: none; animation: fn-chips-in 0.9s ease 1.6s both; }
.fn-chip { text-align: left; white-space: nowrap; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fn-chip.on { background: #141414; }
@keyframes fn-chips-in { from { opacity: 0; transform: translate(-1.2vw, -50%); pointer-events: none; } to { opacity: 1; transform: translate(0, -50%); pointer-events: auto; } }
@media (prefers-reduced-motion: reduce) { .fn-chips { animation: none; opacity: 1; pointer-events: auto; } }

/* PAGE 09, the filter buttons show ONLY while the notes are on screen, and are 30% smaller (Deja, 19 Nov, from his picture): they are hidden when the page loads (the opening, the title) and fade in when the notes section crosses the middle of the window, and fade out again when it has gone (js/fnnotes.js sets the class "on" on .fn-chips). Size: font, height, padding and gap all x 0.7. This replaces the 1.6s load animation above. */
.fn-chips { animation: none; opacity: 0; pointer-events: none; transform: translate(-1.2vw, -50%); gap: 0.42vw; transition: opacity 0.45s ease, transform 0.45s ease; }
.fn-chips.on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.fn-chip { font-size: 0.525vw; min-height: 1.82vw; padding: 0 0.84vw; }
@media (prefers-reduced-motion: reduce) { .fn-chips { transition: none; } }


/* PAGE 09, two sliders for the filter buttons (Filter tab, Deja, 19 Nov): --pt-fcs = size (x, 1 = the 70 percent size now: font, height, padding and gap all follow), --pt-fcy = up / down along the left edge (% of the window height, 0 = the middle, left of the slider = up). */
.fn-chips { top: calc(50% + var(--pt-fcy, -37) * 1%); gap: calc(0.42vw * var(--pt-fcs, 0.9)); }
.fn-chip { font-size: calc(0.525vw * var(--pt-fcs, 0.9)); min-height: calc(1.82vw * var(--pt-fcs, 0.9)); padding: 0 calc(0.84vw * var(--pt-fcs, 0.9)); }


/* PAGE 09, the header of the notes moves RIGHT (Deja, 19 Nov): the small blue "LAB NOTEBOOK . 2022 TO 2026" line and the big "Experiments, tests and things I post..." text are both pushed to the right; two sliders in the Type tab (--pt-hex and --pt-hrx2, in vw, 10 each by default, 0 = where they were). The text keeps its right edge (its box just gets narrower from the left), so it never leaves the page. */
.fn-eye { margin-left: calc(var(--pt-hex2, 0) * 1vw); }
.fn-head-r { padding-left: calc(var(--pt-hrx2, 0) * 1vw); }


/* PAGE 09, the header is back to the first look (Deja, 19 Nov, from his two pictures): the big "Experiments, tests and things I post..." text on the LEFT (about 60 percent of the width, the grey line under it), and the small blue "LAB NOTEBOOK . 2022 TO 2026" line at the RIGHT end, on the bottom line, above the black rule. The two sliders in the Type tab are fine tuning from there (0 = this look): the blue line moves left from the right edge (--pt-hex), the text moves right (--pt-hrx). */
.fn-head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t e"; column-gap: 3vw; }
.fn-head-r { grid-area: t; max-width: 62vw; padding-left: calc(var(--pt-hrx2, 0) * 1vw); }
.fn-eye { grid-area: e; margin: 0 calc(var(--pt-hex2, 0) * 1vw) 0 0; text-align: right; align-self: end; white-space: nowrap; }

/* PAGE 09 header, tighter (Deja, 19 Nov): the "Experiments..." text sits closer to the grey "Some worked..." line (gap 0.6vw -> 0.15vw), and everything sits closer to the black rule under the header (space under the text 2.4vw -> 0.9vw). The blue LAB NOTEBOOK line stays on the same bottom line. */
.fn-head-r p { margin-bottom: 0.15vw; }
.fn-head-r .fn-grey { margin-bottom: 0; }
.fn-head { padding-bottom: 0.9vw; }


/* PAGE 09, the whole text box of every note (NOTE 07 . 2026, the big title, the tools line, the paragraph, LEARNED, WATCH ON INSTAGRAM) gets smaller or bigger AT ONCE with one slider in the Type tab (Deja, 19 Nov): --pt-fnm, 1 = as now. It is CSS zoom, so the letters, the gaps and the lines all scale together and the column simply gets lower, with the same width, the text wrapping to the new size. */
.fn-m { zoom: var(--pt-fnm, 0.63); }


/* PAGE 09, the WIDTH of the note text box (Deja, 19 Nov, "from the right to the left"): --pt-fnw in percent of its column, 100 = the full column as now. Its left edge stays, the RIGHT edge moves left when the number goes down, so the text wraps narrower; the pictures on the right do not move. Up to 110 it may push a little into the gap before the pictures. */
.fn-m { width: calc(var(--pt-fnw, 90) * 1%); }


/* PAGE 09, the paragraph of each note ("A video series about AI in fashion design...") only (Deja, 19 Nov): two sliders in the Type tab, --pt-fnbs = its text size (x, 1 = 1.1vw as now) and --pt-fnbl = the space between its letters (em, 0 = as now, negative = tighter). The title, the small lines and the rest of the box are not touched. */
.fn-b { font-size: calc(1.1vw * var(--pt-fnbs, 0.98)); letter-spacing: calc(var(--pt-fnbl, 0.01) * 1em); }


/* PAGE 09, the pictures of every note (the three video cards, the dashed "next episode" box, the 2 / 5 picture rows) get smaller together (Deja, 19 Nov): --pt-fnp in percent of their column, 100 = the full column as now. They keep their proportions (their height follows their width) and stay on the left, next to the text; the right side of the column stays empty. Slider in the Type tab. */
.fn-media { width: calc(var(--pt-fnp, 37) * 1%); }


/* PAGE 09 notes: (1) the LEARNED line ("LEARNED . [one line in your words]", a placeholder) is REMOVED from every note (Deja, 19 Nov); it is only hidden here, so to bring it back delete the next rule. (2) The small tools line ("Video series . Instagram . TikTok . LinkedIn") gets a slider for the space between its letters (--pt-fntl, em, 0 = as now), in the Type tab. */
.fn-lrn { display: none; }
.fn-tools { letter-spacing: calc(var(--pt-fntl, 0.01) * 1em); }


/* PAGE 09, the pictures of the notes move LEFT / RIGHT (Deja, 19 Nov): --pt-fnpx in vw, 0 = beside the text as now, right of the slider = to the right, left = to the left (over the text column). Slider in the Type tab next to their size. */
.fn-media { translate: calc(var(--pt-fnpx, 38) * 1vw) 0; }


/* PAGE 09, EVERY NOTE HAS THE SAME PICTURE HEIGHT (Deja, 19 Nov: "all the blocks exactly the same as Note 07 in height, the width does not matter"). Note 07 (three 9:16 pictures) sets the height: --fnH = the height of one of its pictures at the chosen size (the Pictures size slider, --pt-fnp, is a share of the picture column: the column is about 61.4vw wide, three pictures and two 0.8vw gaps). Every other note now shows its pictures in a row (or the stacked / side by side process pictures) exactly --fnH high; each picture keeps its own proportion, so only the WIDTH differs from note to note. The Pictures size slider changes all of them together. */
.fn-n { --fnH: calc(((var(--pt-fnp, 37) * 0.6138vw - 1.6vw) / 3) * 16 / 9); }
.fn-media { width: auto; max-width: none; height: var(--fnH); display: flex; align-items: stretch; }
.fn-media > .fn-f { width: auto; height: 100%; flex: none; }
.fn-media .fn-g2, .fn-media .fn-g3, .fn-media .fn-g5 { display: flex; gap: 0.8vw; width: auto; height: 100%; }
.fn-media .fn-g2 > .fn-f, .fn-media .fn-g3 > .fn-f, .fn-media .fn-g3 > .fn-dash, .fn-media .fn-g5 > .fn-f { height: 100%; width: auto; flex: none; }
.fn-media .fn-dash { width: auto; }
.fn-media > .fn-col { display: flex; flex-direction: column; gap: 0.8vw; height: 100%; width: max-content; }
.fn-media > .fn-col > .fn-g2 { flex: 1 1 0; min-height: 0; height: auto; }
.fn-media > .fn-col > .fn-proc { flex: none; }
.fn-media > .fn-col > .fn-proc > div { aspect-ratio: auto; height: calc(var(--fnH) * 0.2); }
.fn-media .fn-g5 .s2 { height: 100%; flex: none; }
.fn-media .fn-g5 .s3 { height: 100%; width: calc(var(--fnH) * 1.3); display: flex; flex-direction: column; flex: none; }
.fn-media .fn-g5 .s3 .fn-proc { height: 100%; display: flex; flex-direction: column; }
.fn-media .fn-g5 .s3 .fn-proc > div { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
.fn-media { width: max-content; justify-self: start; }   /* only as wide as its pictures, so moving them right does not make the page scroll sideways */

/* the rows now have different widths, so "move left / right" moves them by their RIGHT edge: every row is right-aligned on the same line, which is 5vw from the right edge of the page at the default (the slider's 33 = the place Note 07 had), and a bigger number moves the line to the right. This also stops the wide rows (three 4:5 pictures, the process pictures) from running out of the page. The process strip under the two Balaclava pictures is only as wide as those pictures, and long captions wrap. */
.fn-media { translate: none; justify-self: end; margin-right: calc((38 - var(--pt-fnpx, 38)) * 1vw); }
.fn-media > .fn-col > .fn-proc { width: 0; min-width: 100%; }
.fn-proc figcaption { white-space: normal; }
.fn-media > .fn-col > .fn-g2 { flex: none; height: calc(var(--fnH) * 0.8 - 0.8vw); }   /* the two pictures above the process strip: an exact height, so their width is known and the strip can follow it */


/* PAGE 09, the whole text box of every note (NOTE 07, the title, the tools line, the paragraph, the Instagram link) moves LEFT / RIGHT with one slider (Deja, 19 Nov): --pt-fnmx in vw, 0 = as now, right of the slider = to the right. The box has a zoom (the size slider), which also shrinks lengths, so the shift is divided by it to be the real number of vw on screen. */
.fn-m { translate: calc(var(--pt-fnmx, 1.5) / var(--pt-fnm, 0.63) * 1vw) 0; }


/* PAGE 09, the space between each note and the divider lines above and below it (Deja, 19 Nov: "the whole box closer to the edges of the dividers"): --pt-fnpad in vw, 3.4 = as before, lower = the text and the pictures come closer to the lines. The first note keeps its smaller top space (the same share, 2.6 / 3.4). */
.fn-n { padding-top: calc(var(--pt-fnpad, 0.8) * 1vw); padding-bottom: calc(var(--pt-fnpad, 0.8) * 1vw); }
.fn-n:first-child { padding-top: calc(var(--pt-fnpad, 0.8) * 2.6 / 3.4 * 1vw); }


/* PAGE 09 header block up / down (Deja, 19 Nov): --pt-fhy in vw, 0 = as now, negative (left of the slider) = up. It is a margin, so the notes below follow it up. The words of the blue line are changed in the "Text of the blue line" box in the Type tab (js/pagetune.js, texts). */
.fn-head { margin-top: calc(var(--pt-fhy, -2.6) * 1vw); }


/* PAGE 09, the blue line (default words RANDOM NOTES) and the round number on it (Deja, 19 Nov): (1) --pt-fey moves ONLY this block up / down (vw, 0 = as now, negative = up), the rest of the header stays; (2) a filled round circle sits on the TOP RIGHT of the last letter with the number of notes, always two digits (07, 08...). The number is counted from the notes on the page by js/fnnotes.js, so adding a note raises it by itself. */
.fn-eye { position: relative; translate: 0 calc(var(--pt-fey, 2.1) * 1vw); }
.fn-eye-n { position: absolute; top: -1.15em; right: -1.15em; width: 1.95em; height: 1.95em; display: grid; place-items: center; border-radius: 50%; background: #4f5bd5; color: #fff; font: 600 0.82em/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0; font-variant-numeric: tabular-nums; text-align: center; }

/* the number circle: only the outline, in light grey, no fill (Deja, 19 Nov); the number is the same light grey. */
.fn-eye-n { background: transparent; border: 1px solid #c4c4ca; color: #a8a8ae; box-sizing: border-box; }

/* ===== PAGE 09, RESPONSIVE: sizes stop shrinking below a readable minimum and the layout changes at two breakpoints (Deja, 19 Nov: "if I make the page smaller, everything goes small, the typography becomes tiny"). Everything on this page was in vw, so it shrank in proportion to the window. Now: (1) every text keeps a MINIMUM SIZE in real px (the note box is zoomed by the size slider, so its minimums are divided by that zoom: the number on screen is the one written here); (2) at 1100px and below the notes stack (text above the pictures) and the header stacks; at 760px and below the pictures get a minimum height and the page margins are smaller. Above 1100px nothing changes. Desktop only (site/m/ is not touched). ===== */
:root { --fz: var(--pt-fnm, 0.63); }
.fn-h { font-size: max(2.5vw, calc(26px / var(--fz))); }
.fn-b { font-size: max(calc(1.1vw * var(--pt-fnbs, 0.98)), calc(14px / var(--fz))); }
.fn-tools, .fn-top, .fn-ig { font-size: max(0.75vw, calc(11px / var(--fz))); }
.fn-eye { font-size: max(0.75vw, 11px); }
.fn-head-r p { font-size: max(1.32vw, 15px); }
.fn-chip { font-size: max(calc(0.525vw * var(--pt-fcs, 0.9)), 10px); min-height: max(calc(1.82vw * var(--pt-fcs, 0.9)), 26px); }
.fn-loop, .fn-dash, .fn-proc figcaption, .fn-foot { font-size: max(0.7vw, 10px); }
.fn-bg-txt { font-size: max(calc(var(--pt-bgt, 1.9) * 1vw), 15px); }
.fn-n { --fnH: max(calc(((var(--pt-fnp, 37) * 0.6138vw - 1.6vw) / 3) * 16 / 9), 120px); }

@media (max-width: 1100px) {
  .fn-n { grid-template-columns: minmax(0, 1fr); row-gap: 28px; padding-top: 36px; padding-bottom: 36px; }
  .fn-n:first-child { padding-top: 28px; }
  .fn-m { width: 100%; translate: none; zoom: 1; }
  .fn-h { font-size: 34px; }
  .fn-b { font-size: 16px; }
  .fn-tools, .fn-top, .fn-ig { font-size: 12px; }
  .fn-media { justify-self: start; margin-right: 0; translate: none; --fnH: 200px; }
  .fn-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "e"; row-gap: 14px; }
  .fn-head-r { max-width: none; }
  .fn-eye { justify-self: end; }
}
@media (max-width: 760px) {
  .fn-notes { margin-left: 16px; margin-right: 16px; }
  .fn-h { font-size: 28px; }
  .fn-media { --fnH: 160px; max-width: 100%; overflow-x: auto; }
  .fn-head-r p { font-size: 16px; }
  .fn-chips { gap: 6px; }
}

/* at 1100px and below the filter buttons would sit on top of the text of the notes, so they become a row of buttons along the top of the window (they still show only while the notes are on screen). */
@media (max-width: 1100px) {
  .fn-chips { top: 12px !important; left: 12px; right: 60px; flex-direction: row; flex-wrap: wrap; gap: 6px; transform: translate(0, -10px) !important; }
  .fn-chips.on { transform: none !important; }
  .fn-chip { text-align: center; }
}


/* PAGE 09 header block up / down, ONLY that block (Deja, 19 Nov): --pt-fhy now moves just the two texts (Experiments... and Some worked...) and the blue line with its number circle, as a translate, so the black rule under them, the notes below and everything else stay where they are (before, it was a margin and pulled the notes with it). The blue line keeps its own extra slider (--pt-fey) on top of this one. */
.fn-head { margin-top: 0; }
.fn-head-r { translate: 0 calc(var(--pt-fhy, -2.6) * 1vw); }
.fn-eye { translate: 0 calc((var(--pt-fey, 2.1) + var(--pt-fhy, -2.6)) * 1vw); }


/* PAGE 09, the whole part below the animation moves up / down (Deja, 19 Nov): --pt-fbz in vw, 0 = as now, left of the slider (negative) = up, closer to the animation, right = down. It is the top margin of the notes section (2vw as before + the slider), so the header, all the notes and the difficulty slider under them move together and the page gets shorter or longer by the same amount. */
.fn-notes { margin-top: calc(2vw + var(--pt-fbz, -3) * 1vw); }


/* the filter buttons (All, AI . Fashion, Pattern, Insight, 3D Lab) are set in Archivo (Deja, 19 Nov). They sit outside the page wrapper, so the Type tab does not reach them; the font is set here. */
.fn-chip, .fn-chip span { font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; }


/* ===== PAGE 09 EXPERIMENT, notes in columns (Deja, 19 Nov: "move the pictures below the text, ... and on the side another column with the next notes"). Slider "notes in columns" in the Type tab: 1 = the page exactly as it is (nothing below applies); 2 or 3 = the notes sit side by side in that many columns, in reading order (07 and 06 on the first row, 05 and 04 on the next, ...), and in every note the pictures move BELOW "Watch on Instagram". js/fnnotes.js adds the class fn-multi. At 1100px and below it is always one column. To go back: put the slider on 1. ===== */
.fn-notes.fn-multi .fn-list { display: grid; grid-template-columns: repeat(var(--pt-fcols, 3), minmax(0, 1fr)); column-gap: 3vw; align-items: start; }
.fn-notes.fn-multi .fn-n { grid-template-columns: minmax(0, 1fr); row-gap: 1.6vw; border-bottom: 1px solid #d6d6da; }
.fn-notes.fn-multi .fn-n:last-child { border-bottom-color: #d6d6da; }
.fn-notes.fn-multi .fn-m { width: 100%; }
.fn-notes.fn-multi .fn-media { justify-self: start; margin-right: 0; max-width: 100%; overflow: hidden; }
@media (max-width: 1100px) { .fn-notes.fn-multi .fn-list { grid-template-columns: minmax(0, 1fr); } }
.fn-notes.fn-multi .fn-m { translate: none; }   /* the text box shift slider is for the one-column page */
.fn-notes.fn-multi .fn-n, .fn-notes.fn-multi .fn-n:first-child { padding-top: calc(var(--pt-fnpad, 0.8) * 1vw); }   /* all cards start on the same line */
.fn-notes.fn-multi .fn-n { --fnH: max(calc(((var(--pt-fnp, 37) * 0.6138vw - 1.6vw) / 3) * 16 / 9 * (1 - (var(--pt-fcols, 3) - 1) * 0.12)), 110px); }   /* the pictures a little smaller with 2 (x 0.88) or 3 (x 0.76) columns, so the wide rows fit their column */


/* PAGE 09, the paragraph of each note: the space between its LINES (Deja, 19 Nov, "make the whole paragraph closer together"): --pt-fnbh is the line-height, 1.55 = as before, lower = the lines closer. The size and the letter spacing have their own sliders. */
.fn-b { line-height: var(--pt-fnbh, 1.37); }

/* FIX (Deja, 19 Nov: "make the font size slider work, to make it smaller"): the minimum text sizes I added for small windows were a fixed number, so at a normal window they were bigger than what the size sliders asked for and the sliders could not make the text smaller. Now each minimum is multiplied by the same slider (Paragraph text size, Note text box size, Filter buttons size, Text size of the glass words), so the sliders work in both directions and the floor only protects the DEFAULT size on small windows. The note box zoom no longer divides the floors (they are written for the default zoom 0.72). At 1100px and below the fixed sizes of the breakpoints apply, as before. */
.fn-h { font-size: max(2.5vw, 36px); }
.fn-b { font-size: max(calc(1.1vw * var(--pt-fnbs, 0.98)), calc(19.4px * var(--pt-fnbs, 0.98) / 0.93)); }
.fn-tools, .fn-top, .fn-ig { font-size: max(0.75vw, 15.3px); }
.fn-chip { font-size: max(calc(0.525vw * var(--pt-fcs, 0.9)), calc(10px * var(--pt-fcs, 0.9) / 0.9)); min-height: max(calc(1.82vw * var(--pt-fcs, 0.9)), calc(26px * var(--pt-fcs, 0.9) / 0.9)); }
.fn-bg-txt { font-size: max(calc(var(--pt-bgt, 1.9) * 1vw), calc(15px * var(--pt-bgt, 1.9) / 1.9)); }
@media (max-width: 1100px) {
  .fn-h { font-size: 34px; } .fn-b { font-size: 16px; } .fn-tools, .fn-top, .fn-ig { font-size: 12px; }
}
@media (max-width: 760px) { .fn-h { font-size: 28px; } }


/* PAGE 09, the END of every note is twice as far from the divider line under it (Deja, 19 Nov): the space under the pictures is 2 x the space slider (--pt-fnpad), the space above stays as it is. */
.fn-n, .fn-notes.fn-multi .fn-n { padding-bottom: calc(var(--pt-fnpad, 0.8) * 2vw); }


/* the difficulty slider (Level 1 / 2 / 3, "Tailoring and drape") is removed from the page: it carries the attribute hidden in 3d-ai-field-notes.html (Deja, 19 Nov). */
.cr-pv[hidden] { display: none; }


/* the Previous / Next project cards at the end of the page are removed (Deja, 19 Nov): the nav carries the attribute hidden. */
.pnext[hidden] { display: none !important; }


/* PAGE 09, the end of the page (Deja, 19 Nov): --pt-fend in px is added to the space under the last line of the page (the footer), which decides how far the footer stops above the dock at the very end of the scroll. At 0 it stops 87px above the dock (measured at a 1500 x 900 window); a negative number brings it closer to the dock (-87 = touching), a positive one leaves more room. */
.fn-notes { margin-bottom: calc(4vw + var(--pt-fend, -87) * 1px); }




/* PAGE 09, a slider for the layer of the opening (Deja, 19 Nov), Picture tab (the reeded glass, option B, was deleted on 19 Nov): --pt-bubo = the opacity of the LAYER OF THE MOVING BLURS (the grey and the tan bubble that wander), 1 = as before, 0 = gone, so the glass under them shows more. */
.fn-bg-a, .fn-bg-b { opacity: var(--pt-bubo, 1); }


/* PAGE 09, the four lines of the glass words EXPLODE from the centre, slowly (Deja, 19 Nov: "from the center to the sides, as if a bomb explodes, boom, but slowly"). Each line starts as a small, blurred, see-through dot of text at the centre of the block (the start offsets --bx / --by are minus the distance of that line from the centre, in em of the words) and flies out to its own place while it grows, sharpens and the letters open from tight to normal. The lines leave one after the other (0.12s apart), the end is an ease-out, so the blast is fast at first and then drifts in. It plays when the page loads and again every time the opening comes back into view (js/fnnotes.js sets the class "boom" on .fn-bg-txt). Duration = the slider (--pt-boomt, seconds, 4.5; 0 = no animation). Reduced motion: no animation. */
.fn-bg-txt .l1 { --bx: 5.4em; --by: 1.7em; --bd: 0s; }
.fn-bg-txt .l2 { --bx: -2.7em; --by: 0.56em; --bd: 0.12s; }
.fn-bg-txt .l3 { --bx: 2.45em; --by: -0.56em; --bd: 0.24s; }
.fn-bg-txt .l4 { --bx: 2.3em; --by: -1.7em; --bd: 0.36s; }
.fn-bg-txt.boom span { animation: fn-boom calc(var(--pt-boomt, 4.5) * 1s) cubic-bezier(0.12, 0.8, 0.22, 1) var(--bd) both; }
.fn-bg-txt.boom .l2 { animation-name: fn-boom2; }
@keyframes fn-boom { 0% { transform: translate(var(--bx), var(--by)) scale(0.15); opacity: 0; letter-spacing: -0.12em; } 8% { opacity: 1; } 100% { transform: none; opacity: 1; letter-spacing: -0.02em; } }
@keyframes fn-boom2 { 0% { transform: translate(var(--bx), var(--by)) scaleX(-1) scale(0.15); opacity: 0; letter-spacing: -0.12em; } 8% { opacity: 1; } 100% { transform: scaleX(-1); opacity: 1; letter-spacing: -0.02em; } }
@media (prefers-reduced-motion: reduce) { .fn-bg-txt.boom span { animation: none; } }


/* PAGE 09, the words keep flying OUT to the ends and new words keep coming (Deja, 19 Nov: "they should carry on going to the ends, and more text should start appearing and going to the ends"). js/fnnotes.js sends the four first lines (Rawdose, Engineered for impact, Built for Movement, Designed for Impact), then the titles of the notes and the same four again, one after another, from the CENTRE (hidden behind the picture box) out to the left and right edges of the opening; each starts as a small blurred speck, grows and sharpens as it flies, and fades near the edge. Same glass look as the static words. Sliders (Picture tab): --pt-boomt = seconds a word takes to reach the edge (12), --pt-flyi = a new word every N seconds (0.9). The four static lines are hidden while this runs (class fn-stream-on on the opening); no JS or reduced motion keeps them as they were. */
.fn-bg-fly { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; font: 400 calc(var(--pt-bgt, 1.9) * 1vw)/1.12 "Alte Haas Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.02em; }
.fn-bg-fly span { position: absolute; left: 50%; top: 50%; white-space: nowrap; color: transparent; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.28) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0.035em rgba(255, 255, 255, 0.75); filter: drop-shadow(0 0.08em 0.14em rgba(70, 80, 78, 0.28)) drop-shadow(0 0 0.5em rgba(255, 255, 255, 0.28)); will-change: transform, opacity; }
.fn-bg-fly span.gold { background-image: linear-gradient(to bottom, rgba(232, 214, 168, 0.95) 0%, rgba(220, 200, 150, 0.6) 55%, rgba(215, 195, 145, 0.35) 100%); -webkit-text-stroke-color: rgba(246, 232, 196, 0.8); }
/* (the static words are NOT hidden any more: Deja, 19 Nov, "add this text at the back as it was before") */
@media (prefers-reduced-motion: reduce) { .fn-bg-fly { display: none; } }


/* PAGE 09, the four static glass lines are back, exactly as they were, AT THE BACK (Deja, 19 Nov, from his screenshot): they stay in their old place behind the picture box and BEHIND the flying words (their layer is one step lower than the flying layer, which is z-index 2). The flying words and everything else are unchanged. */
.fn-bg-txt { z-index: 1; }


/* PAGE 09, the flying words FADE OUT as they get near the edges (Deja, 19 Nov: "when they are closer to the edges, they start disappearing"). Before, the fade was tied to TIME, and because the words fly fast at first and slowly at the end, many were already near the edge at full strength. Now the fade is tied to POSITION: the flying layer has a mask, fully visible in the middle and fading to nothing at the left and right edges, over the distance of the slider (--pt-flyf, % of the width from each edge, 26; 0 = no fade). It works for every kind of word, the stretched strands too. */
.fn-bg-fly { --f: calc(var(--pt-flyf, 26) * 1%); -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) calc(var(--f) * 0.3), #000 var(--f), #000 calc(100% - var(--f)), rgba(0, 0, 0, 0.3) calc(100% - var(--f) * 0.3), transparent 100%); mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) calc(var(--f) * 0.3), #000 var(--f), #000 calc(100% - var(--f)), rgba(0, 0, 0, 0.3) calc(100% - var(--f) * 0.3), transparent 100%); }


/* PAGE 09, the SIZE of the flying words (Deja, 19 Nov): --pt-flys multiplies their text size (1 = the same size as the still glass words, which follow the Text size slider). The minimum size (15px at 1) follows it too, so the slider works in both directions. */
.fn-bg-fly { font-size: max(calc(var(--pt-bgt, 1.9) * 1vw * var(--pt-flys, 1)), calc(15px * var(--pt-flys, 1))); }

/* PAGE 09, NEW OPENING TEXT (Deja, 19 Nov): the lines (un)FINISHED / NOTES TO SELF / Seen, tried, written down replace Rawdose, Engineered for impact, Built for Movement, Designed for Impact. Line 2 sits where "Engineered" was, on the right, but is no longer mirrored (reads the right way round). Line 3 is the gold one, below. */
.fn-bg-txt .l2 { transform: scaleX(-1); }   /* NOTES TO SELF is mirrored again, reads from right to left (Deja, 19 Nov), ends at the right edge */

/* PAGE 09, NOTE COUNT (Deja, 19 Nov): the circle is back exactly as it was (same place, same size, outline only). Only the number "07" is slightly bigger and sits a little off-centre inside it, like the "15" of his example (a touch to the left and up). Circle size is kept in pixels by dividing by the new font size (1.95 x 0.82 / 0.92). */
.fn-eye-n { font-size: 0.92em; width: 1.738em; height: 1.738em; top: -1.025em; right: -1.025em; padding: 0 0.13em 0.1em 0; }

/* PAGE 09, LOOP VIDEOS (Deja, 19 Nov): the silent video lies over the cover picture of its figure (same fit), fades in when it starts to play, and the LOOP label stays on top. js/fnloop.js plays it only while it is on the screen. */
.fn-f video.fn-vid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.fn-f video.fn-vid.on { opacity: 1; }
.fn-f .fn-loop { z-index: 2; }

/* PAGE 09 (Deja, 19 Nov): the "LOOP · EP 01" label with the play icon no longer lies over the videos (hidden, the markup is still in the page: delete this rule to bring it back). */
.fn-f .fn-loop { display: none !important; }

/* Dark mode ground (20 Nov, Deja): same dark grey as page 07 Creativia, #131316, instead of near black. Stronger selector than desktop-dark.css, which loads after this file. To undo: delete this block. */
html[data-theme="dark"]:root:has(.proj) { --dark-page: #131316; }
