/* Pan PV / edition 85. Shared refinements, complete media and readable editorial pages. */
:root{--lux-accent85:#00798d;--lux-line85:color-mix(in srgb,var(--ink) 12%,transparent);--curve:26px}
html[data-theme=dark]{--lux-accent85:#56d9dd}
body{font-feature-settings:"ss01";text-rendering:optimizeLegibility}
h1,h2,h3{text-wrap:balance}p{overflow-wrap:break-word}main{isolation:isolate}
.site-header{border-bottom:1px solid var(--lux-line85);box-shadow:0 6px 30px #00000005}
.site-header .main-nav a{transition:color .2s,background .2s,box-shadow .2s;animation:none!important;text-shadow:none!important}
.site-header #main-menu a[aria-current=page]{box-shadow:none;border-radius:10px}
.site-header #main-menu a.nav-video .nav-new76{animation-delay:.7s}
.site-header .header-inner{max-width:1840px}
.site-header .main-nav{gap:0 clamp(4px,.4vw,11px)}
.site-header .main-nav a{padding-inline:7px}
.button,.gen-button,.og-button{box-shadow:0 8px 24px #005c7510;transition:background .2s,box-shadow .2s,transform .2s}
.solution-card,.gen-card,.og-card,.journal-entry,.certificate-card{border-color:var(--lux-line85)}
.gen-card:hover,.og-card:hover{box-shadow:0 18px 48px #0000000b}
.page-masthead{padding-top:clamp(54px,6vw,94px)}
.page-masthead p{max-width:780px;margin-inline:auto}
/* Complete image composition at every width. Brand marks and avatars have their own crop. */
.home-cover,.page-cover{max-height:none!important}
.home-cover-image,.solution-card .service-photo,.realization-card img,.realization-card:first-child img,.page-cover img,.og-banner,.gen-proton-figure img{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
.page-agregaty .gen-card-photo,.page-off-grid .og-card-visual{aspect-ratio:16/9!important;height:auto!important;min-height:0;display:block;background:var(--panel);overflow:hidden}
.page-agregaty .gen-card-photo img,.page-off-grid .og-card-visual img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;filter:none}
.page-o-nas .page-cover{width:min(600px,calc(100% - 40px));margin-inline:auto;overflow:hidden;border-radius:28px}
.page-o-nas .page-cover img.portrait85,.founder-portrait img.portrait85{width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:cover!important;object-position:50% 22%!important;transform:scale(1.08)}
.founder-portrait{overflow:hidden}.founder-portrait figcaption{position:relative;background:var(--panel)}
.meta-avatar.portrait85{width:42px!important;height:42px!important;object-fit:cover!important;object-position:50% 20%!important;border-radius:50%}
.work img,.work.wide img,.realization-photos img,.photo img,.grant-hero-photo img{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
.image-slot85{display:block;overflow:hidden}.media-placeholder85{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;gap:10px;min-height:220px;padding:clamp(20px,3vw,40px);overflow:hidden;background:radial-gradient(ellipse at 95% 0,#1a667350,transparent 70%),#0d2028;color:#f6fafb;aspect-ratio:16/9}
.placeholder-mark85{font-size:13px;letter-spacing:.16em;font-weight:700;color:#fff}.placeholder-mark85>span{color:#4ee2dc;margin-left:5px}
.placeholder-caption85{font-size:10px;letter-spacing:.09em;color:#8ad4d8;margin-top:auto;line-height:1.5}
.media-placeholder85>strong{font-size:clamp(21px,2.8vw,40px);line-height:1.12;font-weight:550;max-width:16ch;letter-spacing:-.035em;color:#fff}
.placeholder-note85{font-size:11px;color:#a6bbc1;letter-spacing:.03em;margin-top:5px}.article-placeholder85{width:100%;min-height:0;border-radius:24px;margin-bottom:44px}
.page-off-grid .og-card-content{padding:26px}.page-off-grid .og-card-content h3{font-size:24px;line-height:1.3;margin-bottom:16px}.page-off-grid .og-card-content p{margin-bottom:24px}
/* Editorial: calm hierarchy, short line length and one persistent contents column. */
.editorial85{width:min(1240px,calc(100% - 48px));margin:0 auto 88px}
.editorial-header85{padding:44px 0 38px;max-width:1030px}
.editorial-header85 .back,.video-detail85>.back{display:inline-block;color:var(--lux-accent85);font-size:14px;margin-bottom:34px}
.editorial-header85 .eyebrow{color:var(--lux-accent85);font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:18px}
.editorial-header85 h1{font-size:clamp(34px,4.2vw,62px);line-height:1.12;letter-spacing:-.045em;font-weight:550}
.editorial-meta85{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:30px;font-size:12px;color:var(--muted)}
.editorial-meta85>:last-child{margin-left:10px}
.editorial-visual85{margin:0 0 44px}.editorial-visual85 img{width:100%;height:auto;border-radius:24px}.editorial-visual85 figcaption{font-size:12px;color:var(--muted);margin-top:10px}
.editorial-layout85{display:grid;grid-template-columns:230px minmax(0,780px);gap:64px;align-items:start;border-top:1px solid var(--line);padding-top:42px}
.editorial-toc85{position:sticky;top:120px;font-size:13px;max-height:calc(100dvh - 150px);overflow:auto;scrollbar-width:thin}
.editorial-toc85 summary{font-weight:650;color:var(--ink);padding-bottom:18px;border-bottom:1px solid var(--line)}
.editorial-toc85 nav{display:grid;gap:0;padding-top:10px}.editorial-toc85 a{padding:8px 0;color:var(--muted);line-height:1.5}.editorial-toc85 a:hover,.editorial-toc85 a:focus-visible{color:var(--lux-accent85)}
.editorial-body85{font-size:18px;line-height:1.85;color:var(--ink);min-width:0}.editorial-body85 p{color:color-mix(in srgb,var(--ink) 84%,var(--bg));margin:0 0 22px}.editorial-body85>p:first-child{font-size:21px;line-height:1.75}
.editorial-body85 strong{font-weight:650;color:var(--ink)}.editorial-body85 a{color:var(--lux-accent85);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.editorial-body85 h2{font-size:clamp(25px,2.2vw,33px);line-height:1.25;letter-spacing:-.025em;margin:0 0 24px;font-weight:600}
.editorial-body85 h3{font-size:23px;line-height:1.35;margin:30px 0 14px;font-weight:550}
.editorial-section85{padding-top:38px;margin-top:36px;border-top:1px solid var(--line);scroll-margin-top:120px}
.editorial-section85:first-child{margin-top:32px}.editorial-body85 ul{padding-left:1.3em;margin:24px 0}.editorial-body85 li{margin-bottom:12px;padding-left:5px}.editorial-body85 li::marker{color:var(--lux-accent85)}
.editorial-faq85{padding:0;border-bottom:1px solid var(--line)}.editorial-faq85 summary{position:relative;font-weight:550;line-height:1.5;padding:22px 34px 22px 0;font-size:18px}.editorial-faq85 summary::after{content:'+';position:absolute;right:2px;top:19px;color:var(--lux-accent85);font-size:24px;font-weight:400}.editorial-faq85[open] summary::after{content:'−'}.editorial-faq85 p{font-size:17px;padding-bottom:12px}
/* Video: first-frame cover, real local player and honest gallery placeholders. */
.video-hero85,.video-grid85,.video-detail85,.video-gallery85{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.video-hero85{padding:76px 0 48px}.video-hero85 .eyebrow,.video-card85 .eyebrow,.video-title85 .eyebrow,.video-gallery85 .eyebrow{color:var(--lux-accent85);font-size:11px;letter-spacing:.12em}.video-hero85 h1{font-size:clamp(44px,6vw,86px);font-weight:500;margin-bottom:25px}.video-hero85 h1 span{color:var(--muted)}.video-hero85>p:last-child{font-size:21px;line-height:1.6}
.video-grid85{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding-bottom:84px}.video-card85{display:block;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--panel);transition:transform .25s,box-shadow .25s}.video-card85:hover{transform:translateY(-4px);box-shadow:0 20px 60px #00000012;color:var(--ink)}.video-thumbnail85{position:relative;aspect-ratio:16/9;background:#09161c;overflow:hidden}.video-thumbnail85 img{display:block;width:100%;height:100%;object-fit:contain}.video-play85{position:absolute;inset:0;margin:auto;width:62px;height:62px;display:grid;place-items:center;padding-left:3px;background:#ffffffed;color:#10262c;border:1px solid #ffffff88;box-shadow:0 4px 25px #00000025;border-radius:50%;font-size:22px}.video-duration85{position:absolute;right:14px;bottom:14px;border-radius:7px;padding:3px 8px;background:#000b;color:#fff;font-size:12px;font-variant-numeric:tabular-nums}
.video-card-copy85{padding:28px}.video-card-copy85 .eyebrow{margin-bottom:16px}.video-card-copy85 h2{font-size:clamp(24px,2vw,30px);line-height:1.3;letter-spacing:-.025em;margin-bottom:30px;font-weight:550}.video-link85{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;font-size:14px;color:var(--lux-accent85)}
.video-detail85{padding-top:34px}.video-detail85>.back{margin-bottom:25px}.video-player85{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:24px;background:#000;box-shadow:0 15px 60px #00000010}.video-player85 video{display:block;width:100%;height:100%;object-fit:contain;background:#000}.video-title85{padding:42px 0 48px;border-bottom:1px solid var(--line)}.video-title85 h1{max-width:1000px;font-size:clamp(32px,4vw,52px);line-height:1.15;letter-spacing:-.035em;margin-bottom:20px}.video-title85>p:last-child{font-size:18px}
.video-gallery85{padding:50px 0 80px}.video-gallery85 h2{font-size:clamp(29px,3vw,42px);margin-bottom:20px}.video-gallery85>div>p:last-child{font-size:16px}.gallery-slots85{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px}.gallery-slot85{aspect-ratio:4/3;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;border:1px dashed color-mix(in srgb,var(--ink) 22%,transparent);border-radius:20px;background:var(--panel);color:var(--muted)}.gallery-slot85 svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.3;opacity:.6}.gallery-slot85 span{font-size:12px;letter-spacing:.08em}
@media(max-width:1180px){
 .site-header .header-inner{height:72px!important;min-height:72px;padding-inline:24px;justify-content:space-between}
 .site-header .header-tools{margin-left:auto;position:relative;z-index:104}
 html body .site-header .menu-toggle{display:flex!important;position:relative;z-index:104}
 html body .site-header #main-menu{display:none!important;position:fixed;inset:72px 0 0;width:100%;height:calc(100dvh - 72px);max-height:calc(100dvh - 72px);margin:0;padding:28px max(24px,calc((100vw - 760px)/2)) 110px;overflow-y:auto;flex:0 0 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:4px;background:var(--bg);color:var(--ink);border-bottom:1px solid var(--line);font-size:20px;z-index:103}
 html body .site-header #main-menu.is-open{display:flex!important}
 html body .site-header #main-menu a,html body .site-header #main-menu a.nav-announcement83{display:block;flex:0 0 auto;width:100%;min-height:50px;height:auto;padding:12px 16px;color:var(--ink);line-height:1.4;border-radius:12px;background:transparent;white-space:normal;transform:none!important}
 html body .site-header #main-menu a.nav-announcement83>span{display:block;position:relative;width:100%;padding-bottom:19px;min-width:0}
 html body .site-header #main-menu a.nav-off-grid .nav-off-grid-label84{display:inline;font-size:inherit;margin:0}
 html body .site-header #main-menu a[aria-current=page]{background:var(--panel);color:var(--lux-accent85)!important}
 html body .site-header #main-menu a::before,html body .site-header #main-menu a::after{display:none!important;content:none!important}
 html body.menu-open{overflow:hidden!important}
 .editorial-layout85{grid-template-columns:190px minmax(0,1fr);gap:36px}
}
@media(max-width:800px){
 .editorial85,.video-hero85,.video-grid85,.video-detail85,.video-gallery85{width:calc(100% - 36px)}
 .editorial-layout85{grid-template-columns:minmax(0,1fr);gap:26px;padding-top:24px}.editorial-toc85{position:static;max-height:none;padding:18px 20px;border-radius:18px;background:var(--panel);border:1px solid var(--line)}.editorial-toc85 summary{padding-bottom:0;border:0;font-size:14px}.editorial-toc85[open] summary{padding-bottom:10px}.editorial-toc85 summary::after{content:' ↕';float:right;color:var(--lux-accent85)}
 .editorial-header85{padding-top:28px;padding-bottom:30px}.editorial-header85 .back{margin-bottom:24px}.editorial-header85 h1{font-size:clamp(30px,6vw,44px);line-height:1.15}.editorial-meta85{font-size:12px;gap:10px}.editorial-meta85>:last-child{margin-left:0}.editorial-body85{font-size:17px;line-height:1.8}.editorial-body85>p:first-child{font-size:19px}.editorial-section85{margin-top:26px;padding-top:28px;scroll-margin-top:100px}.editorial-faq85 summary{font-size:17px}.editorial-faq85 p{font-size:16px}
 .video-hero85{padding:48px 0 32px}.video-hero85>p:last-child{font-size:18px}.video-grid85{grid-template-columns:1fr;gap:22px;padding-bottom:46px}.video-card-copy85{padding:24px}.video-player85{border-radius:16px}.video-detail85{padding-top:24px}.video-title85{padding:30px 0}.video-gallery85{padding:34px 0 48px}.gallery-slots85{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gallery-slot85{border-radius:14px}.gallery-slot85:last-child{grid-column:1/-1;aspect-ratio:16/7}
 .page-agregaty .gen-card-grid,.page-off-grid .og-card-grid{grid-template-columns:minmax(0,1fr)!important}.media-placeholder85{min-height:0;padding:24px}.media-placeholder85>strong{font-size:clamp(23px,6vw,34px)}
 .page-o-nas .page-cover{width:min(480px,calc(100% - 36px))}.article-placeholder85{margin-bottom:28px}
}
@media(max-width:390px){.editorial-header85 h1{font-size:29px}.editorial85,.video-hero85,.video-grid85,.video-detail85,.video-gallery85{width:calc(100% - 28px)}.video-title85 h1{font-size:29px}.gallery-slots85{grid-template-columns:1fr}.gallery-slot85:last-child{grid-column:auto;aspect-ratio:4/3}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.video-card85:hover{transform:none}}
