
/* V5 incremental enrichment — built on current production, not a redesign */
.nf5-proof-note{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:stretch;margin-top:34px}.nf5-proof-note>div{padding:28px;border-radius:22px;background:#11161d;border:1px solid rgba(255,255,255,.12)}.lightSection .nf5-proof-note>div{background:#fff;border-color:rgba(0,0,0,.12)}.nf5-proof-note h3{font-size:clamp(25px,2.5vw,38px);line-height:1.05;letter-spacing:-.035em;margin:0 0 12px}.nf5-proof-note p{margin:0;color:#aeb5bf;line-height:1.65}.lightSection .nf5-proof-note p{color:#626b76}
.nf5-focus{margin-top:42px;padding:34px;border-radius:26px;background:linear-gradient(145deg,#0c1015,#151b23);border:1px solid rgba(255,255,255,.12);overflow:hidden}.nf5-focus-head{display:grid;grid-template-columns:.65fr 1.35fr;gap:30px;align-items:start;margin-bottom:28px}.nf5-focus-head>span{font-size:10px;letter-spacing:.15em;color:#ff6b74;font-weight:850}.nf5-focus-head h3{font-size:clamp(30px,3.5vw,50px);line-height:1.02;letter-spacing:-.045em;margin:0 0 10px}.nf5-focus-head p{margin:0;color:#aeb5bf;max-width:820px;line-height:1.65}.nf5-chain{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}.nf5-chain span{padding:9px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.04);font-size:11px;color:#c9cfd6}.nf5-chain i{display:grid;place-items:center;color:#68717d;font-style:normal}
.nf5-polaroids{position:relative;display:grid;grid-template-columns:1.25fr .8fr 1fr 1fr;grid-auto-rows:160px;gap:14px;padding:18px}.nf5-polaroid{position:relative;margin:0;padding:8px 8px 34px;background:#f6f3ed;color:#111;border-radius:5px;box-shadow:0 18px 45px rgba(0,0,0,.28);overflow:hidden;transform:rotate(var(--r,0deg));transition:transform .25s ease,box-shadow .25s ease;z-index:1}.nf5-polaroid:hover{transform:rotate(0deg) translateY(-5px) scale(1.02);box-shadow:0 24px 60px rgba(0,0,0,.36);z-index:4}.nf5-polaroid img,.nf5-polaroid video{width:100%;height:100%;object-fit:cover;background:#111}.nf5-polaroid figcaption{position:absolute;left:12px;right:12px;bottom:8px;font-size:10px;line-height:1.2;color:#444;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nf5-polaroid.wide{grid-column:span 2}.nf5-polaroid.tall{grid-row:span 2}.nf5-polaroid.big{grid-column:span 2;grid-row:span 2}.nf5-polaroid:nth-child(1){--r:-1.4deg}.nf5-polaroid:nth-child(2){--r:1.2deg}.nf5-polaroid:nth-child(3){--r:-.6deg}.nf5-polaroid:nth-child(4){--r:1.7deg}.nf5-polaroid:nth-child(5){--r:-1deg}.nf5-polaroid:nth-child(6){--r:.8deg}.nf5-polaroid:nth-child(7){--r:-.9deg}.nf5-polaroid:nth-child(8){--r:1.1deg}
.nf5-bento{display:grid;grid-template-columns:1.3fr .7fr .7fr;grid-auto-rows:minmax(190px,auto);gap:14px;margin-top:28px}.nf5-tile{position:relative;overflow:hidden;border-radius:22px;border:1px solid rgba(255,255,255,.12);background:#11161d;min-height:240px}.lightSection .nf5-tile{border-color:rgba(0,0,0,.12);background:#fff}.nf5-tile.media img,.nf5-tile.media video{width:100%;height:100%;min-height:240px;object-fit:cover}.nf5-tile.copy{padding:28px;display:flex;flex-direction:column;justify-content:flex-end}.nf5-tile.copy>span{font-size:10px;letter-spacing:.14em;color:#e30613;font-weight:850}.nf5-tile.copy h3{font-size:28px;line-height:1.08;margin:16px 0 8px;letter-spacing:-.03em}.nf5-tile.copy p{margin:0;color:#aeb5bf;font-size:14px;line-height:1.6}.lightSection .nf5-tile.copy p{color:#626b76}.nf5-tile.span2{grid-column:span 2}.nf5-tile.row2{grid-row:span 2}
.nf5-media-label{position:absolute;left:14px;bottom:14px;padding:7px 10px;border-radius:999px;background:rgba(7,9,12,.82);backdrop-filter:blur(8px);color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em}.nf5-section-intro{max-width:870px;margin:0 0 26px;color:#aeb5bf;font-size:17px;line-height:1.7}.lightSection .nf5-section-intro{color:#626b76}
.nf5-erowa-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 28px}.nf5-erowa-steps article{padding:20px;border-radius:18px;border:1px solid rgba(0,0,0,.12);background:#fff}.nf5-erowa-steps b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e30613;color:#fff;font-size:10px}.nf5-erowa-steps h3{font-size:18px;margin:20px 0 7px}.nf5-erowa-steps p{font-size:12.5px;color:#626b76;margin:0;line-height:1.55}
.nf5-centre-gallery{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-template-rows:290px 230px;gap:12px;margin-top:24px}.nf5-centre-gallery figure{position:relative;margin:0;overflow:hidden;border-radius:20px;border:1px solid rgba(0,0,0,.12);background:#111}.nf5-centre-gallery figure:first-child{grid-row:1/3}.nf5-centre-gallery figure:nth-child(4){grid-column:2/4}.nf5-centre-gallery img{width:100%;height:100%;object-fit:cover}.nf5-centre-gallery figcaption{position:absolute;left:12px;bottom:12px;padding:7px 9px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:10px}.nf5-centre-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.nf5-centre-strip img{width:100%;height:220px;object-fit:cover;border-radius:18px;border:1px solid rgba(0,0,0,.12)}
.nf5-events-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;margin-top:34px}.nf5-event-story{overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.12);background:#11161d}.lightSection .nf5-event-story{background:#fff;border-color:rgba(0,0,0,.12)}.nf5-event-story img{width:100%;height:320px;object-fit:cover}.nf5-event-story>div{padding:25px}.nf5-event-story small{font-size:10px;letter-spacing:.13em;color:#e30613;font-weight:850}.nf5-event-story h3{font-size:28px;line-height:1.08;margin:12px 0 8px}.nf5-event-story p{margin:0;color:#aeb5bf;line-height:1.6}.lightSection .nf5-event-story p{color:#626b76}.nf5-event-story.secondary img{height:220px}
.reassureFaq details{transition:border-color .2s ease,transform .2s ease}.reassureFaq details:hover{transform:translateY(-2px);border-color:rgba(227,6,19,.35)}.reassureFaq summary{display:grid;grid-template-columns:1fr auto;gap:8px 15px;align-items:start}.reassureFaq summary:after{grid-column:2;grid-row:1/3;font-size:20px}.nf5-faq-preview{grid-column:1;color:#6b737d;font-size:11.5px;font-weight:500;line-height:1.45}.nf5-faq-action{grid-column:1;color:#e30613;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:850;margin-top:4px}.reassureFaq details[open] .nf5-faq-action{display:none}
.nf5-reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}.nf5-reveal.is-visible{opacity:1;transform:none}
@media(max-width:1050px){.nf5-focus-head,.nf5-proof-note{grid-template-columns:1fr}.nf5-polaroids{grid-template-columns:repeat(3,1fr);grid-auto-rows:150px}.nf5-bento{grid-template-columns:1fr 1fr}.nf5-erowa-steps{grid-template-columns:repeat(2,1fr)}.nf5-erowa-steps article:last-child{grid-column:1/-1}.nf5-centre-gallery{grid-template-columns:1fr 1fr;grid-template-rows:280px 220px 220px}.nf5-centre-gallery figure:first-child{grid-row:auto;grid-column:1/3}.nf5-centre-gallery figure:nth-child(4){grid-column:1/3}.nf5-centre-strip{grid-template-columns:1fr 1fr}.nf5-centre-strip img:last-child{grid-column:1/3}.nf5-events-grid{grid-template-columns:1fr}}
@media(max-width:720px){.nf5-focus{padding:24px 15px}.nf5-polaroids{grid-template-columns:1fr 1fr;grid-auto-rows:150px;padding:6px;gap:10px}.nf5-polaroid.big,.nf5-polaroid.wide{grid-column:span 2}.nf5-polaroid.tall{grid-row:span 2}.nf5-bento{grid-template-columns:1fr}.nf5-tile.span2{grid-column:auto}.nf5-erowa-steps{grid-template-columns:1fr}.nf5-erowa-steps article:last-child{grid-column:auto}.nf5-centre-gallery{grid-template-columns:1fr;grid-template-rows:repeat(4,220px)}.nf5-centre-gallery figure:first-child,.nf5-centre-gallery figure:nth-child(4){grid-column:auto}.nf5-centre-strip{grid-template-columns:1fr}.nf5-centre-strip img,.nf5-centre-strip img:last-child{grid-column:auto;height:210px}.nf5-event-story img,.nf5-event-story.secondary img{height:230px}}
@media(prefers-reduced-motion:reduce){.nf5-reveal{opacity:1;transform:none;transition:none}.nf5-polaroid{transition:none}}

/* Build 3 — richer page-specific media, dynamic hero backgrounds */
.hero.nf5-video-hero{background:#07090c}
.hero.nf5-video-hero:before{z-index:1;transform:none;background:linear-gradient(90deg,rgba(7,9,12,.96),rgba(7,9,12,.83) 40%,rgba(7,9,12,.32) 74%,rgba(7,9,12,.2)),linear-gradient(0deg,#080a0d 0%,rgba(8,10,13,.24) 45%,rgba(8,10,13,.14) 100%),radial-gradient(circle at 78% 22%,rgba(227,6,19,.13),transparent 38%)}
.nf5-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.72;filter:saturate(.9) contrast(1.02);pointer-events:none}
.hero.nf5-video-hero .heroInner{z-index:2}
.hero.nf5-video-hero:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.08) 65%,rgba(8,10,13,.82))}

.nf5-polaroids{grid-auto-flow:dense}
.nf5-polaroid:nth-child(9){--r:1.35deg}.nf5-polaroid:nth-child(10){--r:-1.1deg}.nf5-polaroid:nth-child(11){--r:.55deg}.nf5-polaroid:nth-child(12){--r:-1.55deg}.nf5-polaroid:nth-child(13){--r:.9deg}

.nf5-kern-app-mosaic{display:grid;grid-template-columns:1.3fr .85fr .85fr;grid-template-rows:230px 210px;gap:12px;margin-top:30px}
.nf5-kern-card{position:relative;margin:0;overflow:hidden;border-radius:20px;background:#111;border:1px solid rgba(0,0,0,.12)}
.nf5-kern-card.big{grid-row:1/3}
.nf5-kern-card img{width:100%;height:100%;object-fit:cover}
.nf5-kern-card figcaption{position:absolute;left:12px;bottom:12px;padding:7px 9px;border-radius:999px;background:rgba(7,9,12,.78);backdrop-filter:blur(7px);color:#fff;font-size:10px;font-weight:750}

.nf5-otec-sequence{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;align-self:stretch}
.nf5-otec-sequence figure{margin:0;position:relative;overflow:hidden;border-radius:16px;background:#e5e6e7;min-height:210px}
.nf5-otec-sequence img{width:100%;height:100%;object-fit:cover}
.nf5-otec-sequence figcaption{position:absolute;left:10px;bottom:10px;padding:6px 9px;border-radius:999px;background:rgba(8,10,13,.78);color:#fff;font-size:10px;font-weight:800}
.nf5-proof-note:has(.nf5-otec-sequence){grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr)}

.centreRealSection .nf5-centre-gallery{grid-template-columns:1.25fr .75fr .75fr;grid-template-rows:275px 235px}
.centreRealSection .nf5-centre-gallery figure:first-child{grid-row:1/3}
.centreRealSection .nf5-centre-gallery img{object-position:center}

@media(max-width:1050px){
 .nf5-kern-app-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:250px 210px 210px}.nf5-kern-card.big{grid-column:1/3;grid-row:auto}
 .nf5-otec-sequence{grid-template-columns:repeat(3,1fr)}
 .nf5-proof-note:has(.nf5-otec-sequence){grid-template-columns:1fr}
}
@media(max-width:720px){
 .nf5-hero-bg{opacity:.62}
 .nf5-kern-app-mosaic{grid-template-columns:1fr;grid-template-rows:none}.nf5-kern-card.big{grid-column:auto}.nf5-kern-card{min-height:220px}
 .nf5-otec-sequence{grid-template-columns:1fr}.nf5-otec-sequence figure{min-height:230px}
 .centreRealSection .nf5-centre-gallery{grid-template-columns:1fr;grid-template-rows:repeat(4,220px)}.centreRealSection .nf5-centre-gallery figure:first-child{grid-row:auto}
}
@media(prefers-reduced-motion:reduce){.nf5-hero-bg{display:none}.hero.nf5-video-hero:before{background:radial-gradient(circle at 78% 22%,rgba(227,6,19,.16),transparent 35%),linear-gradient(90deg,rgba(7,9,12,.97),rgba(7,9,12,.88) 40%,rgba(7,9,12,.42) 72%,rgba(7,9,12,.2)),linear-gradient(0deg,#080a0d,rgba(8,10,13,.12) 48%),url("https://process-day.next-factory.ch/next-factory-hero.jpg") center 43%/cover no-repeat}}
