/*
Theme Name: STANDY Ecosystem 4.0 — WebGL Experience
Theme URI: https://standy.com.br
Author: STANDY
Description: Experiência institucional imersiva STANDY com cena WebGL, animação de geometria GLB vinculada ao scroll e conteúdo WordPress editável.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: standy-ecosystem
*/
:root{--ice:#dce4e8;--ink:#11151a;--muted:#65717b;--line:rgba(20,30,38,.16);--mono:'IBM Plex Mono','SFMono-Regular',Consolas,monospace;--sans:Inter,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#a0a5b1;color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,a{ -webkit-tap-highlight-color:transparent}.site-header{position:fixed;z-index:20;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:24px clamp(20px,4vw,68px);color:#10151b;mix-blend-mode:normal;pointer-events:none}.site-header a,.site-header button,.site-header nav{pointer-events:auto}.brand{display:flex;align-items:center;justify-content:flex-start;width:210px;min-width:210px;height:58px;overflow:visible}.brand .custom-logo-link,.brand .brand-word-link{display:flex;align-items:center;justify-content:flex-start;width:210px;max-width:210px;height:58px;overflow:hidden;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;mix-blend-mode:normal}.brand img,.brand .custom-logo,.brand svg,.brand .custom-logo-link img{display:block!important;width:auto!important;max-width:210px!important;height:auto!important;max-height:58px!important;object-fit:contain;background:transparent!important;mix-blend-mode:multiply}.brand-word{font-weight:900;letter-spacing:-.09em;font-size:23px}.primary-nav{display:flex;gap:clamp(16px,2.8vw,44px);align-items:center;font:600 10px var(--mono);letter-spacing:.12em;text-transform:uppercase}.primary-nav a{opacity:.76;transition:opacity .2s}.primary-nav a:hover{opacity:1}.menu-toggle{display:none;background:none;border:0;font:inherit}.hero{height:100svh;min-height:700px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 76% 76%,#e7f0f4 0,#c8d7e0 36%,#aebfcb 70%,#9eafbd 100%);isolation:isolate}.hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(245,250,252,.26),rgba(229,239,244,.02) 48%,rgba(76,100,116,.13));z-index:1}.world-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block}.hero-copy{position:absolute;z-index:3;left:clamp(24px,7vw,112px);bottom:clamp(82px,13vh,145px);max-width:470px;padding:0 0 4px}.hero-copy:before{content:"";position:absolute;z-index:-1;inset:-28px -34px -26px -24px;background:linear-gradient(90deg,rgba(229,238,243,.78),rgba(229,238,243,.36) 72%,transparent);filter:blur(12px);border-radius:8px}.eyebrow,.micro-label,.section-kicker{font:500 10px var(--mono);letter-spacing:.17em;text-transform:uppercase}.eyebrow{color:#263541;margin-bottom:24px}.hero h1{font-size:clamp(46px,5.3vw,76px);line-height:.98;letter-spacing:-.075em;font-weight:500;margin:0 0 22px;max-width:500px}.hero h1 span{color:#e9f0f3}.hero-intro{font-size:16px;line-height:1.65;color:#303c46;max-width:400px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 21px;border:1px solid #10151a;border-radius:99px;background:#10151a;color:white;font-size:11px;font-weight:650;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-ghost{background:rgba(255,255,255,.28);color:#10151a;border-color:rgba(20,30,38,.24)}.edge-note{position:absolute;z-index:3;right:clamp(20px,4vw,64px);bottom:42px;font:9px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:#25333e}.scroll-cue{position:absolute;z-index:3;left:clamp(24px,7vw,112px);bottom:34px;font:9px var(--mono);letter-spacing:.15em;text-transform:uppercase;color:#25333e}.scene-index{position:absolute;z-index:3;right:clamp(20px,4vw,64px);top:48%;writing-mode:vertical-rl;font:9px var(--mono);letter-spacing:.2em;color:rgba(20,30,38,.65)}.section{position:relative;padding:clamp(88px,12vw,170px) clamp(24px,8vw,130px);background:#edf1f3}.section-inner{max-width:1180px;margin:auto}.section-kicker{color:#657783;margin-bottom:22px}.section h2{font-size:clamp(36px,5.4vw,68px);letter-spacing:-.065em;line-height:1.02;font-weight:500;max-width:780px;margin:0 0 25px}.section-lead{font-size:17px;line-height:1.7;color:#596670;max-width:620px}.manifesto{background:#e8edf0}.manifesto-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:10vw;align-items:end}.manifesto-aside{font:13px/1.8 var(--mono);color:#67737d;max-width:360px}.units{background:#f4f6f7}.unit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#d7dfe3;border:1px solid #d7dfe3;margin-top:56px}.unit-card{background:#f4f6f7;padding:34px;min-height:220px;display:flex;gap:24px}.unit-icon{font-size:28px;color:#71838e}.unit-number{font:10px var(--mono);color:#84919a;letter-spacing:.12em}.unit-card h3{font-size:19px;letter-spacing:-.04em;margin:12px 0}.unit-card p{font-size:14px;line-height:1.65;color:#65717a;max-width:360px}.products{background:#e3e9ed}.product-feature{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:center;margin-top:50px}.product-copy h3{font-size:clamp(48px,7vw,88px);letter-spacing:-.08em;margin:10px 0}.product-copy p{color:#5c6871;line-height:1.7;max-width:430px}.product-art{min-height:360px;display:grid;place-items:center;background:radial-gradient(circle,#c5d5de,#e3e9ed 65%);border:1px solid rgba(30,50,65,.1);overflow:hidden}.product-orb{width:210px;height:210px;border-radius:42%;background:linear-gradient(145deg,#fff,#aabfca 60%,#6f8795);box-shadow:24px 30px 70px #778b9844,inset -12px -12px 28px #536e7b55,inset 10px 10px 30px #fff;transform:rotate(-18deg)}.journal{background:#f7f8f9}.journal-head{display:flex;align-items:end;justify-content:space-between;gap:24px}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:52px}.journal-card{border-top:1px solid #cbd4d9;padding-top:15px}.journal-card img{width:100%;aspect-ratio:1.5;object-fit:cover;background:#dce4e8;margin-bottom:17px}.journal-card .meta{font:9px var(--mono);letter-spacing:.12em;color:#84919a;text-transform:uppercase}.journal-card h3{font-size:22px;letter-spacing:-.04em;line-height:1.15;margin:12px 0}.journal-card p{font-size:13px;line-height:1.6;color:#69757e}.journal-link{font:10px var(--mono);text-transform:uppercase;letter-spacing:.12em}.contact{background:#dce4e8}.contact .button{margin-top:24px}.site-footer{background:#10151a;color:#dce4e8;padding:40px clamp(24px,8vw,130px);display:flex;justify-content:space-between;gap:20px;font:10px var(--mono);letter-spacing:.1em;text-transform:uppercase}.content-wrap{background:#f3f5f6;min-height:80vh;padding:150px 24px 100px}.content-inner{max-width:850px;margin:auto}.content-inner h1{font-size:clamp(42px,6vw,72px);letter-spacing:-.06em;line-height:1.02}.content-inner p{line-height:1.8;color:#4e5c66}.post-list{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}.post-list article{border-top:1px solid #cbd4d9;padding-top:20px}.post-list img{width:100%;height:auto;aspect-ratio:1.5;object-fit:cover}.post-list h2{font-size:27px;letter-spacing:-.04em}.pagination{margin-top:40px}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:760px){.site-header{padding:18px 20px}.brand{width:125px;min-width:125px}.brand .custom-logo-link{width:125px;max-width:125px}.brand img,.brand .custom-logo,.brand svg,.brand .custom-logo-link img{max-width:125px!important;max-height:36px!important}.primary-nav{display:none;position:absolute;top:65px;right:16px;left:16px;padding:22px;background:rgba(242,246,248,.96);flex-direction:column;align-items:flex-start}.primary-nav.is-open{display:flex}.menu-toggle{display:block}.hero{min-height:720px}.hero-copy{left:24px;right:24px;bottom:105px}.hero h1{font-size:clamp(48px,13vw,68px)}.hero-intro{font-size:14px;max-width:330px}.edge-note{bottom:26px;font-size:8px}.scroll-cue{bottom:26px}.scene-index{display:none}.manifesto-grid,.product-feature{grid-template-columns:1fr;gap:28px}.unit-grid{grid-template-columns:1fr}.unit-card{padding:26px;min-height:unset}.journal-head{display:block}.journal-grid{grid-template-columns:1fr}.post-list{grid-template-columns:1fr}.site-footer{display:block;line-height:2.2}.section{padding-top:88px;padding-bottom:88px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

@media(max-width:760px){.brand{width:125px;min-width:125px;height:36px}.brand .custom-logo-link,.brand .brand-word-link{width:125px;max-width:125px;height:36px}.brand img,.brand .custom-logo{max-width:125px!important;max-height:36px!important}}

/* STANDY 2.3: identity sizing and transparent logo treatment */
.site-header{padding-top:26px;padding-bottom:26px}
.brand,.brand .custom-logo-link,.brand .brand-word-link{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.brand .custom-logo-link{width:210px!important;max-width:210px!important;height:58px!important;overflow:visible!important}
.brand img,.brand .custom-logo{width:auto!important;height:auto!important;max-width:210px!important;max-height:58px!important;object-fit:contain!important;background:transparent!important;mix-blend-mode:multiply!important}
@media(max-width:760px){.brand{width:160px;min-width:160px;height:46px}.brand .custom-logo-link,.brand .brand-word-link{width:160px!important;max-width:160px!important;height:46px!important}.brand img,.brand .custom-logo{max-width:160px!important;max-height:46px!important}}
/* Keep the editorial layer above the atmospheric 3D scene. */
.hero-copy{max-width:500px}
.hero-copy:before{background:linear-gradient(90deg,rgba(232,242,246,.82),rgba(232,242,246,.42) 78%,transparent)}

/* STANDY 2.4 — original transparent brand asset */
.site-header{padding:24px clamp(20px,4vw,68px);align-items:center}
.site-header .brand-image{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;width:270px;max-width:270px;height:auto;overflow:visible;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;mix-blend-mode:multiply}
.site-header .brand-image img{display:block;width:260px!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;mix-blend-mode:multiply}
@media(max-width:760px){.site-header .brand-image{width:190px;max-width:190px}.site-header .brand-image img{width:185px!important;max-width:100%!important}}

/* STANDY 2.5 — softer alpine environment */
.hero{background:radial-gradient(ellipse at 70% 72%,#eaf3f6 0%,#d5e4ea 42%,#bdcfd9 76%,#afc2cd 100%)}
.hero:after{background:linear-gradient(180deg,rgba(246,251,253,.20),rgba(231,241,245,.02) 52%,rgba(92,119,132,.10))}
.world-canvas{filter:saturate(.82) contrast(.96)}

/* STANDY 3.0 — cinematic 3D stage and progressive loading */
.hero{background:radial-gradient(ellipse at 68% 72%,#edf5f8 0%,#d8e7ed 42%,#c1d3dc 76%,#adbfca 100%)}
.world-canvas{z-index:0;filter:saturate(.9) contrast(1.02)}
.hero-copy{z-index:4}
.hero:after{z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(226,238,244,.42),transparent 52%),linear-gradient(180deg,rgba(244,250,252,.12),transparent 55%,rgba(83,111,126,.10)}

/* STANDY 4.0 — sticky WebGL narrative */
.hero{height:220vh;min-height:1500px;overflow:visible;background:#c7d7e0}
.hero-stage{position:sticky;top:0;height:100svh;min-height:680px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 72% 72%,#edf5f8 0%,#d8e7ed 42%,#c1d3dc 76%,#adbfca 100%)}
.hero-stage:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(226,238,244,.48),transparent 60%),linear-gradient(180deg,rgba(244,250,252,.12),transparent 55%,rgba(83,111,126,.12))}
.hero-stage .world-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hero-stage .hero-copy{bottom:clamp(90px,15vh,160px)}
.hero-stage .scroll-cue{bottom:32px}
.hero-stage .edge-note{bottom:40px}
.hero-stage .scene-index{top:44%}
.hero-progress{position:absolute;z-index:5;right:clamp(20px,4vw,64px);bottom:32px;width:110px;height:2px;background:rgba(30,50,65,.18)}
.hero-progress span{display:block;width:0;height:100%;background:#17232d;transform-origin:left}
@media(max-width:760px){.hero{height:190vh;min-height:1300px}.hero-stage{min-height:680px}.hero-stage .hero-copy{bottom:105px}.hero-stage .scroll-cue{bottom:28px}.hero-progress{display:none}}
