/* Portfolio content and original background. Rendering/geometry/timing live in the captured source runtime. */
:root{--ink:#16344b;--muted:#527086;--line:#b3c9d5;--accent:#244fce;--bg:#e3eef4}
body{background:#d8f3ef url('/assets/films/frutiger-dvd-soft-v54.png') center/cover fixed no-repeat;color:#16344b}
.hero.theme-base,.production-hero.theme-base,.scroll-to.theme-base{background:#d8f3ef url('/assets/films/frutiger-dvd-soft-v54.png') center/cover fixed no-repeat}
.nini-film-nav{position:fixed;top:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:28px;z-index:200;font:500 14px/1.3 Arial,sans-serif;white-space:nowrap;color:#122d40}
.nini-film-nav a{color:inherit;text-decoration:none}.nini-film-nav a:first-child{font-size:13px;letter-spacing:-.02em;font-weight:700}
.experience_info{color:#16344b}.nini-production{max-width:1000px;margin:auto;padding-top:10vh}.nini-production>h1{margin:22px auto 40px;text-align:center;max-width:15ch}.nini-production>p{text-align:center}
.nini-intro-copy{font:400 clamp(15px,1.25vw,19px)/1.85 Manrope,'PingFang SC',sans-serif;max-width:54em;columns:2;column-gap:6vw;margin:36px auto 0}.nini-intro-copy p{margin:0 0 1em;break-inside:avoid}
.nini-film-video{display:block;width:100%;height:100%;object-fit:contain;background:#06121c;position:absolute;inset:0}.trailer__vh{background:#06121c}
.nini-workflow{position:relative;background:#e3eef4;color:#16344b;max-width:none!important;margin:0!important;padding:0!important;font-size:14px}.nini-workflow .process-nav{z-index:20}.nini-workflow .image-button{padding:0;background:none;border:0;width:100%;cursor:zoom-in}.nini-workflow .case-image-surface img{max-width:100%;height:auto}.nini-workflow .case-plate{margin:0}
.nini-workflow .prompt{border-top:1px solid var(--line);padding:22px 0}.nini-workflow summary{cursor:pointer;display:flex;justify-content:space-between;gap:20px}.nini-workflow .prompt-text{white-space:pre-wrap;max-height:420px;overflow:auto;font-size:13px;line-height:1.8}.nini-workflow .prompt-tools{display:flex;gap:22px;margin:20px 0}.prompt-text.unlimited{max-height:none}
#media-viewer{z-index:1000;font-size:14px}
@media(max-width:700px){.nini-film-nav{top:12px;gap:16px;font-size:12px}.nini-film-nav a:first-child{font-size:11px}.nini-intro-copy{columns:1;font-size:15px;max-width:90%}.nini-production{padding-top:8vh}.nini-production>h1{font-size:clamp(40px,10vw,68px)}.production-hero{min-height:100svh}.nini-workflow{overflow-x:clip}}
@media(max-width:700px){.nini-film-nav{top:auto;bottom:16px;padding:10px 14px;background:rgba(239,251,251,.85);backdrop-filter:blur(8px);border-radius:3px}}
/* Detail palette and intrinsic media sizing. The original contour remains active. */
main[data-barba-namespace=production]{background:#e8f0f2}
main[data-barba-namespace=production] .production-hero.theme-base,
main[data-barba-namespace=production] .scroll-to.theme-base{background:linear-gradient(rgba(226,238,243,.95),rgba(226,238,243,.95)),url('/assets/films/frutiger-dvd-soft-v54.png') center/cover fixed}
.nini-production{padding-bottom:48px}
.nini-production>h1.is-single-line{white-space:nowrap;max-width:none}
.production-hero{min-height:0!important}
.trailer.theme-dark,.trailer__vh{background:#dce8ed}
.trailer__vh{height:auto;min-height:0;display:grid;place-items:center;padding:100px 0 90px;overflow:visible}
.nini-film-frame{position:relative;width:min(90vw,calc(82svh * var(--film-ratio)),1200px);aspect-ratio:var(--film-ratio);line-height:0;isolation:isolate}
.nini-film-frame .nini-film-video{position:static;inset:auto;display:block;width:100%;height:100%;aspect-ratio:var(--film-ratio);object-fit:contain;background:transparent}
@media(max-width:700px){.nini-production{padding-bottom:24px}.trailer__vh{padding:70px 0 64px}.nini-film-frame{width:min(92vw,calc(80svh * var(--film-ratio)))}.nini-intro-copy{line-height:1.95}}
.trailer__vh{grid-template-columns:minmax(0,1fr);justify-content:center}
.nini-film-frame{justify-self:center}
@media(max-width:700px){body:has(main[data-barba-namespace=production]) .nini-film-nav{top:12px;bottom:auto}}
/* v55: the original animated contour is confined to the seam below the copy.
   The slot clips every generated apron/pointer ripple before the video starts. */
.nini-boundary-slot{height:clamp(220px,28svh,300px);position:relative;overflow:hidden;overflow:clip;isolation:isolate;background:linear-gradient(#7e9caf 0%,#b0c6d2 62%,#dce8ed 100%);pointer-events:none}
.nini-boundary-surface{height:clamp(220px,28svh,300px);position:relative;background:linear-gradient(rgba(226,238,243,.95),rgba(226,238,243,.95)),url('/assets/films/frutiger-dvd-soft-v54.png') center/cover fixed;--dissolve-cursor:0;--dissolve-peek:.42;--dissolve-wander:.48;--dissolve-center:.12;--dissolve-reach:.65;--dissolve-intro:0;--dissolve-scale:135;--dissolve-detail:.24;--dissolve-min-blob:28;--dissolve-life:1;--dissolve-life-speed:.24}
.nini-boundary-trigger{height:1px;margin:0!important}
.production-hero{padding-bottom:0!important;transform:none!important;clip-path:none!important;contain:none!important}
.nini-boundary-slot+.trailer{margin-top:0!important;position:relative;z-index:0}
.trailer__vh{min-height:0;padding-top:32px}
@media(max-width:700px){.trailer__vh{padding-top:24px}.nini-boundary-slot,.nini-boundary-surface{height:220px}}
@media(prefers-reduced-motion:reduce){.nini-boundary-surface{clip-path:ellipse(85% 95% at 50% 0)}}

/* v56: a deeper steel-blue backing makes the original contour readable.
   Its geometry remains confined below the complete copy and above the film. */

/* v57: let only the contour reach the first few pixels of the movie. */
.nini-boundary-slot{isolation:auto;background:none;z-index:auto}
.nini-boundary-slot::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(#7e9caf 0%,#b0c6d2 62%,#dce8ed 100%)}
.nini-boundary-surface[data-dissolve]{z-index:2;--dissolve-peek:.1;--dissolve-wander:.35;--dissolve-center:.08}
.nini-boundary-slot+.trailer{margin-top:-76px!important;z-index:auto}
.trailer__vh{position:relative;z-index:auto;background:transparent}
.nini-film-frame{z-index:1}
@media(max-width:700px){.nini-boundary-slot+.trailer{margin-top:-56px!important}}
@media(prefers-reduced-motion:reduce){.nini-boundary-slot+.trailer{margin-top:0!important}}

.nini-boundary-slot{z-index:2}
.nini-boundary-slot::before{mask-image:linear-gradient(#000 65%,transparent 100%)}

/* v58: one continuous lower surface; no rectangular gradient backing. */
main[data-barba-namespace=production],main[data-barba-namespace=production] .reveal-track{background:#bfd1dc}
.nini-boundary-slot{background:transparent}
.nini-boundary-slot::before{content:none}
.trailer.theme-dark,.trailer__vh{background:transparent}
.nini-boundary-slot+.trailer{margin-top:-144px!important}
@media(max-width:700px){.nini-boundary-slot+.trailer{margin-top:-112px!important}}
@media(prefers-reduced-motion:reduce){.nini-boundary-slot+.trailer{margin-top:0!important}}

/* Clear only the lower overlap: never fade the joint to the introduction. */
.nini-boundary-slot{--edge-clear:0;--edge-overlap:112px;--edge-limit:calc(100% - var(--edge-clear) * var(--edge-overlap));mask-image:linear-gradient(#000 0%,#000 calc(var(--edge-limit) - 24px),transparent var(--edge-limit));opacity:1}
.nini-boundary-slot[data-edge-playing]{--edge-clear:1!important}
@media(max-width:700px){.nini-boundary-slot{--edge-overlap:88px}}

/* v59: playback owns the front layer, independently of the contour mask. */
.trailer[data-film-playing="true"]{z-index:5!important}
.trailer[data-film-playing="true"] .nini-film-frame{z-index:5!important}

/* v60: broader, deeper motion; preserve palette, overlap and playback layer. */
.nini-boundary-surface[data-dissolve]{--dissolve-peek:.32;--dissolve-wander:.50;--dissolve-center:.13;--dissolve-scale:185;--dissolve-detail:.18;--dissolve-edge:.65;--dissolve-surge:.55;--dissolve-life-speed:.38}

/* v61: approved frosted-glass / water-blue palette. Shared viewport-aligned
   paints keep both sides of the introduction-to-contour joint continuous. */
:root{
 --film-frost:radial-gradient(ellipse at 16% 60%,rgba(255,255,255,.56),transparent 54%),radial-gradient(ellipse at 92% 15%,rgba(255,255,255,.7),transparent 52%),linear-gradient(125deg,#eaf5fa,#d6eaf3 60%,#edf7fb);
 --film-water:linear-gradient(148deg,transparent 48%,rgba(221,246,255,.10) 50%,transparent 53%),radial-gradient(ellipse at 1% 75%,rgba(195,237,250,.20),transparent 44%),radial-gradient(ellipse at 94% 20%,rgba(173,222,239,.15),transparent 48%),linear-gradient(140deg,#7fafc5,#548caa 72%,#669bb7);
}
main[data-barba-namespace=production],main[data-barba-namespace=production] .reveal-track{background:var(--film-water);background-size:100vw 100vh;background-attachment:fixed}
main[data-barba-namespace=production] .production-hero.theme-base,
main[data-barba-namespace=production] .scroll-to.theme-base,
.nini-boundary-surface{background:var(--film-frost);background-size:100vw 100vh;background-attachment:fixed}

/* v62: selected pearl silver + ice blue; retain viewport-aligned joins. */
:root{
 --film-frost:radial-gradient(ellipse at 14% 66%,rgba(255,255,255,.48),transparent 56%),radial-gradient(ellipse at 95% 20%,rgba(211,237,255,.40),transparent 52%),linear-gradient(125deg,#eceef0,#dce1e6 60%,#eef2f5);
 --film-water:linear-gradient(148deg,transparent 48%,rgba(238,248,255,.08) 50%,transparent 54%),radial-gradient(ellipse at 1% 75%,rgba(225,235,247,.18),transparent 48%),radial-gradient(ellipse at 96% 22%,rgba(191,221,246,.20),transparent 52%),linear-gradient(140deg,#aab8c6,#8fa5bb 72%,#9bb4cb);
}

/* v63: satin silver is a material, with broad reflected light and fine grain.
   Every upper surface uses the same viewport paint to avoid a seam. */
:root{
 --film-frost:url('/assets/films/satin-grain-v63.svg'),radial-gradient(ellipse at 7% 72%,rgba(255,255,255,.40),transparent 48%),radial-gradient(ellipse at 98% 22%,rgba(211,233,252,.30),transparent 42%),linear-gradient(112deg,#bec5cb 0%,#edf0f2 17%,#c3cbd2 35%,#fafbfc 52%,#cbd3dc 71%,#e8f1f9 100%);
 --film-water:url('/assets/films/satin-grain-v63.svg'),linear-gradient(130deg,transparent 15%,rgba(233,245,255,.19) 30%,transparent 48%),radial-gradient(ellipse at 97% 20%,rgba(210,234,255,.24),transparent 52%),linear-gradient(140deg,#a8b7c8,#879eb6 72%,#acc4db);
}

/* v64: selected stronger satin silver continues through all case-study sections.
   Native movie boxes and their loaded-metadata aspect ratios are unchanged. */
:root{
 --film-silver:url('/assets/films/satin-grain-v63.svg'),radial-gradient(ellipse at 100% 15%,rgba(195,218,240,.18),transparent 45%),linear-gradient(118deg,#aeb5bc 0%,#e4e8eb 9%,#fbfcfd 18%,#b8c0c8 31%,#f5f7f8 44%,#afb8c2 58%,#edf1f5 72%,#c0ccd7 85%,#f7fafc 100%);
 --film-water:var(--film-silver);
 --film-frost:linear-gradient(rgba(255,255,255,.24),rgba(255,255,255,.24)),var(--film-silver);
}
main[data-barba-namespace=production] .nini-workflow,
main[data-barba-namespace=production] .nini-workflow .case-stage,
main[data-barba-namespace=production] .nini-workflow .process-nav{
 background:var(--film-silver);background-size:100vw 100vh;background-attachment:fixed;
 --bg:transparent;--line:rgba(38,56,74,.25);--muted:#4c5d6c;
}
main[data-barba-namespace=production] .nini-workflow .case-image-surface{background:transparent}
main[data-barba-namespace=production] .nini-workflow .case-image-open{background:rgba(241,244,247,.94)}
main[data-barba-namespace=production] .scroll-to.theme-base{background:var(--film-silver);background-size:100vw 100vh;background-attachment:fixed}

/* A fine organic contact shadow keeps the silver-on-silver contour legible. */
.nini-boundary-surface[data-dissolve]{filter:drop-shadow(0 2px 1px rgba(33,44,55,.19))}
/* Keep chapter controls below the fixed site navigation. */
main[data-barba-namespace=production] .nini-workflow .process-nav{top:52px}
@media(max-width:700px){main[data-barba-namespace=production] .nini-workflow .process-nav{top:54px}}

/* v65: silver belongs to each content surface, not the viewport. */
:root{
 --silver-ground:#b2bbc5;
 --silver-upper:url('/assets/films/satin-grain-v63.svg'),radial-gradient(ellipse at 95% 24%,rgba(219,234,248,.22),transparent 50%),linear-gradient(114deg,#d1d6dc 0%,#f7f9fa 17%,#d8dde2 32%,#fff 49%,#cbd2d9 66%,#f2f5f8 84%,#d7dfe7 100%);
 --silver-lower:url('/assets/films/satin-grain-v63.svg'),linear-gradient(var(--silver-angle,118deg),#9faab6 0%,#c7d0d9 15%,#edf1f4 28%,#adb8c4 43%,#dbe2e8 57%,#a5b1bf 74%,#d2dde7 90%,#b2bbc5 100%);
 --silver-section:linear-gradient(to bottom,var(--silver-ground),transparent 16%,transparent 84%,var(--silver-ground)),var(--silver-lower);
}
main[data-barba-namespace=production],main[data-barba-namespace=production] .reveal-track,
main[data-barba-namespace=production] .nini-workflow{background:var(--silver-ground);background-attachment:scroll}
main[data-barba-namespace=production] .production-hero.theme-base,
.nini-boundary-surface{background:var(--silver-upper);background-attachment:scroll;background-repeat:no-repeat;background-size:100% 100%}
main[data-barba-namespace=production] .trailer{--silver-angle:116deg;background:var(--silver-section);background-size:100% 100%;background-attachment:scroll}
main[data-barba-namespace=production] .nini-workflow .case-stage{background:var(--silver-section);background-size:100% 100%;background-attachment:scroll;--silver-angle:106deg}
main[data-barba-namespace=production] .nini-workflow .case-section:nth-of-type(even) .case-stage{--silver-angle:139deg}
main[data-barba-namespace=production] .nini-workflow .case-section:nth-of-type(3n) .case-stage{--silver-angle:124deg}
main[data-barba-namespace=production] .nini-workflow .process-nav{background:var(--silver-lower);background-size:100% 100%;background-attachment:scroll;--silver-angle:102deg}
main[data-barba-namespace=production] .scroll-to.theme-base{background:var(--silver-section);background-size:100% 100%;background-attachment:scroll;--silver-angle:132deg}

/* Resolve reflection-angle variables at each panel, rather than at :root. */
main[data-barba-namespace=production] :is(.trailer,.nini-workflow .case-stage,.nini-workflow .process-nav,.scroll-to){
 --silver-lower:url('/assets/films/satin-grain-v63.svg'),linear-gradient(var(--silver-angle,118deg),#9faab6 0%,#c7d0d9 15%,#edf1f4 28%,#adb8c4 43%,#dbe2e8 57%,#a5b1bf 74%,#d2dde7 90%,#b2bbc5 100%);
 --silver-section:linear-gradient(to bottom,var(--silver-ground),transparent 16%,transparent 84%,var(--silver-ground)),var(--silver-lower);
}

/* v66: overlap the shared paint by two pixels, retaining fractional coordinates.
   Avoid a filter compositing boundary on WebKit at the top of the contour. */
.nini-boundary-slot{margin-top:-2px}
.nini-boundary-surface[data-dissolve]{filter:none}
main[data-barba-namespace=production] .nini-workflow{background:#e0e5ea}
main[data-barba-namespace=production] :is(.nini-workflow .case-stage,.nini-workflow .process-nav,.scroll-to){
 --silver-bright:url('/assets/films/satin-grain-v63.svg'),radial-gradient(ellipse at 95% 24%,rgba(219,234,248,.22),transparent 50%),linear-gradient(var(--silver-angle,114deg),#d1d6dc 0%,#f7f9fa 17%,#d8dde2 32%,#fff 49%,#cbd2d9 66%,#f2f5f8 84%,#d7dfe7 100%);
 background:linear-gradient(to bottom,#e0e5ea,transparent 14%,transparent 86%,#e0e5ea),var(--silver-bright);background-size:100% 100%;background-attachment:scroll;
}
main[data-barba-namespace=production] .nini-workflow .process-nav{position:relative;top:auto!important;z-index:auto;backdrop-filter:none}

/* v67: the upper material is painted once, across copy AND dissolve. */
.nini-silver-sheet{position:relative;z-index:2;background:var(--silver-upper);background-size:100% 100%;background-attachment:scroll;background-repeat:no-repeat;--edge-clear:0;--edge-overlap:112px;--edge-limit:calc(100% - var(--edge-clear) * var(--edge-overlap));mask-image:linear-gradient(#000 0%,#000 calc(var(--edge-limit) - 24px),transparent var(--edge-limit))}
main[data-barba-namespace=production] .nini-silver-sheet [data-production-hero],
.nini-silver-sheet .nini-boundary-surface{background:none!important;filter:none}
.nini-silver-sheet .nini-boundary-slot{margin-top:0;mask-image:none}
.nini-silver-sheet+.trailer{margin-top:-144px!important;position:relative;z-index:auto}
.nini-silver-sheet[data-edge-playing]{--edge-clear:1!important}
@media(max-width:700px){.nini-silver-sheet{--edge-overlap:88px}.nini-silver-sheet+.trailer{margin-top:-112px!important}}
@media(prefers-reduced-motion:reduce){.nini-silver-sheet+.trailer{margin-top:0!important}}

/* v69: prompt originals are always present in bounded scrollable panels. */
.nini-workflow .prompt-static .prompt-heading{font-size:14px;font-weight:500;margin:0 0 18px}
.nini-workflow .prompt-static .prompt-text{max-height:420px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;background:rgba(247,249,251,.24)}
/* The workflow material rises into the movie with the source contour inverted. */
.nini-workflow-sheet{position:relative;z-index:2;margin-top:-205px;background:var(--silver-upper);background-size:100% 1100px;background-attachment:scroll;--return-clear:1;--return-overlap:220px;mask-image:none}
.nini-return-slot,.nini-return-surface{height:220px;position:relative;pointer-events:none}
.nini-return-surface{background:none;--dissolve-min-blob:28;--dissolve-reach:.65;--dissolve-cursor:0;--dissolve-peek:.32;--dissolve-wander:.50;--dissolve-center:.13;--dissolve-scale:185;--dissolve-detail:.18;--dissolve-edge:.65;--dissolve-surge:.55;--dissolve-life:1;--dissolve-life-speed:.38;--dissolve-intro:0}
.nini-workflow-sheet .nini-workflow{background:transparent!important}
.nini-workflow-sheet[data-edge-playing]{--return-clear:1!important}
@media(max-width:700px){.nini-workflow-sheet{margin-top:-165px;--return-overlap:186px}.nini-return-slot,.nini-return-surface{height:180px}}
@media(prefers-reduced-motion:reduce){.nini-workflow-sheet{margin-top:0;mask-image:none}.nini-return-slot{height:100px}}
/* No catalogue wallpaper behind a changing production container. */
body[data-barba=wrapper]{background:#e0e5ea}
.transition__dark{background:var(--silver-upper)!important;background-size:100% 100%}
/* A long prompt must not reveal a repeated background tile boundary. */
.nini-workflow-sheet{background-size:100% 100%;background-repeat:no-repeat}

/* v80: selected original ring image, retaining its central star cluster. */
main[data-barba-namespace=films] .hero.theme-base{background:#e7eaf3;isolation:isolate}
main[data-barba-namespace=films] .hero::before,
main[data-barba-namespace=films] .hero::after{content:"";position:absolute;pointer-events:none;z-index:-1;background-image:url('/assets/films/silver-chrome-gallery-v75.jpg');background-repeat:no-repeat;background-size:100% auto}
main[data-barba-namespace=films] .hero::before{top:0;right:0;width:52vw;height:36svh;background-position:right top;mask-image:linear-gradient(#000 65%,transparent)}
main[data-barba-namespace=films] .hero::after{bottom:0;left:0;width:46vw;height:36svh;background-position:left bottom;mask-image:linear-gradient(transparent,#000 30%)}
.nini-gallery-stars{position:absolute;left:28%;top:48%;width:260px;height:260px;transform:translate(-50%,-50%);pointer-events:none;z-index:-1;background:url('/assets/films/silver-chrome-gallery-v75.jpg') center center/440px auto no-repeat;mask-image:radial-gradient(ellipse,#000 40%,transparent 72%)}
@media(max-width:700px){
 main[data-barba-namespace=films] .hero.theme-base{background:#e7eaf3 url('/assets/films/silver-chrome-gallery-v75.jpg') center/cover no-repeat}
 main[data-barba-namespace=films] .hero::before,
 main[data-barba-namespace=films] .hero::after{content:none}
 .nini-gallery-stars{display:none}
}
