/* nf screen app + nav + toast. Every rule is scoped to .nfs / .nf-nav / .nf-toast. Logical px. */
@font-face { font-family: "NF Geist"; src: url(../../shared/fonts/Geist-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "NF Serif"; src: url(../../shared/fonts/GeistSerif-Triangle.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "NF Pixel"; src: url(../../shared/fonts/GeistPixel-Square.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "NF Mono"; src: url(../../shared/fonts/GeistMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

.nfs { --sans: "NF Geist", system-ui, -apple-system, sans-serif; --serif: "NF Serif", Georgia, serif; --mono: "NF Mono", ui-monospace, monospace; --pixel: "NF Pixel", ui-monospace, monospace;
  position: fixed; left: 0; top: 0; z-index: 5; transform-origin: 0 0; visibility: hidden;
  color: #fff; font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.nfs.is-placed, .nfs.is-flat, .nfs.is-css3d { visibility: visible; }
.nfs.is-css3d { position: relative; width: var(--w); height: var(--h); }
.nfs *, .nfs *::before, .nfs *::after { box-sizing: border-box; }
.nfs-os { position: relative; width: var(--w); height: var(--h); overflow: hidden; isolation: isolate; background: #03090e; }
.nfs .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nfs .sep { opacity: .45; margin: 0 .5em; }
.nfs .nw { white-space: nowrap; }
.nfs a { color: inherit; }
.nfs :focus-visible { outline: 2px solid #0297DE; outline-offset: 3px; border-radius: 6px; }

/* wallpaper: night gradient + the owner's spectral beam + hairline guides */
.nfs-wall { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 115%, rgba(2,151,222,.20), transparent 62%), radial-gradient(55% 55% at 92% 0%, rgba(212,49,127,.20), transparent 70%),
    radial-gradient(45% 50% at 4% 8%, rgba(252,115,77,.13), transparent 70%), linear-gradient(180deg, #061018, #02070a); }
.home-wall .nfs-mb { display: none; } /* the wall has no menu bar; Contact at the page's top right has the same links */
.home-wall .nfs-home { position: absolute; left: 0; top: 0; right: auto; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } /* the name stays for screen readers */
.nfs-wall { pointer-events: none; }
.nfs-wall img, .nfs-wall video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nfs-wall video { opacity: 0; transition: opacity .6s ease; } .nfs-wall video.on { opacity: 1; }
.nfs-wall i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.045); }
.nfs-wall i:nth-child(1) { left: 25%; } .nfs-wall i:nth-child(2) { left: 50%; } .nfs-wall i:nth-child(3) { left: 75%; }
.nfs-wall .beam { position: absolute; left: -8%; right: -8%; top: 63%; height: 2px; transform: rotate(-2.6deg); opacity: .8;
  background: linear-gradient(90deg, transparent 0, #FC734D 16%, #D4317F 48%, #0297DE 82%, transparent 100%);
  box-shadow: 0 0 26px 6px rgba(212,49,127,.32), 0 0 110px 34px rgba(2,151,222,.10); }

/* menu bar */
.nfs-mb { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 32px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; background: rgba(6,14,20,.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nfs-app { font-weight: 650; letter-spacing: -.005em; }
.nfs-mb-r { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); }
.nfs .gl { display: grid; place-items: center; width: 26px; height: 24px; border-radius: 6px; color: inherit; }
.nfs .gl svg { width: 15px; height: 15px; fill: currentColor; } .nfs .gl svg.st { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nfs .gl:hover { color: #fff; background: rgba(255,255,255,.1); }
.nfs-clock { margin-left: 8px; font-variant-numeric: tabular-nums; }

/* home: the typed name */
.nfs-home { position: absolute; left: 7.5%; right: 7.5%; top: 22%; }
.nfs-name { margin: 0; font: 400 118px/1 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.nfs-name .ch { opacity: .18; transition: opacity .1s; }
.nfs-name .ch.on { opacity: 1; animation: nfs-key .5s ease-out; }
.nfs-name.is-done .ch { opacity: 1; }
@keyframes nfs-key { from { text-shadow: 0 0 22px rgba(255,255,255,.75); } to { text-shadow: 0 0 0 transparent; } }
.nfs-name .caret { display: inline-block; width: .055em; height: .8em; margin: 0 .03em; vertical-align: -.04em; background: #fff; animation: nfs-blink 1s steps(1) infinite; }
@keyframes nfs-blink { 50% { opacity: 0; } }
.nfs-role { margin: 28px 0 0; font-size: 27px; line-height: 1.3; font-weight: 450; color: rgba(255,255,255,.88); }
.nfs-edu { margin: 12px 0 0; font: 400 15px/1.4 var(--mono); letter-spacing: .02em; color: rgba(255,255,255,.55); }

/* home, terminal variant: a terminal window the arms type the name into (one mono size, like a real one) */
.nfs .nfs-term { left: 50%; right: auto; top: 20%; width: 1000px; transform: translateX(-50%); }
.nfs-term .tm { height: 360px; border-radius: 12px; overflow: hidden; background: rgba(13,16,20,.88); border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.7), 0 28px 80px rgba(0,0,0,.55); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); }
.nfs-term .tm-tb { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(0,0,0,.5); box-shadow: 0 1px 0 rgba(255,255,255,.035); }
.nfs-term .tm-l { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.nfs-term .tm-l i { width: 13px; height: 13px; border-radius: 50%; background: #3b4149; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.45); }
.nfs-term .tm-t { font: 500 13.5px/1 var(--sans); color: rgba(255,255,255,.5); }
.nfs-term .tm-b { padding: 24px 30px; font: 400 36px/1.4 var(--mono); letter-spacing: -.01em; color: #e8ecf0; }
.nfs-term .tm-ln { display: flex; align-items: baseline; gap: .6em; white-space: nowrap; }
.nfs-term .tm-p { color: rgba(232,236,240,.42); }
.nfs .nfs-term .nfs-name { display: block; font: inherit; letter-spacing: inherit; white-space: pre; }
.nfs .nfs-term .nfs-name .ch { display: none; opacity: 1; animation: none; }
.nfs .nfs-term .nfs-name .ch.on, .nfs .nfs-term .nfs-name.is-done .ch { display: inline; }
.nfs .nfs-term .nfs-name .caret, .nfs-term .tm-cur { display: inline-block; width: .6em; height: 1.12em; margin: 0; vertical-align: -.22em; background: rgba(232,236,240,.82); animation: nfs-blink 1.06s steps(1) infinite; }
.nfs-term .tm-out, .nfs-term .tm-next { display: none; }
.nfs-term.is-run .tm-out { display: block; } .nfs-term.is-run .tm-next { display: flex; }
.nfs .nfs-term .nfs-role, .nfs .nfs-term .nfs-edu { margin: 0; font: inherit; color: rgba(232,236,240,.8); }
.nfs .nfs-term .nfs-edu { color: rgba(232,236,240,.5); }
.nfs .nfs-term .sep { margin: 0; }

/* dock */
.nfs-dock { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; gap: 2px; padding: 14px 12px 12px; border-radius: 28px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.nfs .ic { all: unset; box-sizing: border-box; width: 122px; padding: 2px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; border-radius: 16px; }
.nfs .ic-t { position: relative; width: 76px; height: 76px; border-radius: 19px; overflow: hidden; display: grid; place-items: center; background: #0c1822;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 22px rgba(0,0,0,.45); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.nfs .ic-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nfs .k-light .ic-t { background: #f3efe7; } .nfs .k-light .ic-t img, .nfs .k-dark .ic-t img { width: 58%; height: 58%; object-fit: contain; }
.nfs .k-wide .ic-t { background: #10151b; } .nfs .k-wide .ic-t img { width: 84%; height: auto; object-fit: contain; }
.nfs .k-purple .ic-t { background: #5b4fd6; } .nfs .k-purple .ic-t img { width: 54%; height: 54%; object-fit: contain; }
.nfs .k-glyph .ic-t svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.3; }
.nfs .k-video .ic-t::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M4 2.6v6.8c0 .4.4.6.7.4l5.2-3.4a.5.5 0 0 0 0-.8L4.7 2.2c-.3-.2-.7 0-.7.4Z'/%3E%3C/svg%3E") center/9px no-repeat; }
.nfs .ic-l { max-width: 122px; font-size: 14.5px; line-height: 1.2; text-align: center; white-space: nowrap; color: rgba(255,255,255,.84); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.nfs .ic:hover .ic-t, .nfs .ic:focus-visible .ic-t { transform: translateY(-7px) scale(1.06); }
.nfs .ic:hover .ic-l { color: #fff; }
.nfs .ic:focus-visible { outline: 0; } .nfs .ic:focus-visible .ic-t { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 2px #0297DE; }
.nfs-credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font: 400 11px/1.3 var(--mono); color: rgba(255,255,255,.36); }

/* glass sheen */
.nfs-glass { position: absolute; inset: 0; z-index: 9; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,0) 30%), radial-gradient(140% 110% at 50% 45%, transparent 64%, rgba(0,0,0,.30)); }
.nfs.no-glass .nfs-glass { display: none; }

/* windows */
.nfs-wins { position: absolute; z-index: 4; inset: 32px 0 0; pointer-events: none; }
.nfs-win { position: absolute; left: 50%; top: 50%; width: min(1180px, calc(100% - 56px)); height: calc(100% - 40px); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; border-radius: 14px;
  background: #091017; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 34px 100px rgba(0,0,0,.65), 0 0 0 .5px rgba(0,0,0,.9);
  animation: nfs-in .3s cubic-bezier(.2,.8,.2,1); }
.nfs-win.is-out { animation: nfs-out .2s ease forwards; pointer-events: none; }
@keyframes nfs-in { from { opacity: 0; transform: translate(-50%, -48%) scale(.965); } }
@keyframes nfs-out { to { opacity: 0; transform: translate(-50%, -49%) scale(.975); } }
.nfs-tb { flex: none; position: relative; height: 42px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.07); }
.nfs .lights { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.nfs .lights i { width: 14px; height: 14px; border-radius: 50%; background: #343a41; }
.nfs .l-close { all: unset; width: 14px; height: 14px; border-radius: 50%; background: #FF5F57; cursor: pointer; display: grid; place-items: center; }
.nfs .l-close svg { width: 8px; height: 8px; fill: none; stroke: #4d0b07; stroke-width: 1.6; opacity: 0; }
.nfs .lights:hover .l-close svg, .nfs .l-close:focus-visible svg { opacity: 1; }
.nfs .l-close:focus-visible { outline: 2px solid #0297DE; outline-offset: 2px; }
.nfs-tt { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); }
.nfs-wb { flex: 1; min-height: 0; overflow: auto; padding: 34px 44px 44px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; outline: 0; }

/* window content */
.nfs .w-split { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.nfs .w-col { max-width: 1060px; margin: 0 auto; } .nfs .w-col.narrow { max-width: 720px; }
.nfs .w-vid, .nfs .w-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.nfs video::cue { font: 500 19px/1.35 var(--sans); background: rgba(0,0,0,.72); color: #fff; }
.nfs .w-head { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.nfs .w-logo { flex: none; width: 52px; height: 52px; border-radius: 13px; overflow: hidden; display: grid; place-items: center; background: #0c1822; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.nfs .w-logo img { width: 100%; height: 100%; object-fit: cover; }
.nfs .w-logo.light { background: #f3efe7; } .nfs .w-logo.light img, .nfs .w-logo.dark img { width: 58%; height: 58%; object-fit: contain; }
.nfs .w-logo.wide { background: #10151b; } .nfs .w-logo.wide img { width: 84%; height: auto; object-fit: contain; }
.nfs .w-logo.purple { background: #5b4fd6; } .nfs .w-logo.purple img { width: 54%; height: 54%; object-fit: contain; }
.nfs .w-logo.glyph svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.4; }
.nfs .w-logo.tile { font: 600 22px/1 var(--sans); background: #15222e; }
.nfs .w-h { margin: 0; font: 400 36px/1.08 var(--serif); letter-spacing: -.012em; }
.nfs .w-h.sm { margin-top: 8px; font-size: 27px; }
.nfs .w-h a, .nfs .tlink { text-decoration: none; }
.nfs .tlink:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.nfs .ar { width: .42em; height: .42em; margin-left: .22em; vertical-align: .22em; fill: none; stroke: currentColor; stroke-width: 1.3; opacity: .7; }
.nfs .w-meta { margin: 6px 0 0; font: 400 14px/1.4 var(--mono); color: rgba(255,255,255,.58); }
.nfs .w-sub { margin: 0 0 16px; font-size: 19.5px; line-height: 1.5; color: rgba(255,255,255,.94); }
.nfs .w-how { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.nfs .w-how li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.74); }
.nfs .w-how li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 1px; background: rgba(255,255,255,.6); }
.nfs .w-note { margin: 0 0 12px; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.74); }
.nfs .w-res { margin: 18px 0 0; padding-left: 13px; border-left: 2px solid #FC734D; font-size: 16.5px; line-height: 1.5; font-weight: 550; }
.nfs .w-foot { margin: 28px 0 0; font: 400 12px/1.4 var(--mono); color: rgba(255,255,255,.45); }

.nfs .w-chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nfs .chap { all: unset; cursor: pointer; display: inline-flex; align-items: center; padding: 6px 0; margin-right: 18px; font-size: 14.5px; color: rgba(255,255,255,.66); border-bottom: 1px solid transparent; }
.nfs .chap svg { width: 10px; height: 10px; margin-right: 8px; fill: currentColor; }
.nfs .chap .t { font-family: var(--mono); opacity: .7; }
.nfs .chap .sep { margin: 0 .45em; }
.nfs .chap:hover { color: #fff; }
.nfs .chap.is-on { color: #fff; border-bottom-color: #fff; }
.nfs .chap:focus-visible { outline: 2px solid #0297DE; outline-offset: 2px; }

/* Couloir showcase */
.nfs .sc-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.nfs .sc-logo { flex: none; width: 60px; height: 60px; border-radius: 14px; }
.nfs .sc-head .w-sub { max-width: 780px; margin: 10px 0 12px; }
.nfs .sc-tag { display: block; margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.nfs .sc-dot { display: none; }
.nfs .sc-hero { position: relative; margin: 0 0 18px; }
.nfs .sc-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.nfs .badge { position: absolute; left: 12px; top: 10px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.86); text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 10px rgba(0,0,0,.6); }
.nfs .stats { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.nfs .stats li { padding: 16px 16px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.nfs .stats .n { margin: 0; font: 400 42px/1 var(--serif); letter-spacing: -.02em; }
.nfs .stats u { margin-left: 2px; font-size: .48em; text-decoration: none; opacity: .75; }
.nfs .stats .l { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.8); }
.nfs .stats .s { margin: 7px 0 0; font: 400 12px/1.4 var(--mono); color: rgba(255,255,255,.5); }
.nfs .reel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
.nfs .tv { position: relative; aspect-ratio: 16 / 10; margin-bottom: 12px; overflow: hidden; border-radius: 10px; background: #000; }
.nfs .tv img, .nfs .tv video { display: block; width: 100%; height: 100%; object-fit: cover; }
.nfs [data-hover-play] { cursor: pointer; }
.nfs .pi { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); transition: opacity .2s; }
.nfs .pi svg { width: 10px; height: 10px; fill: #fff; } .nfs .tv.is-playing .pi { opacity: 0; }
.nfs .reel h3 { margin: 0 0 6px; font-size: 18px; font-weight: 620; }
.nfs .reel p { margin: 0 0 6px; font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,.74); }
.nfs .reel b { font-weight: 620; color: #fff; }
.nfs .reel .cr { font: 400 12px/1.4 var(--mono); color: rgba(255,255,255,.45); }

/* Horizon recap (redacted illustration) */
.nfs .rc { aspect-ratio: 16 / 10; padding: 26px 30px; border-radius: 12px; background: #f3efe7; color: #141a22; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.nfs .rc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.nfs .rc-stamp { margin-left: auto; padding: 4px 7px; border: 1px solid rgba(20,26,34,.32); border-radius: 5px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(20,26,34,.7); }
.nfs .rc-t { margin: 16px 0 8px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(20,26,34,.55); }
.nfs .rc-l { width: var(--w); height: 12px; margin: 0 0 9px; border-radius: 3px; background: rgba(20,26,34,.8); }
.nfs .rc-l.b { background: linear-gradient(90deg, #0d1218 0 34%, rgba(20,26,34,.5) 34%); }
.nfs .w-quote { margin: 22px 0 0; padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.nfs .w-quote blockquote { margin: 0; } .nfs .w-quote p { margin: 0; font: 400 27px/1.2 var(--serif); }
.nfs .w-quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.72); }
.nfs .ci { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--sans); background: #1b2935; }

/* Hypixel, QwQ */
.nfs .hx { position: relative; } .nfs .hx img { display: block; width: 100%; height: auto; border-radius: 10px; }
.nfs .rank { position: absolute; right: 16px; top: 12px; font: 400 58px/1 var(--pixel); text-shadow: 0 2px 14px rgba(0,0,0,.65); }
.nfs .qw { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; gap: 18px; border-radius: 12px;
  background: radial-gradient(70% 90% at 50% 50%, rgba(91,79,214,.22), transparent 70%), #070d13; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.nfs .qw-n { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.72); }
.nfs .qw-n b { font: 400 46px/1 var(--serif); color: #fff; }
.nfs .qw-a { width: 40px; height: 20px; fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.4; }
.nfs .qw-ft { padding: 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.nfs .qw-box { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: #5b4fd6; } .nfs .qw-box img { width: 30px; height: 30px; }

/* Experience, Contact */
.nfs .xp { list-style: none; margin: 16px 0 26px; padding: 0; }
.nfs .xp li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.nfs .xp h3 { margin: 2px 0 0; font-size: 19px; font-weight: 620; }
.nfs .xp .fig { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,.74); }
.nfs .xp strong { color: #fff; font-weight: 620; }
.nfs .xp-credit { display: none; } /* on a monitor the corner of the room carries the credit; phones read it here */
html.is-mobile .nfs .xp-credit { display: block; margin: 0 0 8px; font: 400 12px/1.5 var(--mono); color: rgba(255,255,255,.62); }
.nfs .ct { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.nfs .ct a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px; text-decoration: none; font-size: 21px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .15s; }
.nfs .ct a:hover { background: rgba(255,255,255,.09); }
.nfs .ct-ic { width: 36px; height: 36px; display: grid; place-items: center; }
.nfs .ct-ic svg { width: 22px; height: 22px; fill: #fff; } .nfs .ct-ic svg.st { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.5; }
.nfs .ct-l { flex: 1; } .nfs .ct .ar { width: 14px; height: 14px; }
.nfs .ct-r { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* optional press-to-enter */
.nfs-enter { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: rgba(2,7,10,.88);
  font-family: var(--pixel); text-transform: uppercase; letter-spacing: .14em; transition: opacity .4s; }
.nfs-enter.is-out { opacity: 0; pointer-events: none; }
.nfs-enter { gap: 40px; font-family: var(--mono); background: rgba(2,7,10,.97); }
.nfs-enter .en-go { margin: 0; font: 400 40px/1 var(--mono); letter-spacing: .02em; color: rgba(255,255,255,.92); animation: none; }
.nfs-enter .en-go i { display: inline-block; width: .55em; height: .95em; margin-right: .45em; vertical-align: -.12em; background: #7fd6ff; box-shadow: 0 0 18px rgba(127,214,255,.6); animation: nfs-blink 1.1s steps(1) infinite; }
.nfs-enter .en-snd { display: flex; align-items: baseline; gap: 22px; font: 400 26px/1 var(--mono); color: rgba(255,255,255,.5); letter-spacing: .04em; }
.nfs-enter .en-snd button { all: unset; cursor: pointer; padding: 2px 0; color: rgba(255,255,255,.5); border-bottom: 2px solid transparent; }
.nfs-enter .en-snd button[aria-pressed="true"] { color: #fff; border-bottom-color: #7fd6ff; }
.nfs-enter .en-snd button:focus-visible { outline: 2px solid #0297DE; outline-offset: 4px; }

/* flat mode: phones. The desktop becomes the page; windows become full-screen sheets. */
.nfs.is-flat { position: fixed; inset: 0; width: auto; height: auto; transform: none; }
.nfs.is-flat .nfs-os { width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; background: rgba(2,7,10,.7); touch-action: pan-y; }
.nfs .nfs-wb { touch-action: pan-y; }
.nfs.is-flat .nfs-wall { position: fixed; opacity: .9; background: radial-gradient(90% 60% at 50% 110%, rgba(2,151,222,.2), transparent 62%), linear-gradient(180deg, rgba(6,16,24,.82), rgba(2,7,10,.9)); }
.nfs.is-flat .nfs-wall .beam { top: 44%; }
.nfs.is-flat .nfs-mb, .nfs.is-flat .nfs-glass { display: none; }
.nfs.is-flat .nfs-home { position: static; padding: 92px 24px 0; }
.nfs.is-flat .nfs-name { font-size: clamp(42px, 12.4vw, 64px); white-space: normal; }
.nfs.is-flat .nfs-role { margin-top: 16px; font-size: 17px; }
.nfs.is-flat .nfs-edu { font-size: 12.5px; }
.nfs.is-flat .nfs-term { transform: none; width: auto; }
.nfs.is-flat .nfs-term .tm { height: auto; min-height: 210px; }
.nfs.is-flat .nfs-term .tm-b { padding: 16px 18px 20px; font-size: 17px; }
.nfs.is-flat .nfs-term .tm-ln { white-space: normal; }
.nfs.is-flat .nfs-term .nfs-name, .nfs.is-flat .nfs-term .nfs-role, .nfs.is-flat .nfs-term .nfs-edu { font-size: inherit; margin: 0; white-space: normal; }
.nfs.is-flat .nfs-dock { position: static; transform: none; margin: 40px 14px 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 4px; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nfs.is-flat .ic { width: auto; gap: 8px; } .nfs.is-flat .ic-t { width: 66px; height: 66px; border-radius: 17px; }
.nfs.is-flat .ic-l { font-size: 13px; white-space: normal; }
.nfs.is-flat .nfs-credit { position: static; padding: 0 24px 28px; }
.nfs.is-flat .nfs-wins { position: fixed; inset: 0; z-index: 20; }
.nfs.is-flat .nfs-win { left: 0; top: 52px; width: 100%; height: calc(100% - 52px); transform: none; border-radius: 16px 16px 0 0; border-width: 1px 0 0; animation: nfs-up .3s cubic-bezier(.2,.8,.2,1); }
.nfs.is-flat .nfs-win.is-out { animation: nfs-down .2s ease forwards; }
@keyframes nfs-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes nfs-down { to { transform: translateY(40px); opacity: 0; } }
.nfs.is-flat .nfs-wb { padding: 22px 20px 48px; }
.nfs.is-flat .w-split { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.nfs.is-flat .w-h { font-size: 29px; } .nfs.is-flat .w-sub { font-size: 17px; }
.nfs.is-flat .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nfs.is-flat .stats .n { font-size: 34px; }
.nfs.is-flat .reel { grid-template-columns: minmax(0, 1fr); }
.nfs.is-flat .sc-head { gap: 14px; } .nfs.is-flat .sc-logo { width: 48px; height: 48px; }
.nfs.is-flat .rc { padding: 18px 20px; }
.nfs.is-flat .ct a { font-size: 18px; padding: 16px 18px; }

/* nav: top right, the only corner UI */
.nf-nav { position: fixed; z-index: 40; top: 20px; right: 28px; display: flex; gap: 28px; font: 400 15px/1 "NF Pixel", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.nf-nav a, .nf-nav button { all: unset; position: relative; padding: 7px 0; cursor: pointer; color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.nf-nav a:hover, .nf-nav button:hover, .nf-nav [aria-current] { color: #fff; }
.nf-nav [aria-current]::after { content: ""; position: absolute; left: 0; right: .12em; bottom: 0; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px); }
.nf-nav :focus-visible { outline: 1px solid #fff; outline-offset: 5px; }
@media (max-width: 760px) { .nf-nav { top: 16px; right: 16px; gap: 17px; font-size: 12.5px; } }

.nf-toast { position: fixed; z-index: 60; left: 50%; bottom: 30px; transform: translate(-50%, 12px); padding: 11px 16px; border-radius: 10px; opacity: 0; pointer-events: none;
  font: 500 14px/1.2 "NF Geist", system-ui, sans-serif; color: #fff; background: rgba(12,20,28,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 12px 32px rgba(0,0,0,.45); transition: opacity .2s, transform .2s; }
.nf-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { .nfs *, .nf-toast { animation: none !important; transition: none !important; } }

/* neon: the desk objects are the navigation, so the dock can be hidden */
.nfs.no-dock .nfs-dock { display: none; }
.nfs.no-dock .nfs-home { padding-bottom: 40px; }
.nfs:not(.is-flat) .nfs-credit { display: none; } /* on the monitor the page footer carries the credit */
.nfs.no-dock.is-flat .nfs-dock { display: grid; }


/* ---------- project windows, night edition: a dark page in a dark room. Lamp from the
   upper left, the city's cold from the lower right, one spectral line (the desktop's beam) under the title. ---------- */
.nfs .nfs-wb:focus-visible { outline: 0; } /* the body takes focus on open; a ring around it is noise */
.nfs-win.w2 { --cream: #F3EBDD; --c2: rgba(243,235,221,.78); --c3: rgba(243,235,221,.62); --hair: rgba(243,235,221,.11);
  /* centred without a transform, so the text stays on whole pixels */
  left: 0; right: 0; top: 0; bottom: 0; margin: auto; height: fit-content; max-height: calc(100% - 40px); transform: none; animation-name: w2-in;
  color: var(--cream); border-radius: 10px; border-color: rgba(243,235,221,.15); box-shadow: 0 30px 90px rgba(0,0,0,.62);
  background: radial-gradient(58% 44% at 6% 0%, rgba(252,115,77,.085), transparent 72%), radial-gradient(64% 46% at 100% 100%, rgba(2,151,222,.06), transparent 72%), #02070A; }
.nfs-win.w2.is-out { animation-name: w2-out; }
@keyframes w2-in { from { opacity: 0; transform: translateY(10px) scale(.975); } }
@keyframes w2-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }
.w2 .nfs-tb { height: 34px; background: none; border-bottom: 0; }
.nfs .w2 .nfs-tt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* the menu bar and the title already say it */
.nfs .w2 .lights i { width: 12px; height: 12px; background: rgba(243,235,221,.13); }
.nfs .w2 .l-close { width: 12px; height: 12px; background: #FC734D; } .nfs .w2 .l-close svg { stroke: #2b0e05; }
.nfs .w2 .nfs-wb { padding: 14px 46px 48px; scrollbar-color: rgba(243,235,221,.22) transparent; }
.nfs .w2 a:focus-visible, .nfs .w2 .l-close:focus-visible { outline: 2px solid #0297DE; outline-offset: 3px; }

.nfs .w2-head { position: relative; display: flex; align-items: center; gap: 18px; padding-bottom: 22px; margin-bottom: 30px; }
.nfs .w2-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, #FC734D, #D6409F 34%, #0297DE 68%, rgba(2,151,222,0)); }
.nfs .w2-head .w-logo, .nfs .w2-head .sc-logo { flex: none; width: 52px; height: 52px; border-radius: 12px; }
.nfs .w2 .w-h { margin: 0; font: 400 50px/1.04 var(--serif); letter-spacing: -.015em; color: var(--cream); }
.nfs .w2 .tlink:hover { text-decoration-color: #0297DE; }
.nfs .w2-meta { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; font: 400 13.5px/1.5 var(--mono); color: var(--c3); }
.nfs .w2-sim { font-weight: 400; color: #4DBBF0; }

.nfs .w2 .w-sub { margin: 0 0 22px; max-width: 34em; font: 400 24px/1.4 var(--serif); color: var(--cream); }
.nfs .w2 .w-how { display: block; }
.nfs .w2 .w-how li { padding: 14px 0; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.62; color: var(--c2); }
.nfs .w2 .w-how li::before { content: none; }

.nfs .w2-spread { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 38px; align-items: start; }
.nfs .w2 .w-vid, .nfs .w2 .sc-hero img, .nfs .w2 .tv { border-radius: 6px; box-shadow: 0 0 0 1px var(--hair); background: #000; }

.nfs .w2-col .w-sub { max-width: 37em; margin-bottom: 30px; }
.nfs .w2 .sc-hero { margin: 0 0 44px; }
.nfs .w2 figcaption, .nfs .w2-cap { margin: 9px 0 0; font: 400 13px/1.4 var(--mono); color: var(--c3); }
.nfs .w2 .stats { display: block; margin: 0 0 54px; }
.nfs .w2 .stats li { display: grid; grid-template-columns: 196px minmax(0, 1fr) 300px; column-gap: 24px; align-items: baseline; padding: 15px 0 16px; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--hair); }
.nfs .w2 .stats li:last-child { border-bottom: 1px solid var(--hair); }
.nfs .w2 .stats .n { font-size: 50px; font-variant-numeric: tabular-nums; }
.nfs .w2 .stats u { margin-left: 3px; opacity: .62; }
.nfs .w2 .stats .l { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--cream); }
.nfs .w2 .stats .s { margin: 0; font: 400 13px/1.5 var(--mono); color: var(--c3); }
.nfs .w2 .reel { gap: 44px 30px; }
.nfs .w2 .tv { margin-bottom: 0; aspect-ratio: 16 / 9; grid-column: 1 / -1; } /* the films' own labels stay in frame */
.nfs .w2 .tv > img, .nfs .w2 .tv > video { filter: brightness(.9); } /* seated in the dark room; the white sim floors would otherwise glare */
.nfs .w2 .reel > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; column-gap: 16px; }
.nfs .w2 .reel > li > * { grid-column: 1 / -1; }
.nfs .w2 .reel > li > h3 { grid-column: 1; grid-row: 2; }
.nfs .w2 .reel > li > p.w2-cap { grid-column: 2; grid-row: 2; align-self: baseline; margin: 22px 0 0; }
.nfs .w2 .reel h3 { margin: 16px 0 8px; font: 400 24px/1.2 var(--serif); letter-spacing: -.005em; color: var(--cream); }
.nfs .w2 .reel p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.6; color: var(--c2); }
.nfs .w2 .reel p.w2-cap { font: 400 13px/1.4 var(--mono); color: var(--c3); }
.nfs .w2 .reel b { font-weight: 560; color: var(--cream); }
.nfs .w2 .pi { width: auto; height: auto; right: 12px; bottom: 11px; background: none; } .nfs .w2 .pi svg { width: 13px; height: 13px; fill: var(--cream); filter: drop-shadow(0 1px 3px rgba(0,0,0,.8)); }
.nfs .w2 .w-foot, .nfs .w2 .reel .cr { font: 400 13px/1.4 var(--mono); color: var(--c3); }
.nfs .w2 .w-foot { margin: 44px 0 0; }

/* the rest of the windows, same system */
.nfs .w2 .w-logo { background: #0c1822; box-shadow: inset 0 0 0 1px var(--hair); }
.nfs .w2 .w-logo.light { background: #F3EBDD; } .nfs .w2 .w-logo.purple { background: #5b4fd6; } .nfs .w2 .w-logo.glyph svg { stroke: var(--cream); }
.nfs .w2 .w-note { margin: 0; padding: 14px 0; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.62; color: var(--c2); }
.nfs .w2 .w-res { margin: 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.62; font-weight: 500; color: var(--cream); }
.nfs .w2 .w-img, .nfs .w2 .hx img { border-radius: 6px; box-shadow: 0 0 0 1px var(--hair); }
.nfs .w2 .w-img, .nfs .w2 .hx img { filter: brightness(.92); }
.nfs .w2 .rank { font: 400 50px/1 var(--serif); color: var(--cream); }
.nfs .w2 video::cue { font: 500 19px/1.35 var(--sans); background: rgba(2,7,10,.78); color: var(--cream); }
.nfs .w2 .w-chapters { gap: 4px 26px; margin-top: 12px; }
.nfs .w2 .chap { margin: 0; padding: 6px 0 7px; font-size: 15.5px; color: var(--c3); }
.nfs .w2 .chap svg { fill: currentColor; } .nfs .w2 .chap .sep { display: none; } .nfs .w2 .chap .t { margin-left: 10px; font: 400 13px/1 var(--mono); opacity: 1; }
.nfs .w2 .chap:hover { color: var(--cream); } .nfs .w2 .chap.is-on { color: var(--cream); border-bottom-color: #FC734D; }
.nfs .w2 .rc { border-radius: 6px; padding: 22px 26px 20px; background: #F3EBDD; color: #02070A; box-shadow: none; filter: brightness(.92); }
.nfs .w2 .rc-stamp { padding: 0; border: 0; font: 400 13px/1 var(--mono); letter-spacing: 0; text-transform: none; color: rgba(2,7,10,.66); }
.nfs .w2 .rc-t { margin: 32px 0 10px; font: 400 13px/1 var(--mono); letter-spacing: 0; text-transform: none; color: rgba(2,7,10,.66); }
.nfs .w2 .rc-l { height: 14px; margin-bottom: 11px; background: rgba(2,7,10,.8); } .nfs .w2 .rc-l.b { background: linear-gradient(90deg, #02070A 0 34%, rgba(2,7,10,.5) 34%); }
.nfs .w2 .w-quote { margin: 24px 0 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.nfs .w2 .w-quote p { font: 400 24px/1.3 var(--serif); color: var(--cream); }
.nfs .w2 .w-quote figcaption { margin-top: 10px; font: 400 15.5px/1.4 var(--sans); color: var(--c2); }
.nfs .w2 .ci { width: 26px; height: 26px; background: #0c1822; box-shadow: inset 0 0 0 1px var(--hair); font: 400 10.5px/1 var(--mono); color: var(--cream); }
.nfs .w2 .qw { border-radius: 6px; background: radial-gradient(70% 90% at 50% 50%, rgba(91,79,214,.2), transparent 70%), #02070A; box-shadow: inset 0 0 0 1px var(--hair); }
.nfs .w2 .qw-n { font-size: 15.5px; color: var(--c2); } .nfs .w2 .qw-n b { font: 400 50px/1 var(--serif); color: var(--cream); }
.nfs .w2 .qw-a { stroke: var(--c3); } .nfs .w2 .qw-ft { font: 400 13px/1 var(--mono); letter-spacing: 0; text-transform: none; color: var(--c3); }
/* the two list windows are narrow, no media */
.nfs.has-win .nfs-term { visibility: hidden; } /* nothing peeks out from behind a window */
.nfs-win.w2.w-experience, .nfs-win.w2.w-contact { width: min(780px, calc(100% - 56px)); }
.nfs .w2-col .w-h.sm { margin: 34px 0 0; font-size: 24px; line-height: 1.2; }
.nfs .w2 .xp { margin: 12px 0 0; }
.nfs .w2-col > .xp:first-child { margin-top: -14px; }
.nfs .w2 .xp li { gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); }
.nfs .w2-col > .xp:first-child > li:first-child { border-top: 0; }
.nfs .w2 .xp .w-logo { width: 44px; height: 44px; border-radius: 10px; }
.nfs .w2 .xp .w-logo.tile { font: 400 22px/1 var(--serif); }
.nfs .w2 .xp .w-logo.glyph svg { width: 22px; height: 22px; }
.nfs .w2 .xp h3 { margin: 0; font: 400 24px/1.2 var(--serif); color: var(--cream); }
.nfs .w2 .xp .w-meta { margin: 5px 0 0; font: 400 13px/1.5 var(--mono); color: var(--c3); }
.nfs .w2 .xp .fig { margin: 7px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--c2); }
.nfs .w2 .xp strong { font-weight: 560; color: var(--cream); }
html.is-mobile .nfs .w2 .xp-credit { margin: 22px 0 0; font: 400 13px/1.5 var(--mono); color: var(--c3); }
.nfs .w2 .ct { margin: -14px 0 0; display: block; }
.nfs .w2 .ct li + li { border-top: 1px solid var(--hair); }
.nfs .w2 .ct a { padding: 15px 0; gap: 14px; border-radius: 0; background: none; box-shadow: none; font: 400 24px/1.2 var(--serif); color: var(--cream); transition: color .15s; }
.nfs .w2 .ct a:hover { background: none; color: #4DBBF0; }
.nfs .w2 .ct-ic svg { fill: currentColor; } .nfs .w2 .ct-ic svg.st { fill: none; stroke: currentColor; }
.nfs .w2 .ct-r { font: 400 13px/1 var(--mono); letter-spacing: 0; text-transform: none; color: var(--c3); }

.nfs.is-flat .nfs-win.w2 { margin: 0; right: auto; bottom: auto; max-height: none; }
.nfs.is-flat .w2 .nfs-wb { padding: 8px 18px 48px; }
.nfs.is-flat .w2-head { flex-wrap: wrap; gap: 12px 14px; padding-bottom: 16px; margin-bottom: 20px; }
.nfs.is-flat .w2-head .w-logo, .nfs.is-flat .w2-head .sc-logo { width: 44px; height: 44px; border-radius: 10px; }
.nfs.is-flat .w2 .w-h { flex: 1; min-width: 0; font-size: 33px; }
.nfs.is-flat .w2-meta { flex-basis: 100%; margin: 0; justify-content: flex-start; gap: 2px 16px; font-size: 12.5px; }
.nfs.is-flat .w2-spread { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.nfs.is-flat .w2 .w-sub, .nfs.is-flat .w2-col .w-sub { font-size: 21px; line-height: 1.4; margin-bottom: 22px; }
.nfs.is-flat .w2 .sc-hero { margin-bottom: 30px; }
.nfs.is-flat .w2 .stats { margin-bottom: 38px; }
.nfs.is-flat .w2 .stats li { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 14px 0; }
.nfs.is-flat .w2 .stats .n { font-size: 40px; }
.nfs.is-flat .w2 .reel { gap: 34px; }
.nfs.is-flat .nfs-win.w2.w-experience, .nfs.is-flat .nfs-win.w2.w-contact { width: 100%; }
.nfs.is-flat .w2 .rc { padding: 16px 18px 14px; }
.nfs.is-flat .w2 .rc-head { flex-wrap: wrap; row-gap: 4px; } .nfs.is-flat .w2 .rc-head span { white-space: nowrap; } .nfs.is-flat .w2 .rc-stamp { flex-basis: 100%; margin-left: 32px; }
.nfs.is-flat .w-horizon .w2-media { display: contents; } .nfs.is-flat .w-horizon .w-quote { order: 3; margin: 0; } /* phone: card, what it did, then the quote */
.nfs.is-flat .w2-col .w-h.sm { font-size: 24px; flex: none; }
.nfs.is-flat .w2 .rc-t { margin: 13px 0 7px; } .nfs.is-flat .w2 .rc-l { height: 10px; margin-bottom: 7px; }
.nfs.is-flat .w2 .rank { font-size: 38px; }
.nfs.is-flat .w2 .qw { gap: 10px; } .nfs.is-flat .w2 .qw-n b { font-size: 34px; } .nfs.is-flat .w2 .qw-n { font-size: 13.5px; text-align: center; } .nfs.is-flat .w2 .qw-a { width: 22px; } .nfs.is-flat .w2 .qw-box { width: 44px; height: 44px; border-radius: 11px; } .nfs.is-flat .w2 .qw-box img { width: 24px; height: 24px; }
.nfs.is-flat .w2 .xp h3, .nfs.is-flat .w2 .ct a { font-size: 21px; }

/* ---------- project articles: a full-window page over the room. Paper and Midnight ink; alpine green leads, salmon supports, blue is a rare exception.
   Swap the palette here: --hi (marks), --hi-tint (highlighted columns), --hi-ink (text and key figures), --accent2 (second marks), --rare. Night windows remain behind ?style=night. */
@font-face { font-family: "NF Serif Text"; src: url(../../shared/fonts/GeistSerifVF.woff2) format("woff2"); font-display: swap; }
html.paper-on { height: auto !important; overflow: visible auto !important; background: #F3EBDD !important; -webkit-text-size-adjust: 100%; }
html.paper-on body { height: auto !important; overflow: visible !important; touch-action: auto !important; overscroll-behavior: auto !important; background: #F3EBDD !important; }
html.paper-full #stage, html.paper-full #still, html.paper-full .nfs:not(.nfs-paper), html.paper-full .nftn-fixed, html.paper-full .nf-hint, html.paper-full .nf-credit, html.paper-full .tag { visibility: hidden !important; } /* covered: nothing to composite */
.nf-toast { z-index: 60; }
.nfs.nfs-paper { --hi: #737645; --hi-tint: #DCE1BF; --hi-ink: #4C4F27; --accent2: #FC734D; --rare: #134A8E; --paper: #F3EBDD; --ink: #02070A; --ink2: rgba(2,7,10,.76); --ink3: rgba(2,7,10,.62); --hair: rgba(2,7,10,.17);
  position: fixed; inset: 0; z-index: 40; width: auto; height: auto; transform: none; visibility: visible; overflow: hidden; color: var(--ink); background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .24s ease; }
.nfs.nfs-paper[hidden] { display: none; }
.nfs.nfs-paper.is-in { position: relative; inset: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; opacity: 1; pointer-events: auto; }
.nfs.nfs-paper.is-out { inset: auto 0 auto 0; overflow: visible; transition-duration: .18s; }
.nfs .nfs-win.w3 { position: relative; inset: auto; display: block; width: auto; height: auto; max-height: none; margin: 0; overflow: visible; transform: none; border: 0; border-radius: 0; color: var(--ink); background: none; box-shadow: none; animation: none; }
.nfs .w3 .nfs-wb { display: block; flex: none; overflow: visible; padding: 0 clamp(20px, 5vw, 44px) 96px; overscroll-behavior: auto; }
.w3 ::selection { background: var(--hi-tint); }
.nfs .w3 :focus-visible { outline: 2px solid var(--hi-ink); outline-offset: 2px; }
.nfs .w3 .nfs-wb:focus-visible { outline: 0; }
.w3 .vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the one way back, always in reach */
.a-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; box-sizing: content-box; height: 52px; padding: env(safe-area-inset-top, 0px) max(clamp(10px, 2.4vw, 28px), env(safe-area-inset-right, 0px)) 0 max(clamp(10px, 2.4vw, 28px), env(safe-area-inset-left, 0px)); background: var(--paper); border-bottom: 1px solid var(--hair); }
.nfs .a-back, .nfs .a-snd { appearance: none; display: inline-flex; align-items: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--hi-ink); font: 500 16px/1 var(--sans); cursor: pointer; }
.nfs .a-back:hover { color: var(--ink); }
.nfs .a-snd { font: 400 13px/1 var(--mono); color: var(--ink3); text-decoration: line-through; } .nfs .a-snd[aria-pressed="true"] { color: var(--ink); text-decoration: none; }

.a-head { display: flex; align-items: center; gap: 13px; max-width: 700px; margin: 0 auto; padding: 30px 0 0; }
.a-head .w-logo, .a-head .sc-logo { flex: none; width: 34px; height: 34px; border-radius: 7px; box-shadow: none; }
.a-head .w-logo { display: grid; place-items: center; } .a-head .w-logo img { width: 100%; height: 100%; }
.a-title { margin: 0; font: 600 17px/1.25 var(--sans); letter-spacing: -.005em; color: var(--ink); }
.a-meta { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 18px; font: 400 12.5px/1.4 var(--mono); color: var(--ink3); }
.a-meta b { font-weight: 500; color: var(--ink); }

.a-body { padding-top: 34px; font: 400 20px/1.56 "NF Serif Text", var(--serif), Georgia, serif; color: var(--ink); }
.a-body > * { max-width: 700px; margin-left: auto; margin-right: auto; }
.a-body p { margin-top: 0; margin-bottom: 1.05em; }
.a-body b { font: 600 .9em/1 var(--sans); letter-spacing: -.003em; } /* this serif has one weight: bold run-in heads step to the sans */
.a-body a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--ink3); }
.a-body a:hover { text-decoration-color: var(--hi); }
.a-body .a-lede { margin-bottom: 44px; font: 400 42px/1.14 "NF Serif Text", var(--serif), Georgia, serif; letter-spacing: -.016em; text-wrap: pretty; }
.a-body h3 { margin: 62px auto 18px; font: 400 30px/1.2 "NF Serif Text", var(--serif), Georgia, serif; letter-spacing: -.01em; color: var(--ink); }
.a-body .a-foot { margin-top: 56px; padding-top: 14px; border-top: 1px solid var(--hair); font: 400 12.5px/1.5 var(--mono); color: var(--ink3); }
.a-fig { margin: 34px auto 34px; padding: 0; }
.a-fig.a-wide { max-width: 1000px; }
.a-fig img, .a-fig video { display: block; width: 100%; height: auto; border-radius: 4px; }
.a-fig figcaption { margin-top: 9px; font: 400 12.5px/1.45 var(--mono); color: var(--ink3); }
.nfs .a-fig .tv { aspect-ratio: 16 / 9; margin: 0; border-radius: 4px; } .nfs .a-fig .tv video { height: 100%; transform: scale(1.006); } /* the films have a dark last pixel column, which shows on paper */
.nfs .a-fig .pi { width: auto; height: auto; right: 12px; bottom: 11px; background: none; } .nfs .a-fig .pi svg { width: 13px; height: 13px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.8)); }

.a-flow { display: flex; align-items: center; justify-content: flex-start; gap: 18px; padding: 22px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font: 400 16px/1.3 var(--sans); }
.a-flow span { display: inline-flex; align-items: center; gap: 9px; } .a-flow b { font: 500 16px/1.3 var(--sans); box-shadow: inset 0 -2px 0 var(--hi); }
.nfs .a-flow img { width: 24px; height: 24px; border-radius: 0; filter: none; }
.a-arrow { flex: none; width: 32px; height: 16px; fill: none; stroke: var(--ink3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* results table */
.a-tscroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.a-table { width: 100%; border-collapse: collapse; font: 400 15.5px/1.42 var(--sans); }
.a-table th, .a-table td { padding: 15px 18px; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--hair); font-weight: 400; }
.a-table thead th { padding-top: 0; padding-bottom: 10px; font: 400 12.5px/1.4 var(--mono); color: var(--ink3); border-bottom-color: var(--ink); }
.a-table tbody th { font-weight: 500; color: var(--ink); }
.a-table td { color: var(--ink2); }
.a-table .hi { background: var(--hi-tint); color: var(--hi-ink); }
.a-table tbody .hi { font: 500 21px/1.2 var(--sans); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.a-table.is-words tbody .hi { font: 500 16px/1.3 var(--sans); letter-spacing: 0; white-space: normal; }
.a-table thead .hi { border-top-left-radius: 3px; border-top-right-radius: 3px; padding-top: 10px; }

/* tabs: words with an underline, nothing rounded */
.a-tabs { display: flex; gap: 2px 22px; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 1px solid var(--hair); font: 400 15px/1.3 var(--sans); }
.a-tabs button { appearance: none; border: 0; background: none; padding: 9px 0 10px; margin-bottom: -1px; color: var(--ink3); font: inherit; cursor: pointer; border-bottom: 2px solid transparent; }
.a-tabs button:hover { color: var(--ink); }
.a-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--hi); }

/* bars: the value on the bar, the name beneath */
.a-bars .a-tp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; margin-top: 18px; } .a-bars .a-tp[hidden] { display: none; }
.a-bars { --u: 2.2px; }
.a-body .a-bg-t { margin: 0 0 10px; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.a-bg-c { display: flex; align-items: flex-end; justify-content: center; gap: 22px; height: calc(100 * var(--u) + 24px); border-bottom: 1px solid var(--ink); position: relative; } /* one scale: 100% is the same height in every group and tab */
.a-b { position: relative; flex: 0 1 148px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.a-b-v { padding-bottom: 5px; font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; text-align: center; color: var(--hi-ink); }
.a-b-bar { display: block; height: calc(var(--v) * var(--u)); background: var(--hi); }
.a-b-bar.base { background: rgba(2,7,10,.3); } .a-b:has(.base) .a-b-v { font-weight: 400; color: var(--ink2); }
.a-b-n { position: absolute; top: 100%; left: 0; right: 0; padding-top: 7px; font: 400 13px/1.25 var(--sans); text-align: center; color: var(--ink2); } .a-b-n em { display: block; margin-top: 2px; font: 400 12.5px/1.3 var(--mono); color: var(--ink3); }
.a-bg { padding-bottom: 62px; } .a-bars figcaption { margin-top: 0; }
/* a run count, split by how each run ended */
.a-stk-b { display: flex; height: 42px; gap: 2px; font: 500 15px/42px var(--sans); text-align: center; } .a-stk-b i { display: block; font-style: normal; min-width: 0; }
.a-stk .s1 { background: var(--hi); color: #fff; } .a-stk .s2 { background: var(--hi-tint); color: var(--hi-ink); } .a-stk .s3 { background: var(--accent2); color: var(--ink); }
.a-body .a-stk-k { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 12px 0 0; padding: 0; font: 400 14px/1.4 var(--sans); color: var(--ink2); } .a-stk-k li { display: flex; align-items: center; gap: 7px; } .a-stk-k i { flex: none; width: 12px; height: 12px; }

/* side by side *//* side by side */
.a-tr-top { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 14px; }
.a-tr-top .a-tabs { flex: 1; min-width: 0; margin-bottom: 0; }
.a-replay { flex: none; margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid var(--hair); border-radius: 4px; background: none; color: var(--ink); cursor: pointer; }
.a-replay:hover { border-color: var(--ink); }
.a-rc-head .a-replay { margin-left: 0; }
.a-replay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.a-tr-q { margin: 0 0 14px !important; font: 400 15.5px/1.5 var(--sans); color: var(--ink2); }
.a-tr-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.a-tr-col { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--hair); border-radius: 4px; }
.a-tr-col.a { border-top: 2px solid var(--ink3); } .a-tr-col.b { border-top: 2px solid var(--hi); }
.a-tr-name { margin: 0 !important; padding: 10px 14px 8px; font: 500 14px/1.35 var(--sans); }
.a-tr-body { height: 400px; overflow: auto; overscroll-behavior: contain; padding: 2px 14px 16px; font: 400 14.5px/1.5 var(--sans); color: var(--ink2); overflow-wrap: anywhere; scrollbar-width: thin; }
.a-tr-body p { margin: 0 0 .75em !important; } .a-tr-body ul { margin: 0 0 .75em; padding: 0 0 0 1.1em; } .a-tr-body li { margin: 0 0 .25em; }
.a-md-w { margin: 0 0 .75em; overflow-x: auto; } .a-md { width: 100%; border-collapse: collapse; font: 400 13px/1.35 var(--sans); }
.a-md th, .a-md td { padding: 5px 8px 5px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); overflow-wrap: normal; } .a-md th { font-weight: 600; color: var(--ink); border-bottom-color: var(--ink3); }

.a-tr-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; padding: 10px 14px 8px; }
.a-tr-head .a-tr-name { padding: 0; } .a-tr-score { margin: 0 !important; font: 400 12.5px/1.35 var(--mono); color: var(--ink2); }
.a-tr-ref { margin: 14px 0 0 !important; font: 400 15px/1.5 var(--sans); color: var(--ink2); } .a-tr-ref b { font: 600 15px/1.5 var(--sans); color: var(--ink); }
.a-body code { font: 400 .86em/1 var(--mono); }
.a-body .a-tscroll th code, .a-body .a-tscroll td code { font-size: .9em; }
/* per-key map */
.a-kb { display: grid; gap: 5px; justify-content: start; --u: 54px; }
.a-kb-r { display: flex; gap: 5px; } .a-kb-r:nth-child(2) { padding-left: calc(var(--u) * .4); } .a-kb-r:nth-child(3) { padding-left: calc(var(--u) * .85); }
.a-k { flex: none; width: var(--u); height: var(--u); padding: 0; border: 1px solid var(--hair); border-radius: 4px; color: var(--ink); font: 400 14px/1 var(--mono); cursor: pointer; }
.a-k.k-backspace { width: calc(var(--u) * 1.9); font-size: 12.5px; } .a-k.k-space { width: calc(var(--u) * 5.4); margin-left: calc(var(--u) * 2.4); font-size: 12.5px; }
.a-k.s0 { background: #FBFBF4; } .a-k.s1 { background: color-mix(in srgb, var(--hi-tint) 50%, #fff); } .a-k.s2 { background: var(--hi-tint); } .a-k.s3 { background: color-mix(in srgb, var(--hi) 50%, var(--hi-tint)); }
.a-k.s4 { background: var(--hi); color: #fff; } .a-k.s5 { background: var(--hi-ink); color: #fff; }
.a-body .a-kb-key { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font: 400 12.5px/1 var(--mono); color: var(--ink3); } .a-kb-key i { width: 18px; height: 12px; margin-left: -6px; border: 1px solid var(--hair); box-sizing: border-box; } .a-kb-key i:first-of-type { margin-left: 0; } .a-kb-key .s0 { background: #FBFBF4; } .a-kb-key .s1 { background: color-mix(in srgb, var(--hi-tint) 50%, #fff); } .a-kb-key .s2 { background: var(--hi-tint); } .a-kb-key .s3 { background: color-mix(in srgb, var(--hi) 50%, var(--hi-tint)); } .a-kb-key .s4 { background: var(--hi); } .a-kb-key .s5 { background: var(--hi-ink); }
.a-k.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.a-kb-line { margin: 14px 0 0 !important; font: 400 15px/1.45 var(--sans); color: var(--ink2); min-height: 2.9em; } .a-kb-line b { font: 600 15px/1.45 var(--mono); color: var(--ink); }
/* films: a tap target on a phone or Data Saver */
.nfs .a-fig .tv { container-type: inline-size; }
.a-film video { cursor: pointer; }
.a-play { display: none; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; padding: 0; border: 0; border-radius: 50%; background: rgba(2,7,10,.62); cursor: pointer; place-items: center; }
.a-play svg { width: 18px; height: 18px; fill: #F3EBDD; }
.a-film.is-tap .a-play { display: grid; } .a-film.is-tap.is-playing .a-play { opacity: 0; }
/* chapters, plain words with an underline */
.a-chaps { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 12px 0 14px; border-bottom: 1px solid var(--hair); font: 400 15px/1.3 var(--sans); }
.nfs .a-chaps button, .nfs .a-chaps .chap { all: unset; cursor: pointer; padding: 8px 0 9px; margin-bottom: -1px; color: var(--ink3); border-bottom: 2px solid transparent; font: inherit; }
.nfs .a-chaps button:hover { color: var(--ink); } .nfs .a-chaps button[aria-pressed="true"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--hi); }
.nfs .a-chaps button:focus-visible { outline: 2px solid var(--hi-ink); outline-offset: 2px; }
.a-chaps .t { font: 400 12.5px var(--mono); color: var(--ink3); }
/* clip + transcript */
.a-sal .a-chaps { margin-top: 0; }
.a-sal-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.a-sal video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; }
.a-ts-w { position: relative; min-height: 240px; }
.a-ts { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; padding: 2px 10px 2px 0; font: 400 15px/1.5 var(--sans); color: var(--ink2); scrollbar-width: thin; }
.a-ts p { margin: 0 0 14px !important; } .a-ts b { display: block; font: 600 12.5px/1.4 var(--mono); color: var(--ink); margin-bottom: 2px; }
.a-ts .c { cursor: pointer; border-radius: 2px; transition: background .15s; } .a-ts .c:hover { color: var(--ink); } .a-ts .c.on { background: var(--hi-tint); color: var(--ink); box-shadow: 0 0 0 2px var(--hi-tint); }
/* pull quote */
.a-pull { margin: 44px auto; } .a-pull blockquote { margin: 0 0 10px; font: 400 40px/1.15 "NF Serif Text", var(--serif), serif; letter-spacing: -.012em; } .a-pull figcaption { font: 400 13px/1.4 var(--mono); color: var(--ink3); }
/* the redacted recap */
.a-rc { border: 1px solid var(--hair); border-radius: 4px; padding: 20px 24px 26px; max-width: 1000px; }
.a-rc-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); font: 400 15px/1.3 var(--sans); }
.nfs .a-rc-head img { width: 26px; height: 26px; border-radius: 6px; } .a-rc-head b { font-weight: 600; }
.a-rc-stamp { margin-left: auto; font: 400 12.5px/1.3 var(--mono); color: var(--ink3); opacity: 0; transition: opacity .3s 1.9s; } .a-rc.is-in .a-rc-stamp { opacity: 1; }
.a-rc-b { display: grid; gap: 22px; margin-top: 20px; } .a-rc-s { transition: opacity .2s; } .a-rc-s.is-dim { opacity: .28; }
.nfs .a-rc-t { all: unset; display: block; cursor: pointer; margin-bottom: 10px; font: 600 15px/1.3 var(--sans); color: var(--ink); } .nfs .a-rc-t:focus-visible { outline: 2px solid var(--hi-ink); outline-offset: 2px; }
.a-rc-t[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--hi); }
.a-rc-l { height: 15px; width: var(--w); margin-bottom: 9px; border-radius: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.a-rc.is-in .a-rc-l { transform: scaleX(1); transition: transform .42s cubic-bezier(.3,.7,.2,1) var(--d); }
/* rank */
.a-rank { display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.a-rank-a { font: 400 64px/1 "NF Serif Text", var(--serif), serif; color: var(--ink3); } .a-rank-b { font: 400 112px/1 "NF Serif Text", var(--serif), serif; letter-spacing: -.02em; color: var(--hi-ink); }
.a-rank .a-arrow { align-self: center; width: 48px; height: 24px; stroke: var(--accent2); stroke-width: 1.8; }
.a-rank-b { opacity: 0; transform: translateY(8px); } .a-rank.is-in .a-rank-b { opacity: 1; transform: none; transition: opacity .5s .15s, transform .5s .15s; }
/* the flow's stacked middle */
.a-stack3 { position: relative; padding: 2px 0; } .a-stack3 i { display: none; }
/* Horizon Personal: where things run */
.a-arch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: stretch; font: 400 15px/1.3 var(--sans); }
.a-arch-m { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 0; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 4px; } .a-arch-m b { grid-column: 1 / -1; font-weight: 600; }
.a-arch-w { display: grid; gap: 8px; } .a-arch-w span { display: grid; place-items: center; padding: 8px 18px; border: 1px solid var(--hair); border-radius: 4px; position: relative; } .a-arch-w span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 18px; border-top: 1px solid var(--ink3); }
/* resume and contact pages */
.a-page { padding-top: 34px; }
.nfs .a-page .a-lede { margin-bottom: 26px; font-size: 42px; color: var(--ink); }
.a-body .a-xp, .a-body .a-ct { list-style: none; margin-top: 0; margin-bottom: 0; padding: 0; border-top: 1px solid var(--hair); }
.a-xp > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); font: 400 15.5px/1.45 var(--sans); color: var(--ink2); }
.a-xp h3 { margin: 0 0 3px !important; font: 600 17px/1.3 var(--sans); letter-spacing: 0; color: var(--ink); } .a-xp p { margin: 0 !important; } .a-xp strong { font-weight: 600; color: var(--ink); }
.a-xp-m { margin-bottom: 4px !important; font: 400 12.5px/1.5 var(--mono); color: var(--ink3); } .a-sep { margin: 0 .4em; color: var(--ink3); }
.nfs .a-xp .w-logo { width: 44px; height: 44px; border-radius: 9px; box-shadow: none; } .nfs .a-xp .w-logo.glyph svg { stroke: #F3EBDD; width: 22px; height: 22px; } .nfs .a-xp .w-logo.tile { color: #F3EBDD; }
.a-sec { margin: 34px auto 12px !important; font: 400 26px/1.2 "NF Serif Text", var(--serif), serif !important; }
.a-ct a { display: flex; align-items: center; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--hair); font: 400 17px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.a-ct a:hover { background: var(--hi-tint); } .a-ct svg { flex: none; width: 19px; height: 19px; } .a-ct svg:not(.st) { fill: currentColor; } .a-ct svg.st { fill: none; stroke: currentColor; stroke-width: 1.4; } .a-ct a > svg:last-child { margin-left: auto; width: 13px; height: 13px; opacity: .55; }
.a-ct em { margin-left: auto; font: 400 12.5px/1.3 var(--mono); color: var(--ink3); }
/* quotes: one in front, neighbours peeking */
.a-qc { overflow: hidden; padding: 4px 0; }
.a-qc-t { display: flex; gap: 22px; width: max-content; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.a-q { flex: none; width: min(640px, 76vw); margin: 0; cursor: pointer; padding: 24px 26px; border: 1px solid var(--hair); border-radius: 4px; opacity: .38; transition: opacity .3s; }
.a-q.on { opacity: 1; } .a-q p { margin: 0 0 14px; font: 400 23px/1.36 "NF Serif Text", var(--serif), serif; } .a-q footer { font: 400 12.5px/1.4 var(--mono); color: var(--ink3); }

.a-gantt { padding: 14px 0 0; border-top: 1px solid var(--hair); }
.a-g-r { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 26px; }
.a-g-n { font: 400 14px/1.25 var(--sans); color: var(--ink); } .a-g-r.sub .a-g-n { padding-left: 12px; color: var(--ink2); }
.a-g-t { position: relative; display: block; height: 26px; background: linear-gradient(var(--hair), var(--hair)) 0 100% / 100% 0 no-repeat; }
.a-g-t i { position: absolute; top: 7px; height: 12px; background: var(--hi); border-radius: 2px; } .a-g-r.sub .a-g-t i { top: 9px; height: 8px; } .a-g-r.whole .a-g-t i { background: var(--hi-tint); }
.a-flow .nw { white-space: nowrap; } .a-g-t em { position: absolute; top: 5px; padding: 0 6px; font: 400 12.5px/16px var(--mono); font-style: normal; white-space: nowrap; color: var(--ink2); }
.a-g-ax { min-height: 24px; margin-top: 6px; border-top: 1px solid var(--hair); } .a-g-ax .a-g-t em { top: 5px; padding: 0; transform: translateX(-50%); color: var(--ink3); } .a-g-ax .a-g-t em:first-child { transform: none; }
.a-log { padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font: 400 13.5px/1.5 var(--mono); color: var(--ink); }
.a-log > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 3px 0; overflow-wrap: anywhere; } .a-log b { font-weight: 400; color: var(--ink3); }
/* phone */
@media (max-width: 720px) {
.nfs.nfs-paper .w3 .nfs-wb { padding: 0 20px 64px; overflow-x: clip; }
.nfs.nfs-paper .a-g-r { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 4px; } .nfs.nfs-paper .a-g-t em { font-size: 12px; padding: 0 4px; } .nfs.nfs-paper .a-g-ax .a-g-t em { padding: 0; } .nfs.nfs-paper .a-g-r.sub .a-g-n { padding-left: 0; } .nfs.nfs-paper .a-g-ax .a-g-n { display: none; }
.nfs.nfs-paper .a-head { flex-wrap: wrap; gap: 8px 11px; padding: 20px 0 0; }
.nfs.nfs-paper .a-meta { margin-left: 0; flex-basis: 100%; justify-content: flex-start; gap: 2px 14px; }
.nfs.nfs-paper .a-body { padding-top: 16px; font-size: 18.5px; line-height: 1.52; }
.nfs.nfs-paper .a-body .a-lede { margin-bottom: 26px; font-size: 30px; line-height: 1.16; letter-spacing: -.012em; }
.nfs.nfs-paper .a-body h3 { margin-top: 42px; font-size: 24px; }
.nfs.nfs-paper .a-fig { margin: 22px 0; }
.nfs.nfs-paper .a-table { font-size: 14px; }
.nfs.nfs-paper .a-table th, .nfs.nfs-paper .a-table td { padding: 11px 8px; }
.nfs.nfs-paper .a-table th:first-child, .nfs.nfs-paper .a-table td:first-child { padding-left: 0; }
.nfs.nfs-paper .a-table .hi:first-child { padding-left: 8px; }
/* phone, many columns: the row name on its own line, the values in equal columns beneath, short heads */
.nfs.nfs-paper .a-table.a-rows thead th:first-child { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.nfs.nfs-paper .a-rows .a-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nfs.nfs-paper .a-table.a-rows, .nfs.nfs-paper .a-rows thead, .nfs.nfs-paper .a-rows tbody { display: block; }
.nfs.nfs-paper .a-rows tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--hair); }
.nfs.nfs-paper .a-rows thead tr { border-bottom-color: var(--ink); }
.nfs.nfs-paper .a-rows th, .nfs.nfs-paper .a-rows td { display: block; border: 0; padding: 8px 6px; }
.nfs.nfs-paper .a-rows thead th { padding: 6px; font-size: 11.5px; white-space: nowrap; }
.nfs.nfs-paper .a-rows tbody th:first-child { grid-column: 1 / -1; padding: 10px 0 0; }
.nfs.nfs-paper .a-rows td:nth-child(n) { font-size: 15px; }
.nfs.nfs-paper .a-tscroll { overflow-x: visible; }
.nfs.nfs-paper .a-table.a-stack, .nfs.nfs-paper .a-table.a-stack tbody { display: block; } .nfs.nfs-paper .a-table.a-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nfs.nfs-paper .a-table.a-stack tr { display: grid; grid-template-columns: 82px minmax(0, 1fr); border-bottom: 1px solid var(--hair); }
.nfs.nfs-paper .a-table.a-stack th, .nfs.nfs-paper .a-table.a-stack td { display: block; border: 0; padding: 12px 0 0 12px; }
.nfs.nfs-paper .a-table.a-stack tbody .hi { grid-row: span 2; padding: 12px 0 12px 9px; font-size: 19px; }
.nfs.nfs-paper .a-table.a-stack td:last-child { grid-column: 2; padding-top: 3px; padding-bottom: 12px; font-size: 13px; color: var(--ink3); } .nfs.nfs-paper .a-table.a-stack td:empty { padding: 0 0 12px; }
.nfs.nfs-paper .a-table.is-words, .nfs.nfs-paper .a-table:not(:has(td:nth-child(3))) { width: 100%; }
.nfs.nfs-paper .a-flow { flex-wrap: wrap; gap: 10px 12px; padding: 16px 0; font-size: 15px; }
.nfs.nfs-paper .a-kb { --u: 29px; gap: 3px; } .nfs.nfs-paper .a-kb-r { gap: 3px; } .nfs.nfs-paper .a-k.k-backspace { width: calc(var(--u) * 1); font-size: 0; position: relative; } .nfs.nfs-paper .a-k.k-backspace::after { content: "⌫"; font-size: 13px; } .nfs.nfs-paper .a-k { font-size: 12.5px; }
.nfs.nfs-paper .a-tr-head { padding: 9px 11px 6px; }
.nfs.nfs-paper .a-sal-row { grid-template-columns: minmax(0, 1fr); gap: 12px; } .nfs.nfs-paper .a-ts-w { height: 260px; min-height: 0; }
.nfs.nfs-paper .a-chaps { gap: 0 16px; font-size: 14px; }
.nfs.nfs-paper .a-pull blockquote { font-size: 30px; }
.nfs.nfs-paper .a-rc { padding: 14px 14px 18px; } .nfs.nfs-paper .a-rc-head { flex-wrap: wrap; gap: 8px 9px; } .nfs.nfs-paper .a-rc-stamp { order: 3; flex-basis: 100%; margin: 0; } .nfs.nfs-paper .a-rc-head .a-replay { margin-left: auto; } .nfs.nfs-paper .a-rc-l { height: 12px; }
.nfs.nfs-paper .a-rank { gap: 12px; padding: 18px 0; } .nfs.nfs-paper .a-rank-a { font-size: 38px; } .nfs.nfs-paper .a-rank-b { font-size: 66px; } .nfs.nfs-paper .a-rank .a-arrow { width: 28px; height: 14px; }
.nfs.nfs-paper .a-arch { grid-template-columns: minmax(0, 1fr); } .nfs.nfs-paper .a-arch-m { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nfs.nfs-paper .a-arch-w { grid-template-columns: 1fr 1fr; } .nfs.nfs-paper .a-arch-w span::before { display: none; }
.nfs.nfs-paper .a-page .a-lede { font-size: 34px; }
.nfs.nfs-paper .a-xp h3 { font-size: 17px; margin-top: 0; }
.nfs.nfs-paper .a-tr-row { grid-template-columns: minmax(0,1fr); }
.nfs.nfs-paper .a-bars { --u: 1.8px; } .nfs.nfs-paper .a-bars .a-tp { gap: 0 16px; } .nfs.nfs-paper .a-bg-c { gap: 8px; } .nfs.nfs-paper .a-b-n { font-size: 12.5px; } .nfs.nfs-paper .a-b-v { font-size: 14px; }
.nfs.nfs-paper .a-tr-body { height: 280px; font-size: 12.5px; }
.nfs.nfs-paper .a-q { width: 78vw; padding: 18px; } .nfs.nfs-paper .a-q p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .nfs.nfs-paper, .a-qc-t { animation: none; transition: none; } }
/* an example that opens: real text, shown as written */
.a-traces { margin: 30px auto; } .a-traces figcaption { margin-top: 10px; }
.a-trace { border-top: 1px solid var(--hair); } .a-trace:last-of-type { border-bottom: 1px solid var(--hair); }
.a-trace summary { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 1px 6px; align-items: baseline; padding: 13px 0; min-height: 44px; box-sizing: border-box; cursor: pointer; font: 500 16px/1.4 var(--sans); color: var(--ink); list-style: none; }
.a-trace summary::-webkit-details-marker { display: none; }
.a-trace summary::before { content: "+"; font: 400 16px/1.4 var(--mono); color: var(--hi-ink); } .a-trace[open] summary::before { content: "\2212"; }
.a-tr-t em { margin-right: 10px; font: 400 12.5px/1.4 var(--mono); font-style: normal; color: var(--hi-ink); }
.a-tr-s { font: 400 12.5px/1.75 var(--mono); color: var(--ink3); }
.a-trace summary:hover { color: var(--hi-ink); }
.a-tr-box { max-height: 420px; overflow: auto; border-radius: 4px; }
@media (max-width: 640px) { .a-trace summary { grid-template-columns: 18px minmax(0, 1fr); } .a-tr-t em { display: block; } .a-tr-s { grid-column: 2; } }
.a-tr-h { margin: 12px 0 5px !important; font: 500 12.5px/1.4 var(--mono) !important; color: var(--hi-ink) !important; }
.a-tr { margin: 0; padding: 12px 14px; background: rgba(2,7,10,.045); border-radius: 4px; font: 400 13px/1.55 var(--mono); color: var(--ink2); white-space: pre-wrap; overflow-wrap: anywhere; }
.a-tr-more { margin: 7px 0 0 !important; font: 400 12.5px/1.45 var(--mono) !important; color: var(--ink3) !important; }
.a-trace > :last-child { margin-bottom: 18px; }
/* the list of work in the article view: the Boring front page's own layout, full width */
.nfs.nfs-paper .w-library .nfs-wb { padding: 0; overflow-x: clip; }
