/* www.neusatz.cc: the pictures and clips brought over from kostic.design (tools/portfolio_items.py), on the Google Site as
   it was. Same width as the page's related cards: 1310 px of grid, 65 px in from each edge at 1440, 19 px on a phone. */
.nsc-k{padding:24px 0 40px}
.nsc-k-in{max-width:1310px;margin:0 auto;padding:0 19px;box-sizing:content-box}
/* a row is never taller than 600 px (360 px on a phone): a narrow row, such as two portraits, stands centred at that height */
.nsc-row{display:flex;gap:12px;margin:0 auto 12px;max-width:calc(var(--sum) * 600px + (var(--n) - 1) * 12px)}
.nsc-row figure{flex:var(--ar) 1 0;aspect-ratio:var(--ar);margin:0;min-width:0;overflow:hidden;background:#111;cursor:zoom-in}
.nsc-row img,.nsc-row video{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:699px){ .nsc-row{gap:6px;margin-bottom:6px;max-width:calc(var(--sum) * 360px + (var(--n) - 1) * 6px)} .nsc-k{padding:12px 0 28px} }
/* the viewer: a picture opens across the screen and closes on a click, a tap or Escape */
.nsc-view{position:fixed;inset:0;z-index:9999;background:rgba(8,8,8,.96);display:flex;align-items:center;justify-content:center;cursor:zoom-out}
.nsc-view img,.nsc-view video{max-width:96vw;max-height:94vh;object-fit:contain;display:block}
/* a group's title over its pictures (the Prints page, Mark and Crest on the home page), in the site's own heading face */
.nsc-h{font-family:Cinzel,serif;font-weight:400;font-size:34px;line-height:1.2;color:#f9f9f9;text-align:center;margin:56px 0 22px}
.nsc-k-in > .nsc-h:first-child{margin-top:16px}
@media (max-width:699px){ .nsc-h{font-size:24px;margin:36px 0 14px} }
.nsc-view{flex-direction:column;gap:14px}
.nsc-view img,.nsc-view video{max-height:88vh}
.nsc-cap{margin:0;font-family:Cinzel,serif;font-size:15px;letter-spacing:.06em;color:#f9f9f9;text-align:center}
/* the sticky title bar (his answer of 21 Nov 2026, after propaganda-dept.com): a black bar under the menu with the page's name */
.nsc-stitle{position:fixed;left:0;right:0;top:var(--nsc-stitle-top,56px);z-index:990;height:48px;background:#0b0b0b;border-bottom:1px solid rgba(255,255,255,.12);
  transform:translateY(-100%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .25s cubic-bezier(.2,.7,.2,1),opacity .2s,visibility 0s .25s}
.nsc-stitle.show{transform:none;opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
.nsc-stitle-inner{position:relative;height:100%}
.nsc-stitle-back{position:absolute;top:0;bottom:0;width:44px;left:calc(var(--nsc-logo-cx,40px) - 22px);display:flex;align-items:center;justify-content:center}
.nsc-stitle-back svg{width:24px;height:24px;stroke:#f9f9f9}
.nsc-stitle-name{position:absolute;top:0;bottom:0;right:16px;left:var(--nsc-name-x,72px);display:flex;align-items:center;font:22px/1 Cinzel,serif;color:#f9f9f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (prefers-reduced-motion:reduce){.nsc-stitle{transition:none}}
body:has(.DXsoRd[aria-expanded="true"]) .nsc-stitle{visibility:hidden;opacity:0;transition:none}
/* the Explore Neusatz cards: an old-film flicker on hover (his answer of 21 Nov 2026), Neusatz's version of the TV glitch on
   propaganda-dept.com's Learn More cards: film grain, a jump of the frame, a sepia flash, a scratch, then a warm settle */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  a.nsc-flick{position:relative;display:block;overflow:hidden}
  a.nsc-flick .t3iYD{position:relative;overflow:hidden}
  a.nsc-flick img{transition:filter .35s ease}
  a.nsc-flick:hover img{animation:nscFlick .75s steps(1,end) 1 both}
  a.nsc-flick .t3iYD::after{content:'';position:absolute;inset:-20px;pointer-events:none;opacity:0;mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}
  a.nsc-flick:hover .t3iYD::after{animation:nscGrain .75s steps(5,end) 1}
  a.nsc-flick .t3iYD::before{content:'';position:absolute;top:0;bottom:0;left:38%;width:1px;background:rgba(255,248,230,.75);z-index:1;opacity:0;pointer-events:none}
  a.nsc-flick:hover .t3iYD::before{animation:nscScratch .75s steps(1,end) 1}
}
@keyframes nscFlick{
  0%{transform:none;filter:sepia(.85) brightness(1.3)}
  12%{transform:translate(0,-4px);filter:sepia(.85) brightness(.65)}
  24%{transform:translate(1px,3px);filter:sepia(.7) brightness(1.2)}
  38%{transform:translate(0,-2px);filter:sepia(.75) brightness(.8)}
  52%{transform:translate(-1px,1px);filter:sepia(.6) brightness(1.12)}
  70%{transform:none;filter:sepia(.5) brightness(.95)}
  100%{transform:none;filter:sepia(.35) contrast(1.06)}}
@keyframes nscGrain{0%{opacity:.6;transform:translate(0,0)}25%{transform:translate(-12px,8px)}50%{opacity:.45;transform:translate(10px,-10px)}75%{transform:translate(-6px,12px)}100%{opacity:0;transform:none}}
@keyframes nscScratch{0%{opacity:0}18%{opacity:.8;left:31%}30%{opacity:0}46%{opacity:.6;left:64%}58%{opacity:0}100%{opacity:0}}
/* search (his answer of 21 Nov 2026, after propaganda-dept.com): the magnifier at the top bar's right end, and its box */
.nsc-search-btn{position:fixed;top:6px;right:12px;z-index:1001;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:none;border:0;color:#f9f9f9;cursor:pointer}
.nsc-search-btn svg{width:22px;height:22px}
.nsc-search{position:fixed;inset:0;z-index:1500;background:rgba(0,0,0,.95);overflow:auto}
.nsc-search[hidden]{display:none}
.nsc-search-inner{max-width:880px;margin:0 auto;padding:90px 24px 60px;position:relative}
.nsc-search input{width:100%;box-sizing:border-box;font:32px/1.2 Cinzel,serif;color:#f9f9f9;caret-color:#f9f9f9;background:none;border:0;border-bottom:1px solid rgba(249,249,249,.4);padding:12px 4px 10px;outline:none}
.nsc-search input:focus{border-bottom-color:#f9f9f9}
.nsc-search-close{position:absolute;top:26px;right:18px;min-width:44px;min-height:44px;font-size:40px;line-height:1;background:none;border:0;color:#f9f9f9;cursor:pointer}
.nsc-search-results{margin-top:22px;display:grid;gap:8px}
.nsc-search-results p{color:rgba(249,249,249,.7);font:16px Spectral,serif}
.nsc-search-hit{display:flex;gap:16px;align-items:center;color:#f9f9f9;text-decoration:none;padding:6px}
.nsc-search-hit:hover,.nsc-search-hit:focus{background:#161616;outline:none}
.nsc-search-hit img{width:96px;height:64px;object-fit:cover;flex:none}
.nsc-search-hit b{display:block;font:400 21px Cinzel,serif}
.nsc-search-hit small{color:rgba(249,249,249,.65);font:14px Spectral,serif}
.nsc-search-sec{font:21px Cinzel,serif;padding:10px 6px}
@media (max-width:600px){.nsc-search input{font-size:24px}.nsc-search-inner{padding:76px 16px 40px}}
/* the desktop menu keeps room at its right end for the magnifier; the More rule then moves items as it always did */
@media (min-width:900px){ body:has(.nsc-search-btn) nav.plFg0c{padding-right:48px} }
/* the Contact page (his answer of 21 Nov 2026, after propaganda-dept.com) */
.nsc-contact-in{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:56px;max-width:1100px;align-items:start}
.nsc-form{display:grid;gap:18px}
.nsc-form label{display:grid;gap:6px;font:15px Spectral,serif;color:rgba(249,249,249,.8)}
.nsc-form input,.nsc-form select,.nsc-form textarea{font:17px Spectral,serif;color:#f9f9f9;background:#111;border:1px solid rgba(249,249,249,.3);padding:10px 12px;border-radius:0}
.nsc-form input:focus,.nsc-form select:focus,.nsc-form textarea:focus{outline:none;border-color:#f9f9f9}
.nsc-form button{justify-self:start;font:17px Cinzel,serif;color:#000;background:#f9f9f9;border:0;padding:12px 28px;cursor:pointer;min-height:44px}
.nsc-form button:disabled{opacity:.6}
.nsc-form-note{margin:0;font:15px Spectral,serif;color:#f9f9f9;min-height:1.2em}
.nsc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.nsc-elsewhere{display:grid;gap:10px}
.nsc-elsewhere .nsc-h{text-align:left;margin:0 0 8px}
.nsc-elsewhere a{font:20px Cinzel,serif;color:#f9f9f9;text-decoration:none;min-height:44px;display:flex;align-items:center;border-bottom:1px solid rgba(249,249,249,.18)}
.nsc-elsewhere a:hover{color:rgba(249,249,249,.75)}
@media (max-width:799px){.nsc-contact-in{grid-template-columns:1fr;gap:36px}}
/* the speaker button on a film (his answer of 21 Nov 2026, after propaganda-dept.com) */
.nsc-sound{position:absolute;right:12px;bottom:12px;z-index:5;width:44px;height:44px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#f9f9f9;display:flex;align-items:center;justify-content:center;cursor:pointer}
.nsc-sound:hover{background:rgba(0,0,0,.8)}
/* a row of pictures woven into a story (kostic.design's approach, his answer of 21 Nov 2026) */
.nsc-k.nsc-weave{padding:20px 0 28px}
.nsc-weave .nsc-row{margin-bottom:0}
@media (max-width:699px){ .nsc-k.nsc-weave{padding:10px 0 18px} }
